Earlier quoted context omitted.
Surely you jest
I wrote the comment while waiting on a 50min rust build pipeline
Anthropic acquires Bun
981–990 of 1001 posts
Re: Anthropic acquires Bun
#982Earlier 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)?
Re: Anthropic acquires Bun
#983Re: Anthropic acquires Bun
#984I 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?
Re: Anthropic acquires Bun
#985Earlier 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
Re: Anthropic acquires Bun
#986Earlier 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?
(It was reverted after the situation gained visibility, as is tradition.)
Re: Anthropic acquires Bun
#987Re: Anthropic acquires Bun
#988Earlier 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.
Re: Anthropic acquires Bun
#989Earlier 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?
Re: Anthropic acquires Bun
#990Earlier 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