Looks like everyone want to add some missing info. The github source code link can be found at the top right corner. For easy reference, here it is https://github.com/mohd-akram/languages
A graph of programming languages connected through compilers
81–90 of 110 posts
Re: A graph of programming languages connected through compilers
#82Re: A graph of programming languages connected through compilers
#83Earlier quoted context omitted.
Like when you auto-translate English -> Japanese -> English. Very unlikely you will recover the original Good fun though.
By the pigeonhole principle, any such iteration must either enter a cycle, or the translations must be unbounded in length. If you experiment, you will find that Google Translate usually lands in the first category; transpilers usually land in the second.
Re: A graph of programming languages connected through compilers
#84Earlier quoted context omitted.
By the pigeonhole principle, any such iteration must either enter a cycle, or the translations must be unbounded in length. If you experiment, you will find that Google Translate usually lands in the first category; transpilers usually land in the second.
I am iterested in an example that cycles on Google translate - can you share one?
Just translate 'hello' back and forth in any pair of languages I tried.
Re: A graph of programming languages connected through compilers
#85I tried in vain to find WebAssembly. Why would you include JavaScript but not WebAssembly in a graph that has LLVM in it?
It does have WebAssembly, but its incorrectly labeled as targeting Java Bytecode.
Re: A graph of programming languages connected through compilers
#86Dude, where's my lisp?
Re: A graph of programming languages connected through compilers
#87Earlier quoted context omitted.
But let's say, they added "decompilers" to the graph, and there is (say) a decompiler from machine code to C. Then I'd assume, because there is a path in the graph from JavaScript to C (going through machine code), that I can translate from JavaScript to C. Except this isn't true because V8 is a JIT, and doesn't output its internal representation.
It's not a graph of compilers to a file on disk . It's a graph of compilers. Just because it exists only in memory doesn't mean it doesn't exist. Has the JavaScript been compiled to machine code. Yes, it has. You mean that the JavaScript compilation is only valid for a given application at a given point in time? Yes that's true.
Re: A graph of programming languages connected through compilers
#88Re: A graph of programming languages connected through compilers
#89Re: A graph of programming languages connected through compilers
#90Just nitpicking, but why wouldn't Ruby connect to C in this graph?