zig_programming_language

Zig Programming Language

Return to C Language, Alternatives to C Language, Rust, Golang, CPP, Zig Glossary - https://github.com/ziglang/zig/wiki/Glossary

Zig is a general-purpose programming language and Zig toolchain for maintaining robust, optimal, and reusable software.


Snippet from Wikipedia: Zig (programming language)

Zig is a general-purpose system programming language that emphasizes performance, simplicity and metaprogramming. The compiler is free and open-source software, released under an MIT License on Codeberg.

Zig was designed to replace the C programming language while maintaining C ABI compatibility. Unlike C it uses compile time code execution for metaprogramming instead of a preprocessor. At compile time types are first class and can be passed to functions, this system is used for generics. A core goal of the language is to have no hidden memory allocations or control flow. Low-level programming features include packed structs, arbitrary-width integers and multiple pointer types.

Zig was designed by Andrew Kelley and first announced in 2016. Development is funded by the Zig Software Foundation (ZSF) which receives corporate sponsorships as well as private donations.

Installation

Homebrew

Homebrew:

brew install zig

=⇒ Downloading https://formulae.brew.sh/api/formula.jws.json

  1. 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/zig/manifests/0.13.0

  1. 100.0%

=⇒ Fetching zig

=⇒ Downloading https://ghcr.io/v2/homebrew/core/zig/blobs/sha256:ca207335ca7208dbe6198f0c12d593f7c8251457e924bc05f3cd1875874cc3a

  1. 100.0%

=⇒ Pouring zig–0.13.0.x86_64_linux.bottle.tar.gz

=⇒ Downloading https://formulae.brew.sh/api/cask.jws.json

  1. 100.0%

🍺 /home/linuxbrew/.linuxbrew/Cellar/zig/0.13.0: 15,374 files, 331.6MB

=⇒ Running `brew cleanup zig`…

Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.

Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

Chocolatey

Ubuntu

Fedora / RHEL

Zig (programming language): GitHub Zig, Awesome Zig. (navbar_zig - see also navbar_rust, navbar_cpp, navbar_c, navbar_golang)


Cloud Monk is Retired ( for now). Buddha with you. © 2025 and Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


zig_programming_language.txt · Last modified: 2025/02/01 06:21 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki