3 ms·
One question: Why is Zig implemented in C++? What was the reason behind the choice?
by z0xcd 10y ago
One question: Why is Zig implemented in C++? What was the reason behind the choice?
- AndyKelley 10y agoIt's mostly C, with some templates sprinkled in. Zig depends on libclang and LLVM. Both of these are C++ APIs. Both expose a C API wrapper, but with not all features exposed that zig needs to use.