Elixir Wizards cover image

The Bridge Between Elixir and Zig with Isaac Yonemoto

Elixir Wizards

CHAPTER

How to Write a Niff in Elixir?

The reason why it's easier to call C from Julia is one because Julia cares highly about high performance C. The priority for Elixir and the beam is different. So we care about having robust and high uptime systems. And so in order to accommodate that, there are a lot of things that the beam has to kind of put in the way of executing low level code. But what I, what I do with Ziglar is I read the function header that you provide to Ziglar,. saying I want this function to be mounted into my module. It reads that, it figures out what the types are and then does all that unboxing for you. You have gotten into the age old question

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner