14 ms·
Why aren't you using the LLVM infrastructure?
by DeathArrow 4y ago
Why aren't you using the LLVM infrastructure?
- JaDogg 4y agoI did not want to use that because LLVM was just too big! I tried building a sample and it gave me > 1GB debug .exe file. zig wraps things up to a nicer package, so I thought might as well use zig cc.
- WoodenChair 4y agoWhat's wrong with compiling to C? By using C as an intermediate language LLVM can be a backend through Clang, but so can GCC, MSVC, Intel C, etc. It's actually a pretty common choice (see Nim, Chicken Scheme, etc.).