frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Pyodide: a Python distribution based on WebAssembly

https://github.com/pyodide/pyodide
26•tosh•3d ago

Comments

jacob019•2h ago
Anyone using it with nodejs to make a sandbox for code agents?
jcheng•1h ago
For that purpose I think most people are using bubblewrap or seatbelt/sandbox-exec with CPython.
b89kim•1h ago
ChatGPT's Canvas uses Pyodide for sandboxing, but it's not designed for coding agents. Node.js environment is usually better for agents. Pyodide restricts server-side functionality, and fetching external URLs often needs proxying due to sandbox. By the way, pyodide is still good option for interactive visualizer or deploying small webapps require data processing.
simonw•35m ago
I've done some experiments along those lines with Pyodide in Deno: https://til.simonwillison.net/deno/pyodide-sandbox
yawnxyz•1h ago
no but it works great in conjunction with observable and d3js for pretty interactives!
QuadmasterXLII•44m ago
It works surprisingly well in terms of writing python for native execution, and then trying to share on the web and having it Just Work TM. Unfortunately, when I want python it's because I want numpy, scipy and friends, and once you bring them on board pyodide load times are long. As an example comparison: a face turning octahedron puzzle in python + pyodide, loads in 10 seconds https://cubes.hgreer.com/fto.html . Meanwhile, a megaminx puzzle in javascript (statically generated by python) loads in 200 ms https://cubes.hgreer.com/ssg/output.html
simonw•36m ago
Pyodide is one of the hidden gems of the Python ecosystem. It's SO good at what it does, and it's nearly 8 years old now so it's pretty mature.

I love using Pyodide to build web UIs for trying out new Python libraries. Here's one I built a few weeks ago to exercise my pure-Python SQLite AST parser, for example: https://tools.simonwillison.net/sqlite-ast

It's also pretty easy[1] to get C or Rust libraries that have Python bindings compiled to a WebAssembly wheel that Pyodide can then load.

Here's a bit of a nutty example - the new Monty Python-like sandbox library (written in Rust) compiled to WASM and then loaded in Pyodide in the browser: https://simonw.github.io/research/monty-wasm-pyodide/pyodide...

[1] OK, Claude Code knows how to do it.

iamcreasy•14m ago
How do you call those C/Rust libraries compiled from to webassembly from Python/Pyodide?
simonw•7m ago
You have to turn them into WebAssembly wheels, then you can import them as if they were regular Python modules.
devsda•36m ago
There's also xeus-cpp which is cpp based on wasm. Xeus-cpp and pyodide are the backends for Jupyterlite [1] kernels in browser.

It's actually a very good way to teach coding in python/c++(11, 17 or even 23), explore language features or your own library within browser and allow students to execute code by hosting just some static html pages and some assets without any backend.

1. https://jupyter.org/try-jupyter/lab/

ianberdin•13m ago
Yea, I even built online ide based on Pyodide. Insane peace of software. You can try here: playcode.io/python

US SEC preparing to scrap quarterly reporting requirement

https://www.reuters.com/business/finance/us-sec-preparing-eliminate-quarterly-reporting-requireme...
451•djoldman•5h ago•239 comments

Monkey Island for Commodore 64 Ground Up

https://pixeldust.se/monkey-island-project
34•aresant•1h ago•5 comments

Kagi Translate now supports LinkedIn Speak as an output language

https://translate.kagi.com/?from=en&to=LinkedIn+speak
28•smitec•33m ago•5 comments

Leanstral: Open-source agent for trustworthy coding and formal proof engineering

https://mistral.ai/news/leanstral
383•Poudlardo•8h ago•80 comments

Every layer of review makes you 10x slower

https://apenwarr.ca/log/20260316
44•greyface-•1h ago•19 comments

Meta’s renewed commitment to jemalloc

https://engineering.fb.com/2026/03/02/data-infrastructure/investing-in-infrastructure-metas-renew...
388•hahahacorn•11h ago•167 comments

The “small web” is bigger than you might think

https://kevinboone.me/small_web_is_big.html
357•speckx•11h ago•159 comments

Lf-lean: The frontier of verified software engineering

https://theorem.dev/blog/lf-lean/
28•alpaylan•4d ago•6 comments

The American Healthcare Conundrum

https://github.com/rexrodeo/american-healthcare-conundrum
291•rexroad•11h ago•253 comments

My Journey to a reliable and enjoyable locally hosted voice assistant (2025)

https://community.home-assistant.io/t/my-journey-to-a-reliable-and-enjoyable-locally-hosted-voice...
348•Vaslo•16h ago•101 comments

Jepsen: MariaDB Galera Cluster 12.1.2

https://jepsen.io/analyses/mariadb-galera-cluster-12.1.2
29•aphyr•1h ago•3 comments

Beyond has dropped “meat” from its name and expanded its high-protein drink line

https://plantbasednews.org/news/alternative-protein/beyond-meat-not-the-moment-rebrand/
92•rmason•8h ago•159 comments

Show HN: Oxyde – Pydantic-native async ORM with a Rust core

https://github.com/mr-fatalyst/oxyde
90•mr_Fatalyst•3d ago•48 comments

Claude Tips for 3D Work

https://www.davesnider.com/posts/claude-3d
6•snide•3d ago•0 comments

In space, no one can hear you kernel panic (2020)

https://increment.com/software-architecture/in-space-no-one-can-hear-you-kernel-panic/
45•p0u4a•4d ago•5 comments

Why I love FreeBSD

https://it-notes.dragas.net/2026/03/16/why-i-love-freebsd/
386•enz•17h ago•191 comments

Show HN: Thermal Receipt Printers – Markdown and Web UI

https://github.com/sadreck/ThermalMarky
58•howlett•3d ago•22 comments

Starlink Mini as a failover

https://www.jackpearce.co.uk/posts/starlink-failover/
226•jkpe•21h ago•173 comments

Pyodide: a Python distribution based on WebAssembly

https://github.com/pyodide/pyodide
26•tosh•3d ago•11 comments

AirPods Max 2

https://www.apple.com/airpods-max/
243•ssijak•15h ago•429 comments

AnswerThis (YC F25) Is Hiring

https://www.ycombinator.com/companies/answerthis/jobs/CNdatw5-founding-engineering-lead
1•ayush4921•8h ago

Canopy Height Maps v2

https://ai.meta.com/blog/world-resources-institute-dino-canopy-height-maps-v2/?_fb_noscript=1
22•tzury•4d ago•6 comments

Polymarket gamblers threaten to kill me over Iran missile story

https://www.timesofisrael.com/gamblers-trying-to-win-a-bet-on-polymarket-are-vowing-to-kill-me-if...
1410•defly•17h ago•910 comments

Language model teams as distributed systems

https://arxiv.org/abs/2603.12229
83•jryio•11h ago•37 comments

Home Assistant waters my plants

https://finnian.io/blog/home-assistant-waters-my-plants/
268•finniananderson•4d ago•134 comments

The bureaucracy blocking the chance at a cure

https://www.writingruxandrabio.com/p/the-bureaucracy-blocking-the-chance
114•item•1d ago•133 comments

Launch HN: Voygr (YC W26) – A better maps API for agents and AI apps

71•ymarkov•12h ago•55 comments

Show HN: Claude Code skills that build complete Godot games

https://github.com/htdt/godogen
208•htdt•13h ago•132 comments

Lies I was told about collaborative editing, Part 2: Why we don't use Yjs

https://www.moment.dev/blog/lies-i-was-told-pt-2
226•antics•4d ago•107 comments

Zenclora OS

https://zenclora.org/
17•debo_•1h ago•10 comments