Hacker News new | ask | show | jobs
by exceptione 28 days ago
Interesting project. It seems it uses CodeMirror [1] in the Tauri frontend (60% of total code is typescript), but uses rust in the backend (30%). Surprising to see that Tauri is apparently good enough for the three platforms it needs to support (or it uses a lot of hacks, I don't know). The advertised memory reduction is remarkable as I expected a full web view to be a bit memory heavy. Not sure how this IDE keeps up with large documents or a lot of opened views though.

___

1. The editor implementation is here: <https://github.com/l0ng-ai/openidea/blob/main/src/editor/cor...>

2 comments

Tauri on Linux is horrible, but that's due to the poor state of WebKitGTK than Tauris fault.
vibed a tauri app the other day ~60MB RAM usage. quite happy with that!
How is that even possible, browser in 60M? Or are you not counting the new web process you get started together with your app?
Even at 60 MB, assuming the app is on the order of "hello world", that's almost two orders of magnitude more overhead than Win32 on my x64 Windows 11 box (tested with C, assume Rust with the windows crate would be similar).
Yeah, only when the comparison isn't a native app resource consumption.