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, any interoperability protocol requires a calling convention. but the most general calling convention is one well known to build tools—stdin and stdout. and this is the reason for the shell's portability
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
how do you fix the bootstrap problem? easy:
C fails the third super hard—composing together separately-compiled functionality requires coordination between the compiler, libc, and the OS