Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

The Bridge Between Elixir and Zig with Isaac Yonemoto

The Bridge Between Elixir and Zig with Isaac Yonemoto

FromElixir Wizards


The Bridge Between Elixir and Zig with Isaac Yonemoto

FromElixir Wizards

ratings:
Length:
47 minutes
Released:
Aug 5, 2021
Format:
Podcast episode

Description

While NIFs provide a great way to interface with native code in the BEAM machine, the process can also be rather error-prone. Thankfully, since Isaac Yonemoto built Zigler, things have become a lot simpler, and he joins us today to talk about how. Isaac is an Elixir developer with a background in biotech and we kick off the discussion by hearing about his journey into programming and some of the ways that he has combined it with science. From there we hear more about the different languages Isaac has worked in and why he fell in love with Elixir, where he talks about its encouragement of test-driven development and how this has made him a better programmer. We dive right into the contributions Isaac is making to the Elixir community next, and he starts off by talking about Zigler. He explains how Zigler provides a bridge between Zig and Elixir that makes it far easier to build NIFs. We hear a bunch of the other cool possibilities that Zigler offers to Elixir as well, including its ability to make debugging easier by appending the Zig stack trace to the Elixir one. After hearing Isaac’s opinion of magic in Elixir, we close today's show off with a few of the other projects he is working on, contributions that are bound to make the world of Elixir even more exciting!
Key Points From This Episode:
Isaac’s early exposure to programming and how he got started in tech.
The education Isaac had in the sciences and his experience in the biotech sphere.
Difficulties with installing Ruby and how this led to Isaac learning Elixir.
Support for asynchronous testing and the reasons why Isaac finds joy in Elixir.
The emphasis on test-driven development in Elixir and how this has made Isaac a better programmer.
Isaac’s experiences with Zig and the similarities between it and Elixir.
How NIFs allow C code in Elixir and what it is like debugging them.
Isaac’s Zigler project and how it provides integration between Elixir and Zig making it easy to build NIFs.
Cross-compiling C using Zig and why Isaac built a disassembler.
Aspects of the BEAM that make it harder to write NIFs in Elixir than in Julia.
Isaac’s opinion of magic in programming and how it should always be comprehensible.
Final plugs from Isaac: where to find Zigler, and some upcoming projects.
Links Mentioned in Today’s Episode:
SmartLogic — https://smartlogic.io/
Isaac Yonemoto on Twitter — https://twitter.com/DNAutics
Isaac Yonemoto on GitHub — https://github.com/ityonemo
Isaac Yonemoto on YouTube — https://www.youtube.com/channel/UCarZZW7eavljSdGRQx9kkSA
Selectrix — https://github.com/ityonemo/selectrix
Mavis — https://github.com/ityonemo/mavis
Chiaroscuro - https://github.com/ityonemo/chiaroscuro
Zigler - https://hexdocs.pm/zigler/Zig.html
Zigler on GitHub — https://github.com/ityonemo/zigler
Julia — https://julialang.org/
Testing Elixir with Jeffrey Matthias and Andrea Leopardi — https://smartlogic.io/podcast/elixir-wizards/s6e6-matthias-leopardi/ Special Guest: Isaac Yonemoto.
Released:
Aug 5, 2021
Format:
Podcast episode

Titles in the series (100)

Elixir Wizards is an interview-style podcast for anyone interested in functional programming and the Elixir Programming Language. Hosted by SmartLogic engineers Sundi Myint, Owen Bickford, Bilal Hankins, and Dan Ivovich, this show features in-depth discussions with some of the brightest minds in the industry, discussing training and documentation in Phoenix LiveView, the evolution of programming languages, Erlang VM, and more. In the current season, we're celebrating a decade of Elixir and exploring what the next ten years hold for this powerful language. With expert insights from guests including José Valim, Hugo Baraúna, and Saša Juric, we discuss emerging trends in cyber security, cloud infrastructure, web transports, machine learning, static vs dynamic types, and what the future might hold for Elixir developers. Learn more about how SmartLogic uses Phoenix and Elixir. (https://smartlogic.io/phoenix-and-elixir?utm_source=podcast)