r/coolgithubprojects • u/rokarthur • 9h ago
I rebuilt VS Code in Rust: same editor, same extensions, a quarter of the memory
VSRustium is VS Code ported to native Rust on GPUI. It is not a fork and not a lookalike. It is the same editor without Electron.
- Same look, keybindings, settings and menus
- Your extensions run unchanged in VS Code's own extension host, on Bun
- Extensions come from Open VSX. No telemetry, no AI features, no Microsoft services
Why: I like VS Code, but I don't want a browser under my editor.
Numbers
VS Code repo open (21k files), median of 5 runs, Mac Studio M1 Max:
| Category | VSRustium | VS Code 1.147.0 |
|---|---|---|
| Memory | 218 MiB | 975 MiB |
| Ready to work | 2.5 s | 12.1 s |
| Window shown | 0.79 s | 0.99 s |
| Idle CPU | 1.9 % | 0.2 % |
Idle CPU is worse for now. I found the cause, and a fix is in progress.
How I check that it matches VS Code
- VS Code's own extension API tests pass (362 of them, the same result as stock VS Code)
- Every window is pixel-compared against the real VS Code in 4 themes
- All 435 parts of VS Code that the port covers are tracked one by one, and each has a check that proves it
Status
- macOS: works, and I use it daily. Signed, notarized, updates itself
- Linux: preview
- Windows: builds, not tested on real hardware yet
MIT licensed. Not affiliated with Microsoft.
Repo and downloads: https://github.com/rokartur/vsrustium
Feedback and bug reports welcome :))


