Elektrine lite

← Feed

@ben@social.abwesend.com

Post #1516045

2026-02-15 18:26 UTC

I recently moved a 25 year old C project from CMake to zig’s build system (zig cc). It was super straightforward and much easier than CMake (granted my project is also very simple https://github.com/beanieboi/traff). The compiler also found a tiny bug which was not detected by gcc (https://github.com/beanieboi/traff/commit/8c2496b6b4a1171ba95e69bbe57af67c55e639c0) Here is a really good blog post by @andrewrk explaining zig cc. https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html #zig

Replies (0)

No replies.