-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Bun's priorities #798
Comments
how much time do you think this is gonna take? |
It depends! @ohsnap4. It's very hard to predict when these priorities can get done in an open-source environment. Everyone is contributing in their spare time. But I think @Jarred-Sumner has a time-goal set up for this, the only thing we can do is to contribute meaningfully to this project. |
As a user, I'd want:
2 > 3 since user experience > developer experience. 2 excites me most since it'll immediately speed up a lot of web apps. A good target should be to get Bun.js working with top 100 npm packages without changes to the packages themselves. This opens up an incremental adoption strategy for everyone to switch from node → bun and then optionally translate compat APIs for Node.js to even faster Bun.js equivalents if present. |
I would love to help but feel like I'm to unexperienced yet, any pointers from a more experienced dev as to what to learn to be a little useful? |
How high of a priority do you consider expanded documentation and community outreach to be? |
I like to use bun in Termux but it didn't worked. |
@Jarred-Sumner firstly great project 👍 love it. Im wondering how I could help. My first thoughts was to structure the documentation a bit more concisely, is that something that would be of interest + inline with priorities? Feels like a wall of text at the moment, maybe as a starting point:
|
Facing Same issue here! |
Does Bun instead to expose all apis via the |
Will |
@Perodactyl There is a not a feature request regarding that so feel free to create it. |
Chokidar is an extremely popular package that is core to other extremely popular packages. It currently does not work because |
Wow, I see so much work and progress going on here, I wish |
Stability/SegFault improvement update -- #644 appears markedly improved from More notes in the issue. Incredibly impressive delta in such a short time. Great work @Jarred-Sumner |
This comment was marked as resolved.
This comment was marked as resolved.
I am totally agree with you in 4, I tried install bun but it fail coz my old cpu |
I'd love to help, but don't want to jump in and duplicate work. Are there directly responsible individuals for these 4 items? Perhaps there's a team/squad working on these that I could get in touch with? |
Key modules/features that I see missing from Node.js are:
|
Hello, If you need more person involved, I guess you need to create cheat sheet for Zig because it's not popular language or example folder where you can add example about how to add a new Api also how to interact with deps that you choose and code style for better maintenance |
You can take a look #1115 |
|
|
From https://nodejs.org/api/async_hooks.html:
|
It looks like prisma uses only |
After #1266 fix, I cursorily tested these:
During the process, I had some offtopic
|
I like the project! |
Can't wait to run my JS code in based Zig instead of cringe Rust. |
Would really love to see some love for Koa as well and not just express as I happened across bun and would love to see if I can get it to work with https://github.com/strapi/strapi as I'm quite interested in the performance increases. Who knows, maybe one day we would see Strapi rewritten in bun instead of Node :) |
I have a big complicated Node.js Webpack project that I was skeptical would actually run in Bun. I had to nuke my node_modules and fix exactly 3 type errors to make it work. The "drop-in" replacement is not a lie, and for that you get a slow clap. 👏 |
While I understand that Node itself recommends not using this API, I think it should be included in bun for compatibility reasons. Sequelize is one of (if not the) biggest JS ORMs so to have it not work in bun make all of my projects incompatible with the bun runtime |
This comment was marked as resolved.
This comment was marked as resolved.
One thing that is really helpful and can be pretty tedious to produce — but can be done without deep technical expertise — is to produce small test cases that reproduces bugs. See https://en.wikipedia.org/wiki/Minimal_reproducible_example. (For example: someone reports that "it crashes for this repo" -> "these 3 lines of code consistently reproduces the crash".) |
I suggest considering implementing "dgram" from Node.js, since server application should be able to accept and send UDP packets, and not only TCP. Strangely no one yet mentioned it, but UDP is widely used for game servers. |
When can support for VS Code step debugging be prioritized? Thanks |
Any insight as to where Firestore sits on the priority queue? |
I know that the amount of issues bun gets might be overwhelming but sometimes I feel like maintainers should read each issue at least once before deciding if an issue needs to be prioritized or not. This is because I sometimes feel like even if an issue is supposed to get priority based on the cases listed here, they often get ignored because the title might not refer to that specifically. But after reading the issue itself you realize that it needs to be addressed sooner. |
There are way too many segfaults (on Windows atleast). Simply running some basic code (using the discord.js package, if that's related) ends up in a segfault. Seems like there's already an issue for my exact error (there's no message, just segfault at x address), but upon looking through the other issues, I can see a bunch of other segfaults |
About the missing routemap tasks: CSS Parser, IIFE module export, etc, it would be nice to add a list with a prioritization order. It would help a lot to those of us who are developing libraries/frameworks based on Bun to know also the order in which things are going to arrive, even if it is approximate. |
This comment was marked as off-topic.
This comment was marked as off-topic.
It would be great to see Bun support the "debug.javascript.autoAttachFilter": "smart" setting in VS Code. For long-term planning, a built-in multithread mechanism is preferred. |
Bun is a large project and it is early days. I think Bun needs to do a better job communicating what is a priority right now and what isn't.
Bun's top priorities:
bun install
should work as reliably as npm. We need more testing for error cases throughout Bun's test suite. We need to be running Address Sanitizer regularly and possibly Valgrind as well. We need to do fuzz testing.PRs that fit in the scope of top priorities will be reviewed ASAP. PRs that do not fit in this scope may take awhile to be reviewed
The text was updated successfully, but these errors were encountered: