Re:The Language-Language Matrix
by kibwen on Tuesday December 03, 2013 @11:51AM
(#6841424)
Then consider that Javascript runs on the JVM, and add every language which can be compiled to Javascript.
Then consider that, via Emscripten, any language which targets LLVM can be compiled to Javascript, so add every language with an LLVM frontend.
The consider that C has an LLVM frontend, and add every language which can be compiled to C.
Yes, indeed! We now live in a time where your Chicken Scheme codebase can be compiled to C, then compiled to Javascript, then intepreted in a Javascript interpreter that is being interpreted on a Java interpreter that is being interpreted on a .Net interpreter.
Re:The Language-Language Matrix
by rikkus on Wednesday December 04, 2013 @05:43AM
(#6846089)
Almost. The JavaScript bytecode is turned into JVM bytecode which is then turned into CLR bytecode which is then JITted and runs as compiled native code. I think. Did I miss something?
Then consider that, via Emscripten, any language which targets LLVM can be compiled to Javascript, so add every language with an LLVM frontend.
The consider that C has an LLVM frontend, and add every language which can be compiled to C.
Yes, indeed! We now live in a time where your Chicken Scheme codebase can be compiled to C, then compiled to Javascript, then intepreted in a Javascript interpreter that is being interpreted on a Java interpreter that is being interpreted on a .Net interpreter.