Paradigm
Imperative, Procedural
Execution
Compiled
Typing
Static
Null Safety
YES
Memory Management
Manual
Zig is a modern systems programming language designed to be robust, optimal, and maintainable, created by Andrew Kelley in 2016. It prioritizes simplicity and debuggability while offering powerful compile-time code execution and C interoperability. Zig aims to replace C with better tooling while maintaining performance suitable for low-level systems programming.
This benchmark tests how fast a programming language can perform mathematical computations without any I/O or memory allocation. We are using the
Leibniz formula to approximate the value of PI.
Please note that the memory usage also includes the memory used by the HTTP server. Ideally, the most lightweight HTTP server should be used to measure the raw memory usage of the runtime.
OS: Linux/DockerCPU: Ryzen 7 7800X3DLast Updated: 2025-05-04