A graph of programming languages connected through compilers
51–60 of 110 posts
Re: A graph of programming languages connected through compilers
#52A few missing items: - CIL to C++ using CoreRT/AoT compiler [1] - JVM to CIL using ikvmc [2] - Quite a few languages to WebAssembly using LLVM [3] - J# if you are willing to include dead but somewhat significant languages [1] https://blogs.msdn.microsoft.com/alphageek/2016/10/13/native... [2] http://www.ikvm.net/userguide/ikvmc.html [3] https://stackoverflow.com/questions/43540878/what-languages-...
Re: A graph of programming languages connected through compilers
#53My main takeaway: people want to avoid writing JavaScript about as much as they want to avoid writing machine code or Java bytecode.
Re: A graph of programming languages connected through compilers
#54Re: A graph of programming languages connected through compilers
#55My main takeaway: people want to avoid writing JavaScript about as much as they want to avoid writing machine code or Java bytecode.
Re: A graph of programming languages connected through compilers
#56It says V8 compiles JavaScript to Machine Code, but is that really correct given that the machine code is an intermediate product, and the result of applying a JIT to a specialized piece of code (where part of the variables are already known to the compiler)?
The machine code isn't the intermediate product - it's the final product. Some internal IR is the intermediate product.
But yes it's normal convention in the industry to talk about JIT compilation to machine code as 'compiling to machine code'.
Re: A graph of programming languages connected through compilers
#57Re: A graph of programming languages connected through compilers
#58Wait.. wasm compiles to Java Bytecode?
0 - https://github.com/cretz/asmble 1 - https://github.com/cretz/asmble/tree/master/examples/rust-re...
Re: A graph of programming languages connected through compilers
#59A few missing items: - CIL to C++ using CoreRT/AoT compiler [1] - JVM to CIL using ikvmc [2] - Quite a few languages to WebAssembly using LLVM [3] - J# if you are willing to include dead but somewhat significant languages [1] https://blogs.msdn.microsoft.com/alphageek/2016/10/13/native... [2] http://www.ikvm.net/userguide/ikvmc.html [3] https://stackoverflow.com/questions/43540878/what-languages-...
Isn't Python to C using CPython missing? Edit: Or I guess technically python byte code. [1] [1] http://effbot.org/zone/python-compile.htm
Python doesn't compile Python to C, non-technically or otherwise. Where did you get that impression?
I presume they don't include internal IRs like Python bytecode, as it's not any kind of shared or standardised format. Otherwise you'd be including tons of different compiler IRs.
Re: A graph of programming languages connected through compilers
#60My main takeaway: people want to avoid writing JavaScript about as much as they want to avoid writing machine code or Java bytecode.
If WATFIV was the only language that ran in browsers, everything would target it, too.