News for hackers. Stuff that matters.

nowaymo6237

The owner of Bun should at least pledge like $35
Re:The missing standard library for multithreading in JavaScript on Saturday December 06, 2025 @10:34AM (#46174118)
It usually came from serializing and deserializing objects which here it’s a shared json buffer? But even then there’s a serialization bottleneck right? You’d have to be mindful about how the context and closures work across boundaries. Then there’s also spinning up the workers, but I suppose you could do this ahead of time. Maybe my complaint is self-inflicted and is ultimately avoidable - but the complexity begins to mount.

There’s also the queuing and blocking nature of web-workers, I wish they could asynchronously process messages the same way js IO works, but that’s not the case. Rather you are batching full units of work. The mental model is different.

Anecdotally in Firefox I must have run into some memory leak issues and had to hard restart.

Ultimately I ended up going with service workers, which yes sounds strange but I found to be much easier to work with. Cancellable requests, async, long living in the background … but maybe it just works best for me ;)

Re:The missing standard library for multithreading in JavaScript on Saturday December 06, 2025 @07:17AM (#46172746)
I’ve played around with webworkers and just could never seem to get over the latency issues
Damn, funny now seeing this when they were blaming immigrants instead of the lax standards due to aggressive lobbying. “Every. Damn. Time”
Brazen 4th amendment violation
Re:Show HN: I made a fireplace for your wrist (and widgets) on Thursday November 20, 2025 @10:57AM (#45994000)
Are the in app purchases for logs?
Re:The disguised return of EU Chat Control on Friday November 14, 2025 @01:23PM (#45929979)
Privacy needs codified! The illusion of safety is not worth it for the fascist regime who turn keys it into a panopticon.
Re:From web developer to database developer in 10 years on Friday November 07, 2025 @10:37AM (#45847507)
In the era of LinkedIn, Ted talks and podcasts it’s always good to have a narrative of who you are and your journey to your successful endeavors
Nice to see the post 9/11 digital surveillance and beyond finally get its usage by a fascist takeover
Nestjs is popular so there must be something to it. The problem is the complexity. Once you get a certain amount of complexity and meta programming in js you get significant slowdowns. Abstractions are expensive. Also the decorators and DI are weird
Yes, it’s good, but not nearly as batteries included as it needs to be. Also all the dependencies move separately from each other in development
Re:Why I Chose Elixir Phoenix over Rails, Laravel, and Next.js on Thursday October 16, 2025 @12:14PM (#45607243)
As much as I love node and typescript i am forever bummed it never achieved a railsy or Laravellian framework
Unoccupied driverless vehicles need taxed. In the same way you have HOV lanes, the inverse should pay.