Learning the Zig programming language

Zig is an imperative, general-purpose, statically typed, compiled system programming language designed by Andrew Kelley. It is intended to be a successor to the C programming language.

Wikipedia

Why programming languages matter

…

Learning Zig

Great resource

Figuring out the package manager

Currently this article seems to be the definitive guide. But too noisy for now.

Good sources:

  • v0.11 release notes.
  • This Ziggit response.

What to do if you want to write a library

Init your project

$ zig init-library

Add a build.zig.zon file

.{
    .name = "your library name",
    .version = "0.0.3",
}

Testing

See this.

Web Assembly

Read this as a general introduction.

Then, go through these resources: