u/thegreatbeanzin r/Compilers • Recommends
On “Why Aren't There any JIT Compiled Systems Languages?”
You’re asking a flawed question. There absolutely are JIT’d systems languages. Lang Hames, the author of LLVM’s ORC JIT, has been demonstrating JITing C for almost a decade (see: link to this video
Many developer tools for systems languages leverage JITs to improve developer productivity. Look at Swift Playgrounds or the SwiftUI editor, LLDB’s expression evaluator, or the Clang REPL.
The more meaningful question is “why aren’t programs in systems languages commonly _distributed_ for JITing?”
There are a few that are, following the model Java pioneered of compiling to a virtual ISA that is JIT’d by a runtime. With WebAssembly any language can be a JIT-compiled language. JIT compiling for system langu…