code-server icon indicating copy to clipboard operation
code-server copied to clipboard

[Feat]: Migrate from node to bun

Open L3P3 opened this issue 2 years ago • 2 comments

What is your suggestion?

I just upgraded my web server with many independent services and hundreds of modules from node to bun in less than an hour. It feels faster now. :wink: Since code-server uses node.js in the backend, it might be noticeably faster when using bun, too. At least we might have a way to use bun if installed and otherwise node.js.

Why do you want this feature?

Speedup? Fun, definitely.

Are there any workarounds to get this functionality today?

Someone could hack around with the local installation.

Are you interested in submitting a PR for this?

Maybe, but mainly interested in some discussion here.

L3P3 avatar Oct 20 '23 20:10 L3P3

Great Idea!! I am interested in this as well. I may try to experiment with it.

Lan-Hekary avatar Oct 22 '23 15:10 Lan-Hekary

This would be an interesting experiment especially with benchmarks. Though, if it was implemented it might be better done upstream in https://github.com/microsoft/vscode, that way everyone benefits.

code-asher avatar Nov 16 '23 02:11 code-asher

Going to mark this as upstream and out of scope for code-server, would still like to see this upstream though since building VS Code is so slow.

code-asher avatar Jul 13 '24 00:07 code-asher