The Real Python Podcast

Targeting WebAssembly Platforms & Distilling a Minimum Viable Python


Listen Later

Are you familiar with the different versions of WebAssembly? Could WASM be the “write once, run everywhere” solution that developers have searched for? Where does distributing Python applications fit in the narrative? This week on the show, we have CPython core developer Brett Cannon to discuss his recent articles about WebAssembly and MVPy.

Brett has completed his syntactic sugar series, which we discussed in a previous episode. He details the origin of the series and his process of unearthing a minimum viable version of Python. Brett shares how he updated his PyCon US talk on the subject after feedback from presenting it at PyCascades.

We also dig deep into WebAssembly, specifically WebAssembly System Interface (WASI). Brett explains the concept of a “platform target triple” and the importance of defining which system CPython is compiled for. We also discuss WebAssembly becoming a ubiquitous distribution system.

Course Spotlight: Python Basics: Building Systems With Classes

In this video course, you’ll learn how to work with classes to build complex systems in Python. By composing classes, inheriting from other classes, and overriding class behavior, you’ll harness the power of object-oriented programming (OOP).

Topics:

  • 00:00:00 – Introduction
  • 00:02:05 – PyCascades 2023
  • 00:02:56 – Using social media for polls and checking interest
  • 00:06:02 – Completing the syntactic sugar blog series
  • 00:15:29 – Minimum Viable Python (MVPy) and WebAssembly
  • 00:19:29 – Other teams focusing on WebAssembly
  • 00:21:31 – Sponsor: Courier
  • 00:22:13 – Stack of technology
  • 00:26:50 – WebAssembly and its platform targets
  • 00:32:35 – WASI and connecting to a runtime
  • 00:38:33 – Extension modules and dynamic libraries
  • 00:47:29 – Overcoming road blocks and envisioning a new WASI assignment
  • 00:51:51 – Video Course Spotlight
  • 00:53:26 – PEP 11 & CPython platform support for WASI
  • 01:03:11 – Machine-specific runtime
  • 01:04:57 – Write once, run everywhere
  • 01:13:14 – Talks and summits planned for PyCon 2023
  • 01:18:00 – Thanks and goodbye
  • Show Links:

    • MVPy: Minimum Viable Python
    • Python’s Syntactic Sugar - PyCon US 2023
    • Episode #47: Unraveling Python’s Syntax to Its Core With Brett Cannon – The Real Python Podcast
    • syntactic sugar - Tall, Snarky Canadian
    • Brett Cannon (@[email protected]) - Fosstodon
    • WASI - wasi.dev
    • WebAssembly and its platform targets
    • Introducing the Disney+ Application Development Kit (ADK) - Mike Hanley
    • Compute@Edge services using WebAssembly - Fastly Developer Hub
    • Experimental - Python for the Web - Visual Studio Marketplace
    • PEP 11 – CPython platform support - peps.python.org
    • Testing a Python project using the WASI build of CPython with pytest
    • The rise of WebAssembly - InfoWorld
    • Can WASM become the new Docker?
    • bytecodealliance/wasmtime: A fast and secure runtime for WebAssembly
    • Emscripten - Dev Documentation
    • PyScript - Run Python in your HTML
    • Level up your Python skills with our expert-led courses:

      • Python Basics: Object-Oriented Programming
      • Inheritance and Composition: A Python OOP Guide
      • Python Basics: Building Systems With Classes
      • Support the podcast & join our community of Pythonistas

        ...more
        View all episodesView all episodes
        Download on the App Store

        The Real Python PodcastBy Real Python

        • 4.7
        • 4.7
        • 4.7
        • 4.7
        • 4.7

        4.7

        134 ratings


        More shows like The Real Python 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

        265 Listeners

        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        287 Listeners

        LINUX Unplugged by Jupiter Broadcasting

        LINUX Unplugged

        262 Listeners

        Thoughtworks Technology Podcast by Thoughtworks

        Thoughtworks Technology Podcast

        41 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        584 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        628 Listeners

        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

        Super Data Science: ML & AI Podcast with Jon Krohn

        294 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        213 Listeners

        Data Engineering Podcast by Tobias Macey

        Data Engineering Podcast

        140 Listeners

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

        Syntax - Tasty Web Development Treats

        988 Listeners

        CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

        CoRecursive: Coding Stories

        186 Listeners

        DataFramed by DataCamp

        DataFramed

        269 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        190 Listeners

        The Stack Overflow Podcast by The Stack Overflow Podcast

        The Stack Overflow Podcast

        63 Listeners