Pi is good in concept, but why couldn’t they choose a compiled language instead of TypeScript?
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.
I would imagine the extension system they built would be much more difficult to manage. They could have opted for Lua, though, I suppose.
For TUIs, Rust/Go vs Typescript doesn't really makes a huge performance difference and you lose the 50x bigger community advantage of Typescript.
Why does it matter? Agent harnesses aren't doing anything that would make a compiled language more suitable than a scripting language.
Does it matter to you as a user, other than the Nodejs/npm requirement?
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
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?