Re:Rust: Zero-Cost Abstraction in Action
by thcz on Friday February 07, 2020 @01:16PM
(#22268948)
The C# compiler uses LLVM? Is that for something like Xamarin or something? I was under the impression that it was self-contained. Anyone knows the details of this?
[ Parent
| on HN ]
Re:Rust: Zero-Cost Abstraction in Action
by wtfleming on Friday February 07, 2020 @01:32PM
(#22269091)
Unity's burst compiler https://docs.unity3d.com/Packages/[email protected]/manual... uses LLVM, but only supports a somewhat limited subset of C#. I've used it a bit in some performance critical parts of a game and saw some dramatic speed increases. But I can't speak to other parts of the C# ecosystem beyond Unity though.
Anyone can build a frontend. "Java bytecode" is in that list too. It doesn't mean defacto compilers of these languages rely on LLVM.
In this case it is Azul Zing, a very serious product. It's one of the four major VM Jit compilers (OpenJ9, C2, Graal are the others in my opinion)
There are also PTC, Aicas, Virtenio, Ricoh and Gemalto all targeted to embededded deployments, of which, PTC and Aicas are the most well known ones.
Sadly Excelsior is no more. I imagine that regular JIT compilers making AOT/JIT caches available, is what killed them.