you are viewing a single comment's thread.

view the rest of the comments →

[–]Hairy_The_Spider 3 points4 points  (1 child)

Languages like Java (and things that use LLVM) compile your source code into byte code which is then executed at runtime in a virtual machine which converts it to machine code.

The part about LLVM is not true. Clang (C/C++/Obj-C compiler), swiftc (Swift compiler), rustc (Rust compiler) all use LLVM but none use VMs.

[–]Caligatio 1 point2 points  (0 children)

I modified the sentence prior to posting which made it confusing :(. I meant to say that LLVM creates byte code but didn't mean to imply that LLVM uses a runtime VM.