What is the Big Idea of Zig?

What niche is Zig supposed to fill or what is the purpose of the language existing?

As I think I touched upon in an earlier story I wrote, Zig is meant as a full dropin replacement for C. So to use one of your examples: Kotlin is a better Java than Java. Well Zig is a better C than C.

  • Much better type checking meant they where able to deliver code with less problems than their C based solutions.
  • Allocators combined with very small binaries generated for Zig allowed them to work within the confines of microcontrolles with meager resources.

Functional Programming

I love functional progamming and I do it all the time in Julia. However it is not a natural thing to do for C style coding. Typically you have a lot of lazy structures or stuff that gets automatically allocated. There are a lot of things typically happening under the hood.

Written by

Geek dad, living in Oslo, Norway with passion for UX, Julia programming, science, teaching, reading and writing.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store