HackerTubewatch
Surprise me
Frame from ElixirConf 2021 - Isaac Yonemoto - Zig (heart) Elixir Plays via YouTube's privacy-enhanced embed

ElixirConf 2021 - Isaac Yonemoto - Zig (heart) Elixir

5 videos recommended on HN
YouTube
2 HN users recommended this talk2 months2021–2025 score 2
Years with an HN recommendation, 2007–2026

HN threads on Zig and Elixir link it as the creator's explanation of how Zig NIFs can behave nicely inside the BEAM.

Isaac Yonemoto's ElixirConf 2021 talk on Zigler, a library for writing Elixir NIFs in Zig. He looks at its internals and how it bridges the two languages while keeping the NIFs well behaved on the BEAM.

“The creator of Zigler has a talk from ElixirConf 2021 on how he made Zig NIFs behave nicely” (HN, 2024)

2 recommendations · 4 citations · Talks · advanced · partly dated

6 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@kristoff_it Oct 2024 Recommends
on HN thread Zigler: Zig NIFs in Elixir
There's a series of things that a NIF must do to be a good citizen. Not crashing is a big one, but also not starving the VM by never yielding (in case the NIF is long-running) is important, plus a few secondary things like using the BEAM allocator so that tooling that monitors memory consumption can see resources consumed by the NIF. The creator of Zigler has a talk from ElixirConf 2021 on how he made Zig NIFs behave nicely: [this video]
Talk on making Zig NIFs well behaved in the BEAM.

Citations, criticism and jokes

@throwawaymaths Apr 2023 Cites it
on HN thread The two types of C programmers (a provocative thesis)
Got it. Thank you for your perspective. I can appreciate that comptime is tricky. Indeed, async zig is hard and annoying (but you're wrong about the function coloring... Here is someone's project where they call an async function alternately from a sync or async context with zero lines of code: [this video] Yielding is async and threaded is sync)
Example of calling an async function from sync or async context.
@h0l0cube Oct 2024 Cites it
on HN thread Zigler: Zig NIFs in Elixir
Links for anyone curious. > Syntax highlighting here can work correctly, actually. Highlighting shown here in the 2021 ElixirConf talk posted elsewhere in the comments: [this video] > I'm not sure why it's not better documented in Zigler Here's the docs for it (though buried in the 'advanced' section) [link]
Shows syntax highlighting in Zigler.
@dnautics Jul 2025 Cites it
on HN thread Zig breaking change – Initial Writergate
something that I don't understand about the actual API: I maintain the zigler library, and one thing that was useful about the old async "colored-but-not-really" functions was that they implicitly tolerate having internal suspend points (detail: [this video] ) -- I'm not sure if having IO be a passed parameter will still let me do that? Can users build their own functions with yield points? And will you be able to jump out of the frame of a function and give control back to the executor, to let it resume later?
Details yield points in colored-but-not-really async functions.
@dnautics Jul 2025 Cites it
on HN thread Resizable structs in Zig
RE: Elixir I have a feeling that the zig's i/o strategy will enable me to bring back the zig-async-dependent yielding nifs in zigler. I'm really hopeful io interface will have a yield() function, that would be even better! [this video]
Related to yielding NIFs in Zigler.

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close