Comment by j16sdiz
16 hours ago
Is it? I think zig use llvm codegen. Once you got llvm for your architecture, you get 99% of modern language
16 hours ago
Is it? I think zig use llvm codegen. Once you got llvm for your architecture, you get 99% of modern language
LLVM codegen is optional, and LLVM is being turned into a runtime dependency.
Zig has its own compiler backend. With limited arch support of course. Only used in debug modes for now.
I think the most interesting part is they rely on WASM for bootstrapping so all you need to make to bootstrap Zig anywhere is a WASM interpreter (if I understand correctly).