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--- φ@fiore@brain.worm.pink (2026-08-01 20:57:46) @sodiboo theres qbe https://c9x.me/compile/ , used by hare
Reply

---Replies---
φ@fiore@brain.worm.pink (2026-08-01 21:00:04)
@sodiboo but  nothing comrs  close  to  the  amount of  tooling  and  the  level of  optimization  LLVM  has