3 ms·
I think it would be cool if there were more options in the "programming language backends" space like LLVM. That way you could create custom programming languag
by umvi 5y ago
I think it would be cool if there were more options in the "programming language backends" space like LLVM. That way you could create custom programming languages that focus on the syntax/QoL features that fit your idea of a "dream" without having to worry about performance since it's uses a known highly optimized backend.
- turminal 5y agoThere's QBE (https://c9x.me/compile https://c9x.me/compile). It's tiny compared to LLVM and only does the most impactful optimizations, but it's also much simpler to work with. A small but dedicated community of language builders has gathered around it.
- andrewflnr 5y agoAlso Cranelift, though I personally don't know a lot more about it than its name. IIRC it has some kind of graph-based IR.
- xigoi 5y agoI wish there was something like LLVM, but with a garbage collector, so you could prototype a language without having to worry about memory management.
- Too 5y agoJVM and .NET allows multiple language front ends. Eg C# and VB.NET compiles to same IL, Intermediate Language.
- zmmmmm 5y agoJVM has done pretty well in that space over the years ... with the upside that you also get a huge library ecosystem for free which is less accessible with the LLVM approach.