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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of elixir

elixir

Photo of Zigler

Zigler

Photo of Zig Nifs

Zig Nifs

Related news:

News photo

Building a WoW (World of Warcraft) Server in Elixir

News photo

To Nerves from Elixir

News photo

Typing lists and tuples in Elixir