The official repository for the Zig programming language. **Note: This repository is archived and has been migrated to Codeberg**.

0.15.1
Published at
Aug 29, 2025
43,312
Stars
26,644
Download
Synced at
Oct 4, 2026

Latest release

0.15.1Aug 29, 2025, 06:36 PM
Downloads slow? Switch the source anytime above

README

Project Overview

Zig is a general-purpose programming language designed for robustness, optimality, and reusability. This GitHub repository is no longer maintained; the project has been migrated to Codeberg.

Key Features

  • No Hidden Memory Allocations: Provides explicit control over memory management.
  • Compile-Time Code Execution: Powerful compile-time metaprogramming capabilities.
  • Seamless C Integration: Directly includes C headers and calls C functions.
  • Multi-Platform Cross-Compilation: Supports compiling for multiple target platforms.
  • No Runtime Overhead: Does not rely on garbage collection or other runtime features.

Target Audience

  • Systems programmers
  • Researchers interested in compiler design and programming language theory
  • Embedded developers requiring high performance and fine-grained control

Quick Start

  1. Important: Visit the Zig project page on Codeberg for the latest source code, documentation, and installation guides.
  2. Visit the official news page for migration details: [https://ziglang.org/news/migrating-from-github-to-codeberg/】

Core Advantages

  • Performance: Fast compilation and efficient generated code.
  • Portability: Supports a wide range of platforms and architectures.
  • Reliability: Improves code robustness through explicit control and compile-time checks.

System Requirements

  • OS: Cross-platform (Linux, macOS, Windows, etc.)

Release history

Sort