{"podcast":{"title":"BEAM There, Done That","slug":"beam-there-done-that-7725251","podcast_index_feed_id":7725251,"rss_url":"https://anchor.fm/s/10f787368/podcast/rss","website_url":"https://podcasters.spotify.com/pod/show/beamtheredonethat","image_url":"https://d3t3ozftmdmh3i.cloudfront.net/staging/podcast_uploaded_nologo/45445194/45445194-1772070691483-c305179ad8028.jpg","author":"Plangora","episode_count":22,"summary":"BEAM There, Done That is a podcast about building real systems with Elixir, Erlang, and the BEAM. We’ve built it before — distributed systems, fault‑tolerant services, event pipelines, real‑time apps, production nightmares, and the supervision trees that saved them. Each episode dives into practical lessons from shipping software on the BEAM: architecture decisions, scaling challenges, operational failures, and the patterns that actually work. No hype. No theory without scars. Just hard‑won experience from engineers who’ve been there.","last_synced_at":"2026-07-31T20:20:07.510585+00:00","page_url":"https://stenobird.com/podcast/beam-there-done-that-7725251"},"episode":{"title":"Zig Meets the BEAM: Garrison Hinson-Hasty & Isaac Yonemoto on Safer Native Code","slug":"zig-meets-the-beam-garrison-hinson-hasty-isaac-yonemoto-on-safer-native-code","published_at":"2026-07-17T10:00:00+00:00","page_url":"https://stenobird.com/podcast/beam-there-done-that-7725251/zig-meets-the-beam-garrison-hinson-hasty-isaac-yonemoto-on-safer-native-code","show_page_url":"https://stenobird.com/podcast/beam-there-done-that-7725251","url":"https://podcasters.spotify.com/pod/show/beamtheredonethat/episodes/Zig-Meets-the-BEAM-Garrison-Hinson-Hasty--Isaac-Yonemoto-on-Safer-Native-Code-e3m6cb7","audio_url":"https://anchor.fm/s/10f787368/podcast/play/122941223/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2026-6-17%2F428103696-44100-2-823a716e25431.mp3","summary":"Everyone who's ever written a C NIF for the BEAM knows the story. You have a bottleneck, you reach for native code, it works - until one day it doesn't, and instead of a process crashing, the whole node goes down. A segfault in a NIF takes the entire BEAM with it, bypassing every fault-tolerance guarantee OTP was designed to provide. This episode asks a simple question: do we have to accept that? The answer, increasingly, is no. Allen Wyma and Francesco Cesarini sit down with Garrison Hinson-Hasty, author of Systems Programming with Zig, and Isaac Yonemoto, creator of Zigler - the library that lets you write Zig directly inside Elixir and Erlang modules, with automatic marshalling, scheduler-aware execution modes, and memory tracking that's visible to the BEAM itself. This is part of the podcast's ongoing &quot;right tool for the job&quot; series, following earlier episodes on Rust and native code. Topics include: what Zig is and why it exists - C's simplicity and zero-cost abstractions, without C's footguns how Zig compares to both C and Rust: where it wins, where it loses, and why they're solving different problems why Zig's allocator model is unusually well-suited for BEAM integration - and what it means that Zigler uses the BEAM's own allocator by default, making native memory visible to Erlang's VM how Zigler works: write Zig in a sigil inside your Elixir module, and the marshalling between BEAM terms and native types is handled automatically at function call boundaries the four execution modes Zigler gives you - normal, dirty CPU, dirty IO, spawned thread - and how to pick one without changing a single line of your Zig code the honest answer to the question every BEAM developer wants to ask: can a Zigler NIF still crash the whole node? (Yes. Isaac explains exactl…","meta_description":"Everyone who's ever written a C NIF for the BEAM knows the story. You have a bottleneck, you reach for native code, it works - until one day it doesn't, a…","key_points":[],"chapters":[],"topics":[],"duration_seconds":3760,"processing_state":"not_requested","actions":[{"name":"request_transcript","method":"POST","url":"https://stenobird.com/v1/public/podcasts/beam-there-done-that-7725251/episodes/zig-meets-the-beam-garrison-hinson-hasty-isaac-yonemoto-on-safer-native-code/transcription-requests","description":"Idempotently request low-priority transcript generation for this episode."},{"name":"read_markdown","method":"GET","url":"https://stenobird.com/podcast/beam-there-done-that-7725251/zig-meets-the-beam-garrison-hinson-hasty-isaac-yonemoto-on-safer-native-code.md","description":"Read the agent-friendly Markdown representation of this episode resource."}]}}