Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


sodiboo :pride_heart:@sodiboo@gaysex.cloud (2026-08-01 20:56:07)
is there any alternative to LLVM?

if i'm writing a compiler and want to take advantage of an existing set of optimizations in a common form and let someone else deal with the intricacies of lowering into specific CPU variants, LLVM is The Toolkit to do exactly that.

does literally anything else provide that as well? (with similar "native" semantics, that is. something like .NET kinda does the same thing if you squint, but it's done on the fly ("high level intermediate form abstracts away codegen and optimizations"), by RyuJIT. they have an ahead of time compiler too but that's LLVM)
Reply

---Replies---
φ@fiore@brain.worm.pink (2026-08-01 20:57:46)
@sodiboo theres  qbe https://c9x.me/compile/ ,  used  by  hare