The "helpers" library is used to convert types to and from erlang, I plan on open sourcing it but it is not ready now. In the above example, the code is explicit but "entry" can be created with an helper comptime function. erl is simply the erl_nif.h header converted by zig translate-c.
Sounds interesting, is it open source? I am interested in seeing how the code layout looks like when mixing Zig and Elixir