Zig
Zig is a systems language aiming to be a modern alternative to C: no hidden macros, no implicit memory allocations and great control. It stands out for its safety, integrated build system and frictionless C interoperability.
- Creado por Andrew Kelley
- Año 2016
- Paradigma: Imperative · compiled
- Extensiones: .zig
Para qué se usa
- Systems & low-level
- C replacement
- Build tooling
A favor
- Total, explicit control
- Interops with C
- Built-in compiler
En contra
- Very young (pre-1.0)
- Small ecosystem
- Changing API
Ecosistema
- zig build
- std
- zls
- Zigmod
Ejemplo
const std = @import("std");
pub fn main() void {
std.debug.print("¡Hola, mundo!\n", .{});
}