Skip to content
CAI
Produce a survey ↗Verify a survey

E-xyza/zigler

Zigler is an Elixir library that enables the creation of Native Implemented Functions (NIFs) using the Zig programming language. It provides a comprehensive toolchain for compiling Zig code into BEAM-compatible binaries, managing memory allocation, and handling type marshalling between Elixir and C libraries. The system supports advanced concurrency models, including threaded and dirty scheduler execution, while offering robust error handling, memory leak detection, and extensive integration with the Erlang/BEAM runtime.

60.7

Adequate · 1 August 2026

7.4k

lines of production code

Elixir

primary language

2

bus factor · 23 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2019 · Architecture refactoring and tooling

This period focused on modernizing the project's internal architecture by refactoring NIF compilation and code generation into modular components, while removing legacy templates and custom headers. Concurrently, the codebase was updated to support Elixir 1.15, and comprehensive test coverage was added to validate the new structure and integration capabilities.

7 changes

2020–2023 · Zig NIF implementation and tooling

This period focused on implementing the core infrastructure for compiling and running Zig-based NIFs within the Erlang/BEAM runtime, including memory management, type marshalling, and concurrency models. The work also established the build system, installer utilities, and comprehensive test coverage to support the new Zig interop features.

9 changes

2024–2025 · Comprehensive test coverage expansion

This period focused on systematically adding integration and unit tests across all major subsystems, including callbacks, concurrency, C interop, Erlang integration, raw NIFs, resource management, type marshalling, and memory allocation. The work also introduced a precompiled module to support multiplatform testing, ensuring robust validation of the library's core functionality and edge cases.

10 changes

CAI lens gauges

Survey your own repository

E-xyza/zigler was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 1 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit afb8a604e2 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards