6 ms·
I work on Bun and happy to answer any questions. Note that Bun v1.1 is still compiling at the time of writing (probably for another 20 minutes)
by Jarred 3y ago
I work on Bun and happy to answer any questions.
Note that Bun v1.1 is still compiling at the time of writing (probably for another 20 minutes)
- eddd-ddde 3y agoAre there plans for adding concurrent or parallel execution to the test runner? I recently tried looking at the code base to maybe implement it myself, and it looks like it wouldn't be easy without some reworks.
- Jarred 3y agoWe need to do some form of this but I’m not exactly sure what yet. I suspect same process but multiple globals might work well. A lot of tests spend time sleeping or waiting for things. They might benefit from that kind of paralellism (like async/await, except between things it runs a whole other global object) Threads could also work but the problem is you have to re parse & evaluate all the code. That’s a lot of duplicate work. It’s probably still worth it for large enough apps
- eddd-ddde 3y agoIsn't there some way of cloning a loaded vm after loading a module? I would imagine that should be possible some how, that way you could parse once then execute in multiple threads.
- theThree 3y agoWhen will `worker` API be ready for production?
- toastal 3y agoNow that Discord will start showing ads, is there any chance Bun will support a communication platform that is open & ad-free like IRC, XMPP, or Matrix?
- dcgudeman 3y agoWhat kind of question is this? He is working on a JavaScript/TypeScript runtime not building a communication product. Why would you run to him to solve your pet grievance with Discord?
- tbeseda 3y agoI imagine the complaint is around Bun's use of Discord as community coordination tooling -- linked in the site's header. The post isn't implying Bun should be involved in the creation of an alternative. (I'm not here to throw shade at using Discord for OSS "communities" - I do as well - And am concerned about the path forward. Just want to clarify the question's intent.)
- mdeeks 3y agoI'm assuming it is because Bun uses Discord? There are Discord links on their site and on Github, though the links don't seem to work.
- toastal 3y agoIf open source, free software is a good enough ethos for your code base, it should be good enough for your community communications. Supporting only a proprietary locks out a swath of users & Discord in particular is an information blackhole—and now with ads!
- fofolo 3y agoGG for Windows support and all the addition in 1.1 :) Thxx
- gr4vityWall 3y agoIs there a privacy policy available for the telemetry collected by default by Bun?
- throwitaway1123 3y agoThe opt-out telemetry is worrisome. Along with the fact that there doesn't appear to be a way to disable it for single-file executables if you plan to distribute a Bun cli app to users: https://github.com/oven-sh/bun/issues/8927 https://github.com/oven-sh/bun/issues/8927
- whstl 3y agoAccording to this, it seems they don't actually send the telemetry: https://news.ycombinator.com/item?id=39901755 https://news.ycombinator.com/item?id=39901755 Hope my interpretation is correct.
- throwitaway1123 3y agoYeah I saw a Github discussion where he mentioned that the code for uploading telemetry data was disabled, but he also said he plans to re-enable that at some point: https://github.com/oven-sh/bun/discussions/2605#discussioncomment-5602971 https://github.com/oven-sh/bun/discussions/2605#discussionco... I would prefer to have the telemetry become opt-in before data collection is turned on.
- whstl 3y agoCompletely agree.
- txdv 3y agolove it, even `bun upgrade` is fast: On my rpi 4 that I capped to 600mhz for performance testing: Bun v1.1.0 is out! You're on 1.0.36 [3.93s] Upgraded.
- cheema33 3y ago> I work on Bun and happy to answer any questions. I think I saw somewhere that 1.0 did not support NextJS. Does 1.1?
- cheema33 3y agoI think I answered my own question. According to https://bun.sh/guides/ecosystem/nextjs https://bun.sh/guides/ecosystem/nextjs Bun does not yet support NextJS.
- yolm 3y agoNot a question, but wanted to say: Great job!
- rcarmo 3y agoWhen are we getting UDP/dgram support?
- WuxiFingerHold 3y agoYours and the team's performance is so impressive. I'm not brave enough to use Bun in production yet, but count me in in a year or so ... great stuff.