Taking metaprogramming to the max, Clixir allows you to mix a subset of C and Elixir code in single source files and end up with transparent and safe execution of your embedded C code. As a demonstration, Uderzo, an OpenGL based graphics system targeted towards simple UIs for Nerves-style systems, will be explained.

OBJECTIVES

Show how far you can take Elixir macros and how you can use it to make much nicer code even when native code is involved.

TARGET AUDIENCE

Intermediate/advanced Elixir developers; people interested in Nerves (as you often want to do low-level stuff in there), low-level OpenGL programming.