The ElixirTalk Podcast
Taking questions from around the Elixir community about application design principles and the state of the ecosystem. Ask us a question!
Latest Episode: Episode 153 feat. Dave Lucia- The Dream Stack with Rust & Elixir (August 22, 2019)
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 Expertise
Chris and Desmond have over half a decade of combined Elixir experience on dozens of applications in fields such as cryptocurrency, digital media, consumer products, and restaurants. They've deployed apps to Heroku, Linode, and EC2, successfully adopted Elixir at existing organizations, and worked on greenfield projects.
They are organizers of the EMPEX Conferences and big fans of Star Trek.
Desmond is the founder of the EMPEX Conference Series and runs Crevalle, a boutique software consultancy. In his free time he likes to surf, play pinball, and ride his motorcycle, Porco Rosso. He lives in Venice Beach, California.
Chris is an Englishman in New York, where he works as the Director of Engineering at Frame.io, a startup that helps video teams collaborate. An avid alchemist, he is a regular speaker at Elixir conferences and helps organize the NYC branch of EMPEX.
Adopting Elixir at your company? Don't make costly mistakes or spin your wheels while your team ramps up. Our years of experience can help you make the right architectural decisions early and give your team the training they need to get up and running quickly and confidently.
Contact us at info [at] elixirtalk.com for more information.