~/lightning

Lightning Talk - Native Code from Elixir

Lightningat ElixirConf EU 2019 · 2019-04-08..04-09· [embedded-and-hardware]
links:none on file
slides:none on file

Shows calling FFmpeg C libraries from Elixir via NIFs, using load_nif plus C functions like enif_get_string and enif_make to convert Erlang terms, and an example that extracts a format long_name from libavformat/libavcodec (ffprobe style). Notes real problems: long C work can block the BEAM scheduler (reductions ~2000) unless run on dirty schedulers, and a C crash kills the VM. Recommends using Rust/rustler for memory safety as an alternative.

AI-written summary · about

  1. 0:00Start
  2. 0:07Foreign Function Interface Program written in Language X interoperates
  3. 0:32Hello World
  4. 2:01FFmpeg C code from Elixir
  5. 3:17Segfaulting the BEAM
  6. 3:39Questions?
~/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.