Seriously. There’s so many floating around. It feels like there’s a cycle of
Random programmer thinks xyz language sucks -> she/he makes a slightly different, slightly faster, slightly more secure version -> by luck this gains mass adoption-> random programmer thinks new xyz language sucks
I propose when the revolution comes and the last guillotine falls we decide a general-purpose programming language that coders should stick to. I vote Lisp or any of the dialects (scheme, clojure, racket), but i also feel something about the Julia language for scientific research. Maybe we can decriminalize using C. Absolutely ban and hunt down the use of any of the hipster languages teenagers are into these days.
Nim? Zig? Crystal?? I am absolutely losing my damn mind. It compiles to bytecode people. Make up ur damn minds. To jail with all of u
https://www.gnu.org/software/guile/manual/html_node/Compiler-Tower.html
Let’s use the tower metaphor for a moment. Consider Scheme:
Scheme | | v Tree Intermediate Language (Tree-IL) | | v Continuation-Passing Style (CPS) | | v Bytecode
To compile Scheme to Bytecode, it’s lowered through different stages until it’s Bytecode.
We can also decompile, and raise code instead of lowering it - for example, here’s how Guile-JavaScript works, which compiles Scheme to JavaScript, by first lowering Scheme to Tree-IL, then raising that Tree-IL to JavaScript through decompilation.
Scheme JavaScript | ^ | | v | Tree Intermediate Language (Tree-IL)
We take code through the tower to transform it into its desired form.
Hope this made sense. Or maybe it confused you even more =).
Sounds made up. Guile is only good for flash kicks and sonic booms.