News for hackers. Stuff that matters.
Re:CodeGen: LLVM wrapper for just-in-time code generation an... by saagarjha on Sunday May 19, 2019 @03:29PM (#19954973)
Related is cling, the C++ “interpreter”: https://root.cern.ch/cling
Re:CodeGen: LLVM wrapper for just-in-time code generation an... by jarmitage on Sunday May 19, 2019 @07:23PM (#19956227)
How do these compare? I have been exploring a bit with Cling but don't know enough to evaluate the differences
Re:CodeGen: LLVM wrapper for just-in-time code generation an... by saagarjha on Sunday May 19, 2019 @07:27PM (#19956250)
Cling takes C++ and interprets it like a REPL would. CodeGen is a JIT compiler that takes what's essentially an IR and uses LLVM to generate assembly from it.
Re:CodeGen: LLVM wrapper for just-in-time code generation an... by rurban on Monday May 20, 2019 @01:54AM (#19957851)
cling got a C++ jit via LLVM lately. When you add or change a function, it's jitted.
Re:CodeGen: LLVM wrapper for just-in-time code generation an... by saagarjha on Monday May 20, 2019 @02:01AM (#19957867)
I think it always had a JIT?