Rust in Production

Prime Video with Alexandru Ene


Listen Later

Are you one of over 240 million subscribers of Amazon's Prime Video service? If so, you might be surprised to learn that much of the infrastructure behind Prime Video is built using Rust. They use a single codebase for media players, game consoles, and tablets. In this episode, we sit down with Alexandru Ene, a Principal Engineer at Amazon, to discuss how Rust is used at Prime Video, the challenges they face in building a global streaming service, and the benefits of using Rust for their backend systems.

About Prime Video
Prime Video is a streaming service offered by Amazon that provides a wide range of movies, TV shows, and original content to its subscribers. With over 240 million subscribers worldwide, Prime Video is one of the largest streaming platforms in the world. In addition to its vast content library, Prime Video also offers features such as offline viewing, 4K streaming, and support for multiple devices. On the backend, Prime Video relies on a variety of technologies to deliver its content, including Rust, which is used for building high-performance and reliable systems that can handle the demands of a global audience.
About Alexandru Ene
Alexandru worked on the transition of Prime Video's user interface from JavaScript to Rust. He has been with Amazon for over 8 years and previously worked at companies like Ubisoft and EA. He has a background in computer science and is an active open source maintainer. Alexandru lives in London.
Links From The Episode
  • Ferris Makes Emulators Ep.001 - The Journey Begins - First episode of a famous series where Jake Taylor wrote a Nintendo 64 emulator in Rust from scratch
  • CMake - Very common build system used in C++ applications
  • Conan - C++ Package Manager community project
  • C++ Smart Pointers - Still a footgun
  • Herb Sutter: The Free Lunch Is Over - The seminal 2005 paper that highlights the importance of concurrency, well past C++'s mainstream adoption
  • Rust in Production: cURL - Baseline library used everywhere, written in C, but performant and safe
  • Prime Video Platforms - One app runs on all of these
  • WebAssembly (WASM) - Enabling Rust code with good performance that you can still download and run like JavaScript, avoiding the need for firmware updates on some devices
  • Entity Component System - Used in the UI Rust code for pages in the app
  • Bevy - Game engine written in Rust
  • Leptos - UI framework that makes reactive programming in Rust easier
  • tokio - The de facto standard async runtime for Rust
  • SIMD - A nice feature set some CPUs support
  • WebAssembly Micro Runtime - A tiny WASM runtime well suited for IoT platforms
  • WebAssembly Working Group

Official Links
  • Amazon Prime Video
  • Rust & WASM for UI: Faster Prime Video on ANY Device - Alexandru Ene, QCon San Francisco 2024
  • Alexandru Ene on LinkedIn
  • Alexandru's Blog
  • Alexandru Ene on GitHub
...more
View all episodesView all episodes
Download on the App Store

Rust in ProductionBy Matthias Endler

  • 5
  • 5
  • 5
  • 5
  • 5

5

22 ratings


More shows like Rust in Production

View all
Software Engineering Radio by se-radio@computer.org

Software Engineering Radio

272 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

290 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

625 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

583 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

214 Listeners

Data Engineering Podcast by Tobias Macey

Data Engineering Podcast

144 Listeners

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

Syntax - Tasty Web Development Treats

984 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

190 Listeners

Practical AI by Practical AI LLC

Practical AI

212 Listeners

Rustacean Station by Rustacean Station

Rustacean Station

63 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

143 Listeners

Signals and Threads by Jane Street

Signals and Threads

72 Listeners

Oxide and Friends by Oxide Computer Company

Oxide and Friends

60 Listeners

The Rust Workshop Podcast by Tim Abell

The Rust Workshop Podcast

4 Listeners

Self-Directed Research by OneVariable GmbH

Self-Directed Research

15 Listeners