r/opencode • u/ShaderCompilation • 5d ago
They rewrote Opencode desktop frontend on Rust
https://github.com/anomalyco/opencode-rune35
19
7
u/pasteldebytes 5d ago
I'm not so excited. As far as I understood, the dev responsible uses windows mainly, and has not tuned it to Linux.
https://x.com/LukeParkerDev/status/2126460186282127481?a=I4wsqtCax5dlc3-iBr8&s=20
I tested it on Linux and mem reduction is <10%. There's no plug-in support, BTW, so all your Plug-ins will not work.
4
u/CrypticViper_ 5d ago
Dax mentioned something about plugin support coming. There’s no way they’d just abandon plugins entirely.
OpenCode core (the TUI and server) will also be moved to Rust
2
u/pasteldebytes 5d ago edited 4d ago
Sure. Definitely they need to do it. Not sure about compatibility with the previous plug-in system. Let's see...
3
u/LukeParkerDev 3d ago
Hey, while I don’t daily Linux, it’s very much on the radar. Even dax uses the rune desktop on Linux. Judge us when we release it but I’ve already cut the Linux memory usage in half, and will continue improving it
1
u/pasteldebytes 3d ago
Thanks for answering. Will test it again. What are the plans about plugin support?
0
u/ireallydontcare00 5d ago
Там и TUI (CLI) есть на Rust и он уже работает https://github.com/anomalyco/opencode/tree/8870cabc06f8a449794d5b63e2962e03f64743f0/packages/cli-rs
1
u/ShaderCompilation 5d ago
А нормально работает? Есть основные фичи уже
1
u/ireallydontcare00 5d ago
В основном нормально работает, пока что заметил только один дефект, это чтение переменных из окружающей среды (zshrc) работает не корректно для плагинов и потребовалась доработка плагинов, которые читают переменные окружения
А так раст версия того стоит, плавность и скорость работы молниеностная
2
u/gdmr458 5d ago
They should rewrite the server in Rust too, when turning on my laptop and typing opencode it last like 7 seconds to open, I guess is the server.
2
u/ireallydontcare00 5d ago
They’ll rewrite the backend in Rust too—it’s just a matter of time.
Judging by how quickly they built the frontend and the approach they took, I’d say we’ll definitely have a Rust-based backend for OpenCode by the first quarter of 2027.
-3
u/horrbort 5d ago
Why are you writing in russian are you KGB?
9
4
u/ireallydontcare00 5d ago
На этот вопрос можно так же ответить, кто истинный источник всей этой руссофобии, когда обиженный пришёл к власти, ещё до того момента, как ныне здесь писавшие свой ответ, могли вообще физический проголосовать
Но человечество как обычно, видит только следствие, но не причину и продолжается бороться со следствием
2
u/ireallydontcare00 5d ago
why not? in rules, english only allowed?
5
u/MokoshHydro 5d ago
That's reddit "feature". When you come from google search (for example), it tends to show conversation translated to local language. So, sometime people just write reply without even thinking that everybody else use different language.
2
2
2
u/Sostrene_Blue 3d ago
I do not recommend.
The app is very buggy, based on my personal experience.
I will reinstall when there is a stable version
3
1
1
u/TinyDetective110 4d ago
only frontend?
1
u/mwilson_9309 3d ago
This post is specifically about the desktop frontend. The thread also points to an existing Rust CLI; a Rust backend is only speculation here.
1
u/Fabiox08 9h ago
If I use this new version in rust, will it see correctly my existing sessions in opencode desktop?
0
-3
20
u/Zorvanzz9 5d ago
You can also test this tui native ADE im working on
https://opencrude.github.io
Its very easy to switch between models and providers and im making it pretty performant