~/talk

BEAM NIFs in Ziglang for Elixir AND Erlang

links:none on file
slides:none on file

Zig-based NIF framework Zigler generates a JSON manifest at compile time, auto-builds shims, and exposes NIFs to Elixir and Erlang (via Erlang parse transforms). It marshals enums, lists, arrays-as-binaries, and integers bigger than 64 bits, and manages BEAM-bound resources with deterministic destructors triggered on process.exit. It wraps C libraries (demoed with cblas daxpy), supports synchronous/dirty/threaded/ yielding modes for scheduling, and is shipping a 0.10 release with threaded and leak-detection tooling.

AI-written summary · about

  1. 0:00Intro
  2. 0:45How did I get to this point
  3. 1:27The problem
  4. 2:27The pitfalls
  5. 3:37The design space
  6. 4:49Why Ziglang
  7. 5:41Ziglang
  8. 7:41Ziglang for Elixir
  9. 9:47Type marshalling
  10. 10:02Ziglang in Elixir
  11. 19:02BEAM Resource
  12. 21:51How it Works
  13. 22:45How it happened
  14. 23:31How it works in Erlang
  15. 25:48Background
  16. 26:31Easy C
  17. 27:57Demo
  18. 29:06Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.