Talk Python To Me cover image

Talk Python To Me

#391: Pyscript powered by MicroPython

Nov 29, 2022
01:11:04
Snipd AI
The chapter explores the limitations of PiScript and the collaboration between MicroPython and PiScript teams to run PiScript in the browser using MicroPython. The hosts introduce guests Brett and Fabio, who talk about their backgrounds and roles in PyScript and WebAssembly. The chapter discusses the challenges and limitations of using Python in a browser-based environment and the collaborative efforts of the Python community. It explores the potential of integrating Python with WebAssembly, highlighting the challenges of packaging and distributing code. The chapter also discusses MicroPython, a scripting language created by Damien George, its ability to run in highly constrained environments, and the use of Python in the browser through PyScript and WebAssembly. The speakers discuss future plans for the code base and empowering others in education through web development runtime environments.
Read more

Podcast summary created with Snipd AI

Quick takeaways

  • The collaboration between PyScript and MicroPython has led to significant improvements in running Python in the browser, making it more accessible and efficient.
  • WebAssembly serves as a portable CPU target that allows code from various languages, including Python, to be executed in the browser, with efforts underway to develop a component model for effective interoperation.

Deep dives

PiScript Enables Python in the Browser

PiScript is a project that allows you to write Python files and run them in the browser in place of JavaScript. The project aims to provide an alternative to JavaScript and enable interactions between Python and JavaScript. The runtime for PiScript initially had a limitation of being a 9 megabyte web assembly file, which restricted its use. However, a recent collaboration between the PiScript and MicroPython teams has resulted in significant improvements. MicroPython's web assembly runtime is now just 300k to download and loads in under 100 milliseconds. This breakthrough opens up new possibilities for using Python in the browser, making it more accessible and efficient.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode