logoalt Hacker News

guessmynameyesterday at 10:22 PM8 repliesview on HN

Pi is good in concept, but why couldn’t they choose a compiled language instead of TypeScript?


Replies

jack_ppyesterday at 10:36 PM

since pi is built to modify itself, isn't it better to use a language like typescript where LLMs have a LOT of training data?

a harness doesn't do any computations by itself so what benefit is using a compiled language?

show 1 reply
simonwyesterday at 10:35 PM

I imagine because they want to support plugins, and plugins in compiled language are a lot less natural than plugins in languages like TypeScript or Python.

tuvixyesterday at 10:28 PM

I would imagine the extension system they built would be much more difficult to manage. They could have opted for Lua, though, I suppose.

burembayesterday at 10:38 PM

For TUIs, Rust/Go vs Typescript doesn't really makes a huge performance difference and you lose the 50x bigger community advantage of Typescript.

root_axistoday at 1:31 AM

Why does it matter? Agent harnesses aren't doing anything that would make a compiled language more suitable than a scripting language.

fg137yesterday at 11:27 PM

Does it matter to you as a user, other than the Nodejs/npm requirement?

gidellavyesterday at 10:25 PM

Sorry for self-insert, but that's exactly what I thought and I built https://github.com/gi-dellav/zerostack, so you are right I'd say

maxlohyesterday at 11:52 PM

Opencode is written in Go.

show 1 reply