Translations:Zig/25/en

From Gentoo Wiki
Jump to:navigation Jump to:search

Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software. Zig is a slightly lower level language than C, which it aims to replace as a more expressive and type safe alternative. That said, Zig can use or export C functions without an FFI[1] and compile code in C and C++, using libclang.[2] Upstream also works on their own C compiler[3] so that these functions will be available without libclang.

  1. Integration with C libraries without FFI/bindings, Zig's Overview. Retrieved on February 19th, 2023.
  2. Andrew Kelley. zig cc: Powerful Drop-In Replacement for GCC/Clang, Andrew Kelley's blog. March 24th, 2020. Retrieved on February 19th, 2023.
  3. Aro — a C compiler written in Zig. Retrieved on February 19th, 2023.