I was wondering where I had heard of Cranelift before- seems like it is the default backend for wasmer[1].
Re:GCC null pointer check removed
by nickpsecurity on Wednesday August 28, 2019 @10:07PM
(#20826041)
Thanks. I'll check it out. In that vein, what do you think of QBE (open-source) and LCC for understandable compilers?
That is a pretty neat backend for compilers. Definitely worth using when going to the 'next level' between how do we take text and turn it into binary as level 1, and then level 2, how do we improve the binary we're going to generate by understanding what the ASTs are telling us.
Re:GCC null pointer check removed
by ndesaulniers on Wednesday August 28, 2019 @11:36PM
(#20826441)
Any plan to use this in rustc? If so, is there a plan to maintain cross language LTO w/ C++?
> Any plan to use this in rustc?
One of the primary expectations / use cases for cranelift is its use for rustc's debug builds: https://github.com/CraneStation/cranelift/blob/master/rustc....
[1]: https://github.com/CraneStation/cranelift
[2]: https://cranelift.readthedocs.io/en/latest/compare-llvm.html