I work on Bun. Happy to answer any questions
Anthropic acquires Bun
581–590 of 1001 posts
Re: Anthropic acquires Bun
#582Re: Anthropic acquires Bun
#583Earlier quoted context omitted.
I'm sort of surprised to see that you used Claude Code so much. I had a vague idea that "Zig people" were generally "Software You Can Love" or "Handmade Software Movement" types, about small programs, exquisitely hand-written, etc, etc. And I know Bun started with an extreme attention to detail around performance. I would have thought LLM-generated code would run a bit counter to both of those. I had sort of carved t…
> I had a vague idea that "Zig people" were generally "Software You Can Love" or "Handmade Software Movement" types, about small programs, exquisitely hand-written, etc, etc. In my experience, the extreme anti-LLM people and extreme pro-vibecoding people are a vocal online minority. If you get away from the internet yelling match, the typical use case for LLMs is in the middle. Experienced developers use them for som…
Re: Anthropic acquires Bun
#584Earlier quoted context omitted.
I haven't used Deno, but I do use Bun purely as a replacement for npm. It does the hard-linking thing that seems to be increasingly common for package managers these days (i.e. it populates your local node_modules with a bunch of hard links to its systemwide cache), which makes it vastly quicker and more disk-efficient than npm for most usage. Even with a cold cache, `bun install` with a large-ish dependency graph is…
IIRC bun zig code base has a lot of fine optimization too. I think the lead did a conference explaining his work. Or maybe i'm confused.
Re: Anthropic acquires Bun
#585I work on Bun. Happy to answer any questions
Re: Anthropic acquires Bun
#586Genuine question: why js? Why not something like c#: native, fast, crossplatform, strongly-typed, great tooling, supports both scripting (ie single file-based) and compiled to a binary with no dependency whatsoever (nativeAOT), great errors and error stacks, list goes on. All great for AI to recover during its iterations of generating something useful. Genuinely perplexed.
If I was to pick a language, I'd pick the one all developers agree is the best.
Re: Anthropic acquires Bun
#587I work on Bun. Happy to answer any questions
Re: Anthropic acquires Bun
#588As someone who have been using Deno for the last few years, is there anything that Bun does better? Bun seems to use a different runtime (JSC) which is less tested than V8, which makes me assume it might perform worse in real-world tasks (maybe not anymore?). The last time I checked Bun's source code, it was... quite messy and spaghetti-like, plus Zig doesn't really offer many safety features, so it's not that hard t…
I haven't used Deno, but I do use Bun purely as a replacement for npm. It does the hard-linking thing that seems to be increasingly common for package managers these days (i.e. it populates your local node_modules with a bunch of hard links to its systemwide cache), which makes it vastly quicker and more disk-efficient than npm for most usage. Even with a cold cache, `bun install` with a large-ish dependency graph is…
Faster install and less disk space due to hardlink? Not really all that important to me. Npm comes with a cache too, and I have the disk space. I don't need it to be faster.
With the old-school setup I can easily manually edit something in node_modules to quickly test a change.
No more node_modules? It was a cool idea when yarn 2 initially implemented it, but at the end of the day I prefer things to just work rather than debug what is and isn't broken by the new resolver. At the time my DevOps team also wasn't too excited about me proposing to put the dependencies into git for the zero-install.
Re: Anthropic acquires Bun
#589A lot of people seem confused about this acquisition because they think of Bun as a node.js compatible bundler / runtime and just compare it to Deno / npm. But I think its a really smart move if you think of where Bun has been pushing into lately which is a kind of cloud-native self contained runtime (S3 API, SQL, streaming, etc). For an agent like Claude Code this trajectory is really interesting as you are creating…
Isn't what you're describing just a set of APIs with native bindings that the LLM can call? I'm not sure I understand why it's necessary to even couple this to a runtime, let alone own the runtime? Can't you just do it as a library and train/instruct the LLM to prefer using that library?
Re: Anthropic acquires Bun
#590Earlier quoted context omitted.
Java can run anywhere too
Not in the browser, and no – webassembly doesn't count, otherwise you can say the same about Go and others.