Get the latest tech news
Zigler: Zig NIFs in Elixir
zig nifs in elixir. Contribute to E-xyza/zigler development by creating an account on GitHub.
You must enable the rebar_mix plugin and add zigler to your deps in rebar3. Wouldn't it be nice if you could make NIFs as easily as you can use the asm keyword in C? Modules with zigler nifs should inculde code into one or more zig_code attribute and pass zigler options (identical to the elixir options) into a zig_opts attribute.
Or read this on Hacker News