| What it is | The Data-Oriented Language for People Who Ship Software | A systems programming language designed to be simple, stable, and robust | A general-purpose programming language and toolchain for maintaining robust, optimal and reusable software | Efficient, expressive, elegant |
| Features | - distinct typing with type inference
- custom allocators and an implicit context system
- array programming, swizzling and SIMD
- bit sets, enumerated arrays, slices, dynamic arrays and maps
- tagged and untagged unions
- multiple return values and defer
- introspection on all types and control over memory layout
- inline assembly
- All 9 features
| - static type system
- manual memory management and a minimal runtime
- self-contained, with no libc dependency
- qbe backend and fast builds
- comprehensive language specification
- defer and built-in error handling
- Linux and the BSDs on x86_64, aarch64 and riscv64
| - comptime: compile-time code execution and lazy evaluation
- drop-in C/C++ compiler with zero dependencies
- cross-compilation out of the box
- zig build: a cross-platform build system
- incremental adoption in C/C++ codebases
- prebuilt toolchains for Linux, macOS, Windows, FreeBSD and NetBSD on many architectures
| - statically typed with local type inference, generics, tuples and sum types
- compiles to C, C++ or JavaScript
- small dependency-free native executables for Windows, Linux, BSD and macOS
- deterministic memory management with destructors and move semantics (ORC by default)
- AST macros, templates and compile-time function evaluation
- zero-overhead iterators
- async/await in the standard library
- easy C, C++ and Objective-C wrapping
- All 9 features
|
| Limitations | - No official package manager, by design: dependencies are vendored manually.
| - No upstream support for Windows or macOS, by design (a third-party macOS port exists).
- No generics and no package manager, by design.
| - Doesn't have a 1.0 release: the latest release is 0.17.1, so the language and standard library still change between versions
| |