Extra Credit

Zig

Official docs outline

11 sections
  1. Variables and Types

    Const and var declarations, primitive types, and type coercion.

  2. Structs, Enums, and Unions

    Aggregate types, tagged unions, packed layouts, and methods.

  3. Pointers and Slices

    Single-item and many-item pointers, slices, and sentinels.

  4. Memory and Allocators

    Explicit allocation, allocator interfaces, and lifetime management.

  5. Errors and Optionals

    Error sets, error unions, try and catch, and optional types.

  6. comptime

    Compile-time execution, generics via comptime, and type reflection.

  7. Control Flow

    Loops, switch, defer and errdefer, and labeled blocks.

  8. Build System

    build.zig, modules, build steps, and cross-compilation.

  9. C Interop

    Importing C headers, extern functions, and calling convention.

  10. Illegal Behavior and Safety

    Safety checks, build modes, and detectable illegal behavior.

  11. Atomics and Threads

    Atomic operations and threading primitives.

Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.

All 41