Search code examples
compilationprogramming-languages

What programming languages are normally compiled into non-machine specific code?


Any specific reasons would be nice too.

As some people have pointed out; Java is translated into Bytecode, which runs in JVM. Are there any which don't depend on a virtual machine? Historical or contemporary, obsolete or not.


Solution

  • As already pointed out, portable ByteCode is platform independent, you can find a List of ByteCode Languages on eg. wikipedia. But they depend on an Interpreter or a Virtual Machine, ie. JVM.
    And there is also LLVM, which provides a middle layer in an intermediate form (IF).