News for hackers. Stuff that matters.
Re:A Deep Introduction to JIT Compilers: JITs are not very J... by vlovich123 on Sunday July 05, 2020 @05:32PM (#23742223)
Is anyone aware of any efforts to get clang/rustc to use lli to speed up iteration times? My thought is you lower everything to llvm bytecode first but skip all the codegen/linking. Then you can codegen or run interpreted. Might help make debug builds much faster to get to execution. Probably could trivially parallelize the background compilation & auto-build in the background on every file change to get the best of all worlds (most code gen is ready, the remainder is executable & will get compiled as needed). If you can do it with live substitution (which I think is what lli does) then you'd progressively get a faster program.
Re:A Deep Introduction to JIT Compilers: JITs are not very J... by saagarjha on Sunday July 05, 2020 @07:44PM (#23743212)
How much time actually goes into instruction selection and register allocation? I thought a lot of the time went into optimization passes at the IR level.