Hacker News new | ask | show | jobs
by dleslie 1094 days ago
Does Zig run on everything C can, including weird devices?[0]

If the answer is still No, then it can't replace C.

0: https://en.wikipedia.org/wiki/Small_Device_C_Compiler

1 comments

Zig has been able for a while now to compile to C code, which is part of our bootstrap procedure now, so you can compile that output with an appropriate C compiler and target whatever you want.

We do have plans for adding backends for unconventional targets eventually.