Bun has an open PR adding shared-memory threads to JavaScriptCore
1–10 of 330 posts
Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#2https://webkit.org/blog/7846/concurrent-javascript-it-can-wo...
Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#3How are there not race conditions all over the place?
Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#4Is there a human-authored description of the PR anywhere? How are there not race conditions all over the place?
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
#5Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#6Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#7Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#8I 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
#9Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#10Imagine 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!