Live data from Hacker News

Anthropic acquires Bun

bun.com

981–990 of 1001 posts

Re: Anthropic acquires Bun

#982

Earlier quoted context omitted.

> This is a non sequitur. Both Rust and Zig and any other language has the ability to end in an exception state. There are degrees to this though. A panic + unwind in Rust is clean and _safe_, thus preferable to segfaults. Java and Go are another similar example. Only in the latter can races on multi-word data structures lead to "arbitrary memory corruption" [1]. Even in those GC languages there's degrees to memory s…

> A panic + unwind in Rust is clean and _safe_, thus preferable to segfaults Curious about safety here: Are kernel / cross-thread resources (ex: a mutex/futex/fd) released on unwind (assuming the stack being unwound acquired those)?

Good question. For fds their Drop implementation closes them, yes. Rust Mutexes will be poisoned on panic (not unlocked). Not sure about futexes.

Re: Anthropic acquires Bun

#983
post #852

Earlier quoted context omitted.

Anywhere where the correct Java version is installed correctly, important caveat

You can just supply a minimized runtime for your program, which is the primary way to ship Java programs for quite some time now.

Are you a Java dev by any chance?

Re: Anthropic acquires Bun

#984
post #717

I am more shocked about the origin story compared to the acquisition. > Almost five years ago, I was building a Minecraft-y voxel game in the browser. The codebase got kind of large, and the iteration cycle time took 45 seconds to test if changes worked. Most of that time was spent waiting for the Next.js dev server to hot reload. Why in the hell would anyone be using Next.js to make a 3D game... Jarred has always se…

> He could've saved so much time and avoided building a whole new runtime by simply not using the completely wrong tool for the job. True, but where is the fun in that?

Where is the fun in next.js?

Re: Anthropic acquires Bun

#985
post #537

Earlier quoted context omitted.

Yea, they just posted this a few days ago: https://www.anthropic.com/engineering/advanced-tool-use They discussed how running generated code is better for context management in many cases. The AI can generate code to retrieve, process, and filter the data it needs rather than doing it in-context, thus reducing context needs. Furthermore, if you can run the code right next to the server where the data is, it's all tha…

Java can run anywhere too

On 3 billion devices

Re: Anthropic acquires Bun

#986

Earlier quoted context omitted.

I mean if you're getting X number of users per day and you don't need to pay for bandwidth or anything, there's gotta be SOME way to monetize down the line. If your userbase or the current CEO likes it or not.

Ads. Have you seen the dotenv JavaScript package?

And don't forget when Caddy was putting ads in your servers via a `Caddy-Sponsors` header.

(It was reverted after the situation gained visibility, as is tradition.)

Re: Anthropic acquires Bun

#988
post #886

Earlier quoted context omitted.

Under "Programmatic Tool Calling" > The challenge > Traditional tool calling creates two fundamental problems as workflows become more complex: > Context pollution from intermediate results: When Claude analyzes a 10MB log file for error patterns, the entire file enters its context window, even though Claude only needs a summary of error frequencies. When fetching customer data across multiple tables, every record ac…

Claude Code moved to partial file reads over the summer. Super premature optimization. It’ll hallucinate what lines it needs to read, it’ll continuously miss critical context in favor of trimming tokens. Luckily we can now hook and force the agent to read full files at least once.

I've had it happen almost every time I try to give them another shot. It presents a snippet of my code, claims there's a bug due to an unhandled edge case, and completely miss the (literally) very next line that specifically handles the edge-case it mentioned.

Re: Anthropic acquires Bun

#989
post #852

Earlier quoted context omitted.

You can just supply a minimized runtime for your program, which is the primary way to ship Java programs for quite some time now.

Are you a Java dev by any chance?

I'm a dev. I don't know, I'm using a bunch of different languages, Java being one of them and I find it a very good fit for typical backend requirements.

Re: Anthropic acquires Bun

#990
post #268

Earlier quoted context omitted.

Does it have permission flags yet like deno has?

I’ve never understood the security utility of the Deno flags. What practical attack would they protect you from? Supply chain seems to be the idea, but how many npm packages do people use that neither: * Get run by devs with filesystem permissions * Get bundled into production

Not all applications need file system access during runtime.
Post reply on HN