frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Python compiler in Rust that runs faster than CPython with a 160KB WASM

https://github.com/dylan-sutton-chavez/edge-python/tree/main/compiler
3•dylansuttonc•6h ago

Comments

emanuele-em•4h ago
The fib benchmark is wild. I spent some time in the source. How are you handling back edges in loops in the single-pass SSA? You need to insert the phi before you've seen all the definitions, curious what the approach is there. Also how would you position this vs RustPython? They're going for full CPython compatibility (stdlib, pip, venv), whereas this looks like a small, fast, sandboxed runtime built for edge/WASM contexts. Very different bets. Is that the right way to read it? I had a similar project in mind for a while. Following this closely.
dylansuttonc•2h ago
Hi! Happy that you’re interested in the project and following it closely. I’m always open to seeing other people’s work as well.

While I use SSA, it’s not complete... my approach is pragmatic. For loops, each iteration generates new SSA versions of variables; at block end, they merge automatically, implicitly resolving phi nodes. This seemed simpler and safer than using pointers, and I’m applying a similar logic to objects.

Compared to RustPython, my focus is on binary size and speed rather than full CPython compatibility. My goal is to push Python to the frontend efficiently, for example, I plan to add an unsafe method to share a memory pool between JS and Python, allowing near-native DOM manipulation without serialization overhead.

Beyond parsing Python syntax (handled well by the lexer and parser), I aim to eventually support Pip and Rust’s Cargo libraries (first Cargo). I have a plan to compile C code while avoiding Python’s PyObject layout, enabling future library compatibility in this lightweight runtime.

Thanks! And happy to connect in the future :).

Andrej Karpathy on X: LLM Knowledge Bases

https://twitter.com/karpathy/status/2039805659525644595
1•bilsbie•2m ago•0 comments

U.S. rescues missing crew member in Iran

https://www.washingtonpost.com/national-security/2026/04/04/us-pilot-rescue-iran-f15-crash/
1•geox•4m ago•0 comments

Large language models are not the problem

https://www.nature.com/articles/s41550-026-02837-2
1•sega_sai•5m ago•0 comments

Two Planes Destroyed by U.S. During Rescue Operation

https://www.wsj.com/livecoverage/iran-war-news-2026/card/two-special-operations-mj-130s-destroyed...
1•harambae•5m ago•0 comments

Design Is an Instrument of Strategy

https://www.baytas.net/blog/instrument
1•kaizenb•6m ago•1 comments

Slug

https://metalbyexample.com/slug/
1•pablode•7m ago•0 comments

Job title of the moment: "AI relationship engineer"

https://x.com/Anina_CE
1•mikelgan•9m ago•0 comments

What Is MCPpedia?

https://mcppedia.org/blog/2026-04-06-what-is-mcppedia
2•bibekshrestha•11m ago•0 comments

Proof Human Online

https://humanfy.netlify.app/
1•Gresso•11m ago•0 comments

Docker Offload

https://www.docker.com/blog/docker-offload-now-generally-available-the-full-power-of-docker-for-e...
1•redbell•16m ago•0 comments

WebHarmonium: Play harmonium online with the original Rajaraman Iyer key map

https://webharmonium.top
1•BOS1980•18m ago•1 comments

All 477 power plants in Iran

https://openinframap.org/stats/area/Iran/plants
2•JumpCrisscross•21m ago•0 comments

Show HN: Beautiful intuitive weather forecasts that don't rely on numbers/units

https://weather-sense.leftium.com
2•Leftium•22m ago•1 comments

Show HN: Fetch Reliability Arena – Compare HTTP clients under chaos

https://fetch-kit.github.io/ffetch-demo/
1•gkoos•24m ago•0 comments

More Americans Are Breaking into the Upper Middle Class

https://www.wsj.com/economy/more-americans-are-breaking-into-the-upper-middle-class-bf8b7cb2
2•JumpCrisscross•28m ago•0 comments

US commandos rescue downed F-15 airman in daring raid deep inside Iran

https://www.timesofisrael.com/we-got-him-us-commandos-rescue-downed-f-15-airman-in-daring-raid-de...
3•mhb•29m ago•1 comments

How do social media platforms trap users in networks they would rather leave?

https://www.technology.org/2026/04/04/how-do-social-media-platforms-trap-users-in-networks-they-w...
1•Noaidi•29m ago•2 comments

For Everyone

https://en.wikipedia.org/wiki/This_Is_for_Everyone
1•teleforce•30m ago•0 comments

Right to repair: Why the US military can't fix much of its own equipment

https://taskandpurpose.com/tech-tactics/us-military-right-to-repair/
2•scythe•32m ago•0 comments

Your data, your choice: Solid project by Tim Berners-Lee

https://solidproject.org/
2•teleforce•32m ago•0 comments

Show HN: 1B Embeddings

3•INVARIAN•34m ago•1 comments

Show HN: I built a $9 Ahrefs alternative because raw SEO data is cheap

https://idiotproofseo.com/
1•harryfelio•34m ago•0 comments

The Domain Harness: Trust Aggregation at Community Scale

https://www.mountaineagle.net/articles/display/the-domain-harness-trust-aggregation-at-community-...
1•uswn•35m ago•0 comments

What is this and Why is it here?

https://olano.dev/blog/why/
1•facundo_olano•36m ago•0 comments

del

https://mynotebook.labarchives.com/login
1•eamag•36m ago•0 comments

Thoughts for the Weekend

https://www.youtube.com/playlist?list=PLcs1ZorNr2uTGPZPZnBa408qLVHjbMTzT
1•mvelbaum•37m ago•0 comments

Uber and Trial Lawyers Spar over New Yorkers' Auto Insurance Premiums

https://www.nytimes.com/2026/04/05/nyregion/lawyers-uber-auto-insurance.html
1•JumpCrisscross•37m ago•0 comments

The Todd Group: Open-Source Drug Discovery

https://todd-lers.github.io/about/
1•eamag•39m ago•0 comments

Show HN: I built a free web tool to convert PNG/SVG files to 3D printable STLs

https://omnvert.com/en/tools/png-svg-to-stl
1•kaant•41m ago•0 comments

It turns out Fortnite isn't the forever game after all

https://www.gamesindustry.biz/it-turns-out-fortnite-isnt-the-forever-game-after-all-opinion
2•haunter•42m ago•0 comments