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

        139 ratings


        More shows like The Real Python Podcast

        View all
        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        288 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        625 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        579 Listeners

        Soft Skills Engineering by Jamison Dance and Dave Smith

        Soft Skills Engineering

        289 Listeners

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

        Super Data Science: ML & AI Podcast with Jon Krohn

        302 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        213 Listeners

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

        Syntax - Tasty Web Development Treats

        988 Listeners

        Darknet Diaries by Jack Rhysider

        Darknet Diaries

        8,088 Listeners

        Tech Brew Ride Home by Morning Brew

        Tech Brew Ride Home

        969 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        198 Listeners

        AWS Podcast by Amazon Web Services

        AWS Podcast

        207 Listeners

        Django Chat by William Vincent and Carlton Gibson

        Django Chat

        75 Listeners

        Last Week in AI by Skynet Today

        Last Week in AI

        311 Listeners

        Machine Learning Street Talk (MLST) by Machine Learning Street Talk (MLST)

        Machine Learning Street Talk (MLST)

        100 Listeners

        The Pragmatic Engineer by Gergely Orosz

        The Pragmatic Engineer

        70 Listeners