I know a ton of people absolutely hate this level of "LLM code + LLM PR description + LLM PR review" but my boss would have an orgasm if I was able to use AI half as well in our org... :/
Bun has an open PR adding shared-memory threads to JavaScriptCore
11–20 of 330 posts
Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#12Imagine 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.
Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#13One 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
#14Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#15I love the idea of experimentation and innovation; I abhor the idea of it being dependent on Anthropic and their theft. I've never rooted for the Chinese labs more strongly than after seeing this.
Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#16One 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.
> …competitively-performant… Care to explain competitively to what?
Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#17Its so well contained I never need to look outside its ecosystem for basic components. It's a true "Batteries Included" runtime.
Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#18This is terrifying. Evidently based on prior art by Mr. Pizlo – indeed, where's the acknowledgement of that?? (edit: I missed it) – but I'm assuming that was never translated into code. I love the idea of experimentation and innovation; I abhor the idea of it being dependent on Anthropic and their theft. I've never rooted for the Chinese labs more strongly than after seeing this.
Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#19This is terrifying. Evidently based on prior art by Mr. Pizlo – indeed, where's the acknowledgement of that?? (edit: I missed it) – but I'm assuming that was never translated into code. I love the idea of experimentation and innovation; I abhor the idea of it being dependent on Anthropic and their theft. I've never rooted for the Chinese labs more strongly than after seeing this.
The acknowledgement is in the PR description, section "The design, and what it's based on".
Re: Bun has an open PR adding shared-memory threads to JavaScriptCore
#20One 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.
…but why? JS/TS does not seem like the right tool for the job?