Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am asking for the opposite, i.e. keep everything as is and only add 2-300 lines of zig.

In particular, I explicitly don't want to rewrite 15000 lines of build system code, so anything that uses build.zig is a nonstarter.



You can invoke Zig without build.zig:

    zig build-obj file.zig
And then include the object file along with your other sources. How you do this will of course depend on your build system.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: