News for hackers. Stuff that matters.
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?
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.
Re:Rust: Zero-Cost Abstraction in Action by bdd on Friday February 07, 2020 @01:21PM (#22269001)
Anyone can build a frontend. "Java bytecode" is in that list too. It doesn't mean defacto compilers of these languages rely on LLVM.
Re:Rust: Zero-Cost Abstraction in Action by jerven on Friday February 07, 2020 @01:39PM (#22269156)
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)

[1] https://www.azul.com/products/zing/

Re:Rust: Zero-Cost Abstraction in Action by pjmlp on Sunday February 09, 2020 @05:15AM (#22281367)
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.

Re:Rust: Zero-Cost Abstraction in Action by pjmlp on Saturday February 08, 2020 @01:00PM (#22277223)
There are many implementations of C#, a few of them use LLVM, like Xamarin AOT, IL2CPP, Burst.

.NET Core and .NET Framework, do not.