Live data from Hacker News

Bun has an open PR adding shared-memory threads to JavaScriptCore

github.com

1–10 of 330 posts

Re: Bun has an open PR adding shared-memory threads to JavaScriptCore

#4
post #3

Is there a human-authored description of the PR anywhere? How are there not race conditions all over the place?

It's substantially based on my design, read the blog post I wrote (linked in another comment here)

It's a very complex thing, but not impossible. I'm very impressed that any LLM can do this

Re: Bun has an open PR adding shared-memory threads to JavaScriptCore

#8
One of the biggest things preventing software like SQL DB's from being written in TypeScript is the lack of proper threading.

I genuinely think you could write a competitively-performant multi-threaded DB in Bun + TS if you had shared-heap threads and fast atomics/locking primitives.

Re: Bun has an open PR adding shared-memory threads to JavaScriptCore

#9
Imagine somebody doing a drive-by on your repo and dropping a 270k loc PR expecting you to merge it. Bonus points if they can't even put in the 0.001% smidgen of effort to write why they think the PR is useful or necessary in their own words. Oh, but we don't have to imagine it, because there are people who actually do that!

Re: Bun has an open PR adding shared-memory threads to JavaScriptCore

#10

Imagine somebody doing a drive-by on your repo and dropping a 270k loc PR expecting you to merge it. Bonus points if they can't even put in the 0.001% smidgen of effort to write why they think the PR is useful or necessary in their own words. Oh, but we don't have to imagine it, because there are people who actually do that!

The PR is against bun's fork of WebKit, not upstream.
Post reply on HN