From C to the Zig Zag road

the bumps, curves and sharp corners...

So, you’re a C developer, seasoned in the trenches of memory management, intimate with pointers, and perhaps even a little too comfortable with the occasional segfault. You’ve heard whispers of a new language, a “modern C,” something called Zig. Intrigued, maybe a little skeptical, you’re considering taking the plunge. Well, buckle up, because moving from the well-trodden highway of C to the Zig Zag road is an adventure, complete with its bumps, curves, and yes, even a few sharp corners.

I’ve recently started my own journey down this Zig Zag road, and let me tell you, it’s been… interesting. It’s not a straight and easy upgrade, but it’s definitely a ride with a lot of potential for reward.

Let’s try writing a simple 3D model library in both Zig and C to compare and see how it works.