i was going to create an automake project again for the insane programming language but realized yet again that the autotools are in fact not portable enough. the only reason i'm doing it in C is because i have to start somewhere even if the whole point of this is because C is not portable enough
of course, forgoing separate compilation altogether would mean each distinct component would have to be compiled "from scratch"—no static linking, and certainly no dynamic linking.
is this unrealistic? i don't think so. the point of all this is to eradicate global state—and bootstrap prerequisites are an example of global state!
in-process linking can be implementation-defined, and cross-process linking can be described with a calling convention that can be implemented without needing to use the same language or compiler at all
and if you do this then you can have the entire language execute equivalently at compile time by using the generic calling convention through a virtualized environment which dumps the result back out into the language
and then suddenly the type system is whatever the hell you want it to be, because if you can execute arbitrary logic at compile time then you are the compiler!
but isn't that insecure? not at all! the security vulnerability of compile-time execution is not turing-completeness—it's whether the compile-time execution can read in state that's not explicitly declared!
the filesystem is global and cannot be trusted—so of course, compile-time execution cannot read from the filesystem.
but it's not a matter of whack-a-mole to remove single RCE vectors—the entire language semantics must be defined in a manner that enables interoperability without global state
@hipsterelectron The filesystem is not global state. Things at absolute pathnames that don't belong to you are, but whatever your working space is belongs to you. Something else poking at it is no different from someone poking at your process with a software debugger or poking at bus pins with a hardware debugging tool - it's violating the ownership model.