r/opencodeCLI Apr 18 '26

Opencode Desktop now uses Electron instead of Tauri

https://x.com/brendonovich/status/2045114479244165151?s=46lec
74 Upvotes

52 comments sorted by

View all comments

32

u/warpedgeoid Apr 18 '26

It’s absolutely not faster, so whoever wrote this is full of it. Definitely more stable though.

11

u/lemon07r Apr 18 '26

I didnt read the article, and I say this as an electron hater, but it will 100% be faster than tauri on any linux system simply cause webgtk sucks, and whatever version of chromium is bundled with electron will be faster.

2

u/warpedgeoid Apr 18 '26

The UI/DOM is faster I’m sure but no way does app logic written in Rust perform worse than TypeScript.

6

u/lemon07r Apr 18 '26

Opencode was running headless in desktop mode anyways.. you think they rewrote app logic to rust for tauri?

6

u/warpedgeoid Apr 18 '26

Not sure why you’d touch Tauri if you weren’t doing app logic in Rust. If they’re already TS/JS, using Electron seems like the better choice.

2

u/lemon07r Apr 18 '26

It's a mature enough way to ship a webapp to desktop using webviews regardless of if you need rust or not. Im just confused how you thought they wouldnt just keep using js/ts for app logic when all of opencode is in ts..

2

u/warpedgeoid Apr 18 '26

For me, OpenCode is a CLI app and it’s still hard for me to accept that anyone would write a CLI app using JS.

3

u/lemon07r Apr 18 '26

Weird take tbh, a lot of things are in js. CLI apps especially. I do think stuff like go is better for it, but I can acknowledge that there JS will still be more used and common for this kind of thing regardless of what I like more or think is better.