Episode 152
Rust and Elixir Play Great Together
May 23rd, 2023
50 mins 15 secs
Tags
About this Episode
Rust is a popular lower level language and the community has created a number of libraries to solve different problems. We talk with Jason Stiebs, a Phoenix Core Team member, about how Elixir and Rust can play well together. Jason wrote an article about how he leveraged an image processing library available in Rust by using the Elixir Rustler package. We talk about how Rustler works through NIFs, and we learn how easy using Rustler has become. It's great to understand that we have a powerful escape hatch like Rustler for those times we need it. We also get Jason’s insights into the Phoenix project and talk about the importance of improving the developer experience when a LiveView crashes and more!
Show Notes online - http://podcast.thinkingelixir.com/152
Elixir Community News
- https://www.erlang.org/news/164 – Erlang OTP 26 Final was released
- https://www.erlang.org/blog/otp-26-highlights/
- https://www.erlang.org/blog/otp-26-highlights/#improvements-of-maps – Improvements to Maps
- https://github.com/elixir-lang/elixir/releases/tag/v1.14.4 – When Elixir 1.14.4 was released, it included the ability to request sorted map keys when inspecting.
- https://www.erlang.org/blog/otp-26-highlights/#incremental-mode-for-dialyzer – Incremental mode for Dialyzer
- https://erlangforums.com/t/in-erlang-otp-27-0-0-will-no-longer-be-exactly-equal-to-0-0/2586 – Erlang OTP 27 where +0.0 will no longer be exactly equal to -0.0.
- https://felt.com/blog/startup-and-shutdown-for-phoenix-applications – Jason Axelson wrote an article about doing a “Graceful Startup and Shutdown for Phoenix Applications” over on the Felt blog.
- https://smartlogic.io/podcast/elixir-wizards/s10-e08-jose-valim-future-elixir-ecosystem/ – José Valim was on the Elixir Wizards podcast talking about the future development of Elixir
- https://twitter.com/josevalim/status/1658160088354369546 – José Valim was asking for feedback on the "Optional Syntax Sheet" documentation.
- https://elixir-lang.org/getting-started/optional-syntax.html – Optional syntax sheet in the Elixir Getting Started docs
- https://twitter.com/sean_moriarity/status/1648466250828484609 – LLaMa support added to Nx and Bumblebee by Sean Moriarity
- https://twitter.com/FrerichRaabe/status/1648696436266004480 – Nicely summarizing Tweet that frames the LLaMa work
- https://www.youtube.com/watch?v=e2fDjl2hoAk – ElixirConf EU keynote video titled “Using Elixir & Phoenix To Build A City Software Infrastructure”
- https://www.empex.co/new-york – Empex NYC - use code THINKING to get $100 of your ticket
- https://www.lambdadays.org/lambdadays2023 – LambdaDays functional programming conference on 5-6 June 2023 in Kraków Poland
- https://twitter.com/josevalim/status/1658159252773453824 – José Valim will speak about meta-programmable functional notebooks with Livebook
Do you have some Elixir news to share? Tell us at @ThinkingElixir or email at show@thinkingelixir.com
Discussion Resources
- https://fly.io/phoenix-files/elixir-and-rust-is-a-good-mix/ – Elixir and Rust Is a Good Mix
- https://youtu.be/FADQAnq0RpA?t=3636 – Chris McCord specifically calling out Jason for advocating for a better DX around LiveView errors.
- https://github.com/rusterlium/rustler
- https://discord.com/blog/using-rust-to-scale-elixir-for-11-million-concurrent-users
- https://news.livebook.dev/label/45764
- https://fly.io/phoenix-files/tensors-and-nx-are-not-just-for-machine-learning/
Guest Information
- https://twitter.com/peregrine – on Twitter
- https://github.com/jeregrine/ – on Github
- https://merveilles.town/@peregrine – on Fediverse
- mailto:jason@fly.io – Email
Find us online
- Message the show - @ThinkingElixir
- Message the show on Fediverse - @ThinkingElixir@genserver.social
- Email the show - show@thinkingelixir.com
- Mark Ericksen - @brainlid
- Mark Ericksen on Fediverse - @brainlid@genserver.social
- David Bernheisel - @bernheisel
- David Bernheisel on Fediverse - @dbern@genserver.social
- Cade Ward - @cadebward
- Cade Ward on Fediverse - @cadebward@genserver.social