Remix.run Logo
guessmyname 4 hours ago

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

jack_pp 4 hours ago | parent | next [-]

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?

whimsicalism 2 hours ago | parent [-]

i find LLMs generally play better with compiled languages actually, they do great with rust. you can think of it almost as analogous to a harness.

brightball an hour ago | parent [-]

The more structure the better. Provides strong guardrails.

I’ve had great experience with Elixir and the new compiler combined with Ash.

simonw 4 hours ago | parent | prev | next [-]

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.

root_axis an hour ago | parent | prev | next [-]

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

buremba 4 hours ago | parent | prev | next [-]

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

tuvix 4 hours ago | parent | prev | next [-]

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

fg137 3 hours ago | parent | prev | next [-]

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

gidellav 4 hours ago | parent | prev | next [-]

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

maxloh 3 hours ago | parent | prev [-]

Opencode is written in Go.

grepex 2 hours ago | parent [-]

It is written in Typescript.

https://github.com/anomalyco/opencode

There is an archived Opencode project written in Go but I don't think it is affiliated.

https://github.com/opencode-ai/opencode

ValentineC an hour ago | parent [-]

This is a pretty good summary of what happened:

https://news.ycombinator.com/item?id=44483251