Thinking Elixir Podcast

95: Rustler Precompiled with Philip Sampaio


Listen Later

The recent announcement of Rustler Precompiled prompted a lot of interest and questions. We talk with Philip Sampaio to understand what he created and what problem it helps solve. The project helps lower the bar for using Rust libraries for NIFs in Elixir making it possible to see more libraries using Rustler in the future. He explains what prompted the work initially and how projects can benefit from it. We discuss what it means for internal company projects and especially for libraries. He explains how the project addresses the many architecture and platform combinations too. We end with learning about his sample CI project that shows us how to set up our own CI systems to use it.

Show Notes online - http://podcast.thinkingelixir.com/95

Elixir Community News

  • https://github.com/phoenixframework/phoenix/pull/4742 – Phoenix presence client
  • https://twitter.com/elixirphoenix/status/1511393478873427982 – Twitter thread discussing the Phoenix presence client
  • https://hexdocs.pm/phoenix_live_view/changelog.html#0-17-8-2022-04-06 – LiveView 0.17.8 released. Includes the HEEx template formatter
  • https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.HTMLFormatter.html – Docs on how to set it up
  • Issues discussing VS Code problems
  • https://github.com/elixir-lsp/vscode-elixir-ls/issues/242
  • https://github.com/elixir-lsp/vscode-elixir-ls/issues/241
  • https://github.com/DockYard/flame_on – flame_on library updated
  • https://dockyard.com/blog/2022/02/22/profiling-elixir-applications-with-flame-graphs-and-flame-on – Original flame_on announcement post for more info
  • https://twitter.com/sorentwo/status/1513630468490645509 – Oban adds “inline mode” to make testing more straightforward
  • https://www.mitchellhanberg.com/how-eex-turns-your-template-into-html/ – Mitchell Hanberg wrote an article about how EEx works
  • https://podcast.thinkingelixir.com/92 – Previous interview with Mitchell Hanberg
  • https://exercism.org/tracks/elixir/exercises/take-a-number-deluxe – Exercism.io GenServer learning exercise was added.
  • https://twitter.com/atyborska93/status/1513807461043552256 – Angelika shares about the Exercism.io update
  • https://twitter.com/whatyouhide/status/1512100896653590535 – Andrea Leopardi is working at Apple now on their Environment team.
  • https://www.apple.com/environment/ – More about the Apple Environment team
  • https://www.youtube.com/watch?v=R7t7zca8SyM – “Elixir in 100 seconds” video
  • Do you have some Elixir news to share? Tell us at @ThinkingElixir or email at [email protected]

    Discussion Resources

    • https://dashbit.co/blog/rustler-precompiled
    • https://twitter.com/philipsampaio/status/1503809314489831441
    • https://github.com/philss/rustler_precompiled
    • https://github.com/philss/rustler_precompilation_example
    • https://github.com/philss/floki
    • https://github.com/rusterlium/rustler
    • https://github.com/servo/html5ever
    • https://github.com/elixir-nx/nx
    • https://hex.pm/packages?search=depends%3Ahexpm%3Arustler&sort=total_downloads – Current Hex packages using rustler
    • https://github.com/elixir-nx/nx/tree/main/nx#readme
    • https://elixir-nx.github.io/explorer/Explorer.DataFrame.html
    • https://www.pola.rs/
    • https://github.com/discord/sorted_set_nif
    • https://ziglang.org/
    • https://github.com/ityonemo/zigler
    • https://github.com/philss/rustler_precompiled/blob/main/PRECOMPILATION_GUIDE.md
    • https://github.com/philss/rustler_precompilation_example
    • Guest Information

      • https://twitter.com/philipsampaio – on Twitter
      • https://github.com/philss/ – on Github
      • https://dashbit.co/blog – Dashbit blog where he writes
      • https://phils.dev – Personal blog
      • Find us online

        • Message the show - @ThinkingElixir
        • Email the show - [email protected]
        • Mark Ericksen - @brainlid
        • David Bernheisel - @bernheisel
        • Cade Ward - @cadebward
        • Sponsored By:

          • Fly.io: Fly.io is a great place to deploy your next Phoenix application! Check them out!
          ...more
          View all episodesView all episodes
          Download on the App Store

          Thinking Elixir PodcastBy ThinkingElixir.com

          • 4.9
          • 4.9
          • 4.9
          • 4.9
          • 4.9

          4.9

          32 ratings


          More shows like Thinking Elixir Podcast

          View all
          Hanselminutes with Scott Hanselman by Scott Hanselman

          Hanselminutes with Scott Hanselman

          377 Listeners

          Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

          Software Engineering Radio - the podcast for professional software developers

          272 Listeners

          The Changelog: Software Development, Open Source by Changelog Media

          The Changelog: Software Development, Open Source

          283 Listeners

          Talk Python To Me by Michael Kennedy

          Talk Python To Me

          592 Listeners

          Software Engineering Daily by Software Engineering Daily

          Software Engineering Daily

          624 Listeners

          Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

          Syntax - Tasty Web Development Treats

          982 Listeners

          REWORK by 37signals

          REWORK

          211 Listeners

          CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

          CoRecursive: Coding Stories

          189 Listeners

          Elixir Mix by Charles M Wood

          Elixir Mix

          13 Listeners

          Elixir Wizards by SmartLogic LLC

          Elixir Wizards

          22 Listeners

          The Stack Overflow Podcast by The Stack Overflow Podcast

          The Stack Overflow Podcast

          64 Listeners

          Beam Radio by Lars Wikman

          Beam Radio

          11 Listeners

          Oxide and Friends by Oxide Computer Company

          Oxide and Friends

          47 Listeners

          Elixir Mentor by Jacob Luetzow

          Elixir Mentor

          2 Listeners

          The Pragmatic Engineer by Gergely Orosz

          The Pragmatic Engineer

          52 Listeners