Re:Zig: a system language which prioritizes optimality, safe...
by z0xcd on Sunday August 28, 2016 @08:22PM
(#12379241)
One question: Why is Zig implemented in C++? What was the reason behind the choice?
[ Parent
| on HN ]
Re:Zig: a system language which prioritizes optimality, safe...
by AndyKelley on Sunday August 28, 2016 @08:51PM
(#12379326)
It'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.