Facebook Pixel
Elixir Talk

Episode 153 feat. Dave Lucia- The Dream Stack with Rust & Elixir

Elixir Talk
Elixir Talk
Episode 153 – The Dream stack with Rust & Elixir feat. Dave Lucia We kick things off by hearing about the newly launched Elixir Training :tada: which y’all should check out if you’re looking to learn the language, or have friends who might. In todays episode we’re joined by Dave Lucia, VP of Engineering at SimpleBet where we hear about the use of the “Dream Stack” (you heard it here first folks!), which is Elixir using Rust NIFs for performance reasons (in their case calculating real-time betting odds). We spend a lot of time in the episode digging into what NIFs are, why Rust is a good fit for writing Elixir NIFs and what the pitfalls are. We get real technical with dirty schedulers, resource arcs in Rust, and all of the reasons for why you should and probably should not use NIFs unless you really need it. Also in an Elixir Talk first Dave turns around and asks us a question at the end. And in maybe a podcast first we place an on-air bet on who can donate the most to the Erlang Ecosystem Foundation. Links - Elixir Training North American Tour 2019 – https://elixirtraining.io - Elixir Conf – https://elixirconf.com - SimpleBet – https://simplebet.io - The Outline – https://theoutline.com - Two Years of Elixir at The Outline – https://blog.usejournal.com/two-years-of-elixir-at-the-outline-ad671a56c9ce - ConCache – https://github.com/sasa1977/con_cache - IO Lists and Phoenix - https://www.bignerdranch.com/blog/elixir-and-io-lists-part-2-io-lists-in-phoenix/ - Using Rust to Scale Elixir at Discord – https://blog.discordapp.com/using-rust-to-scale-elixir-for-11-million-concurrent-users-c6f19fc029d3 - Rustler – https://github.com/rusterlium/rustler - Rust ResourceArcs in Rustler – https://docs.rs/rustler/0.15.1/rustler/resource/struct.ResourceArc.html - Erlang Dirty Scheduler Overhead – https://medium.com/@jlouis666/erlang-dirty-scheduler-overhead-6e1219dcc7 - Erlef – https://erlef.org - Dave’s talk at CodeBeam SF 2019 – https://www.youtube.com/watch?v=wvfhrvAFOoQ - Dave on Twitter – https://twitter.com/davydog187 - Dave on Github – https://github.com/davydog187
Elixir Talk
Not playing