Live data from Hacker News

A graph of programming languages connected through compilers

akr.am

31–40 of 110 posts

Re: A graph of programming languages connected through compilers

#32
post #27
post #26

44 languages 42 languages compile to Machine Code Wait, what? There are 2 languages that don't compile to Machine Code? Which ones are those, and how is it even possible?

There's ActionScript, which can only be interpreted.

Hm. I thought Flash has bytecode rather than ActionScript being plain interpreted.

Re: A graph of programming languages connected through compilers

#34
post #4

A 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-...

- Quite a few languages to WebAssembly using LLVM Languages are compiled to LLVM IR and then to WebAssembly. These are shown, right?

The graph doesn't show LLVM IR compiles to WASM. It does show LLVM IR to JS via Emscripten though.

Re: A graph of programming languages connected through compilers

#36
post #19
post #3

Nice visualization, it can be improved though. There are Java compilers directly to native code though, the Oracle JVM isn't the only path.

According to this graph one could actually get from Java to Objective-C to LLVM-IR to Machine Code... Or with LLVM-IR to C in the last step you could get from Java to C...

Sure, the point was about direct generation, without those intermediate steps.

Re: A graph of programming languages connected through compilers

#38
post #26

44 languages 42 languages compile to Machine Code Wait, what? There are 2 languages that don't compile to Machine Code? Which ones are those, and how is it even possible?

Haxe basically compiles to any other language. So why would it need to go straight to Machine Code?

It is super-multiplatform.

Re: A graph of programming languages connected through compilers

#40
post #26

44 languages 42 languages compile to Machine Code Wait, what? There are 2 languages that don't compile to Machine Code? Which ones are those, and how is it even possible?

> how is it even possible?

Instead of compiling to machine code, you compile to another language instead. C++ was originally compiled to C, for example.

Why would you think it wasn't possible?

Post reply on HN