frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: Who is hiring? (October 2026)

14•whoishiring•1h ago•36 comments

Ask HN: Is vibe coding bad for SaaS projects?

4•gsngsn•2h ago•3 comments

40 years of writing code. I didn't see the end coming

7•temilson•3h ago•8 comments

Rpi – a Rust rewrite of the Pi agent, 10× faster startup

5•bigfishhk•5h ago•6 comments

Ask HN: What are you reading?

449•dan-bailey•2d ago•854 comments

Ask HN: What landmarks/lighthouses in the era of LLM/AI?

3•throw_away_ai•5h ago•4 comments

Capitalism Can't Handle AI

6•sedan_baklazhan•8h ago•8 comments

Ask HN: Freelancer? Seeking freelancer? (October 2026)

4•jon_north•1h ago•5 comments

Ask HN: What are you reading to your kids?

14•jopizio•1d ago•20 comments

Ask HN: Who's still keeping a DOS machine up because the business depends on it?

295•mlaux•5d ago•302 comments

Muse.ai gets me kicked off fb marketplace

30•zcalvin•1d ago•14 comments

OpenAI halved the allowance of the $200 plan to 10x

16•k9294•8h ago•6 comments

Ask HN: What's a good title for a software engineer now?

5•type4•14h ago•14 comments

Tell HN: Thanks for All the Fish

14•neilv•19h ago•4 comments

Factory AI vs. Cognition (Devin) board tussle

3•pranshuchittora•20h ago•1 comments

Stanislaw Lem quote related to LLMs

8•daly•13h ago•1 comments

Ask HN: How will the AI endgame play out?

12•jackgavigan•1d ago•22 comments

Ask HN: How do you get your first users for an MVP?

15•amina124•2d ago•13 comments

Ask HN: Any nerds out there who've read a lot of research papers?

34•shriy-singh•6d ago•29 comments

Ask HN: OpenSEO inspiration for other tools, asking for opinion

4•yash_salesup•1d ago•0 comments

Ask HN: What are people doing with their OpenClaw set ups now?

19•will10pa•3d ago•11 comments

Ask HN: Ex-swe what part time did you pickup?

2•conqrr•21h ago•0 comments

You've reached the end!

Open in hackernews

Rpi – a Rust rewrite of the Pi agent, 10× faster startup

5•bigfishhk•5h ago
I've been learning about the Pi agent and decided to rewrite it in Rust. Now that I've finished a lot of the work, I'd like to show how much faster Rust (rpi) is than TypeScript (Pi). Here are the results:

| Metric | rpi (Rust) | Pi (TypeScript) | Difference | |:---|:---|:---|:---| | `--version` | 17.5 ms | 169.5 ms | 9.7× faster | | Cold start | 17.7 ms | 189.5 ms | 10.7× faster | | RSS when ready | 12.0 MiB | 91.5 MiB | 7.6× smaller | | Install size | 21.8 MiB | ~385 MiB | ~18× smaller |

Rust is really cool!

Comments

vincent-uden•4h ago
This kind of invalidate the pitch of Pi, the self-modifying harness. You can't use the Pi extensions I'm assuming...

Without a plan of your own for extensions this is comparing apples to oranges. My Pi startup time is dominated by loading extensions and skills, and I don't even have many to begin with!

(It seems like there is a pluging API judging by the Github repo. That wasn't linked in the comments by the time of my writing)

dv_dt•1h ago
I wonder about adding a plugin shim for webassembly, or a Rust crate with integrated V8 engine (Bun?). But honestly, I use pi and I have yet to ask it to self-modify.
vincent-uden•1h ago
I mean, kinda same. I've asked it to write skills but that is about it. And skills dont require this. But I do use other peoples extensions.
voidUpdate•4h ago
That name won't be confusing at all
bigfishhk•4h ago
github repo: https://github.com/bigfish1913/pi-rust
syrusakbary•49m ago
Nice!

This is great. A few days ago we were able to enable running Pi fully in the browser (and in the iPhone). Demo here: https://wasmer.sh/?example=pi

I'd be curious if we could compile Rpi to WASIX (https://wasix.org) and get it there as well!