~/talk

Clixir - mixing C and Elixir code

Talkat Code BEAM SF 2019 · 2019-02-28..03-01· [embedded-and-hardware]
slides:none on file

Clixir embeds C inside Elixir source files and runs the C in a separate process over Erlang ports so crashes don’t kill the VM. Macros generate the boilerplate, using gperf perfect hash tables and static 65k buffers to avoid mallocs. Demo renders with NanoVG/OpenGL and hits 100 FPS with 50 birds on a laptop, slower but usable on Raspberry Pi; boots Nerves in ~13s. Current data types supported are floats, strings and a special pid token for replies.

AI-written summary · about

  1. 0:00Intro
  2. 0:37About Cees
  3. 1:54Hobby project
  4. 2:58Web Browser
  5. 3:37OpenGL
  6. 4:09Integration
  7. 5:11Buffer
  8. 5:38Boilerplate
  9. 6:04Serialization
  10. 6:33Mousetrap
  11. 7:01Hello World Example
  12. 7:41How does it work
  13. 8:10Elixir function
  14. 8:48Buffer allocation
  15. 9:35GPF
  16. 10:47If statement
  17. 11:57tuple expression
  18. 12:18synchronous feedback
  19. 13:05multiple calls
  20. 13:19JenRenderer
  21. 14:42Cart
  22. 15:09Rendering
  23. 18:22Memory Allocation
  24. 18:38Shoutouts
  25. 19:46Questions
  26. 22:39Ceiling
~/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.