-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to replace node with bun? #119
Comments
I had a bad experience with it on Windows. DetachHead/basedpyright#60 (comment) Doubt how good it is on other platform. |
Our Windows support is definitely worse than Linux/Mac. |
On macOS bun works fine so I just curious if that's possible. |
More of a "worth it or not" question. I don't think the user should care what runtime is used if it's managed by lsp_utils. If Bun can't beat Electron (speed or used RAM), I see no point to use it. |
But if you want to use a non-lsp-managed I feel the major issue is the Node.js version restriction specified in LSP-* plugins. |
In case of speed it faster but in RAM i don't see any major difference |
Found some benchmark on non-Windows. It's pretty appealing indeed. Not sure how to integrate Bun into lsp_utils though. Currently, all nodejs-based LSP-* just inherits If the user doesn't want to use lsp_utils-managed JS runtime, lsp_utils would have to find node/bun from
It looks like the best is to use Electron on Windows and Bun on others. |
No description provided.
The text was updated successfully, but these errors were encountered: