惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
爱范儿
爱范儿
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
T
Tailwind CSS Blog
罗磊的独立博客
B
Blog
博客园_首页
A
About on SuperTechFans
有赞技术团队
有赞技术团队
V
V2EX
U
Unit 42
I
InfoQ
IT之家
IT之家
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
The Cloudflare Blog
H
Help Net Security

The Register

Shadow IT has given way to shadow AI. Enter AI-BOMs Zed team releases version 1.0 of Rust-built editor: Traditional editor and AI tool Microsoft boss tells investors the company is working to 'win back fans' What type of 'C2 on a sleep cycle' do they leave behind? Novel Chinese spy group found in critical networks in Poland, Asia NASA boss: Make Pluto A Planet Again GitHub says sorry and vows to do better as uptime slips and devs complain Age checks could turn internet into an ID checkpoint, complains Proton CEO Microsoft gives your Word documents an AI co-author you didn’t ask for Datadog digs down into GPU efficiency as AI costs soar If malware via monitor cables is a matter of national security, this might be the gadget for you Thunderbird in hand worth 2 Outlooks as fresh FOSS fave and Firefox arrive Grafana offers AI assistant for free, warns users not to go mad Right to repair champ Framework punts modular 13in laptop with Core Ultra Series 3 France's 'Secure' ID agency probes breach as crooks claim 19M records Scotland Yard can keep using live facial recognition on Londoners, say judges UK tribunal sends £2B claim accusing Microsoft of overcharging for licensing to trial Nation-states want to cause harm, not just steal cash - stop handing your cyber defenses to the cheapest contractor Murder, she wrote: Ex-FBI chief wants some ransomware crims charged with homicide Phone-to-satellite use goes into orbit, growing 25% in 8 months macOS ClickFix attacks deliver AppleScript stealers to snarf credentials, wallets The spaghettified DBMS chart that shows Oracle's crown is slowly slipping Yet another ex-ransomware negotiator admits turning rogue after payoff from crimelords FAA grounds Blue Origin's New Glenn as it probes missed satellite delivery 'mishap' AMD's Ryzen 9 9950X3D2 Dual Edition tested: Gratuitous overkill with a price to match AI-assisted intruders pwned Vercel via OAuth abuse and a pilfered employee account Crook claims to leak 'video surveillance footage' of companies Met police trials snoop tech platform in push to cuff more London shoplifters England's school phone ban gets teeth, just in time to bite no one Adaptavist Group breach spawns imposter emails as ransomware crew claims mega-haul Panasonic creates device-locked QR codes to speed facial biometric capture
Anthropic bakes memory fixes into Bun 1.1.13 as developer...
Tim Anderson · 2026-04-21 · via The Register

A new version of the Bun JavaScript runtime and toolkit is out with enhanced testing support and improved memory management. The latter is a critical issue to devs and follows complaints of memory leaks causing problems in production.

Bun, acquired by Anthropic in December 2025, is both a bundler for compiling TypeScript or JavaScript applications for the browser, and a runtime for server-side code. It competes with the long-established Node.js, latest version 25.9, and Deno, developed by Node.js creator Ryan Dahl. 

New features in 1.1.13 include improvements to the test runner, which is intended to be compatible with the popular Jest testing framework. This version introduces an isolate flag, which runs each test in a fresh environment, and a parallel flag, which runs concurrent tests across a user-defined number of processes. It is also now possible to split tests across multiple test runners with the shard flag, matching Jest's syntax.

Compression in Bun now uses zlib-ng (next generation), an optimized fork of zlib, and yielding up to five times faster compression without any other code changes.

But perhaps most important is the attention to memory issues in this release. Bun inventor Jared Sumner claims that the runtime uses 5 percent less memory, and that an upgraded memory allocator along with an implementation of Libpas scavenger returns unused memory to the operating system faster. According to Sumner, these two changes "reduce baseline memory usage and fix a class of hangs and crashes in long-running processes."

This is significant, as excessive memory use in Bun is a common complaint.

"Bun is not stable enough for production nor faster than Node in production," said one user on Reddit, for which he blamed memory leaks. Developers working with Bun as a toolkit may not notice this, but using it as a production runtime means "long running workloads amplifying problems that short benchmarks never reveal." 

Jay V, founder of OpenCode, whose product is an open source AI agent, said on X that "we are moving to Node and Electron, away from Bun and Tauri." Tauri is a Rust framework for cross-platform desktop applications. "Bun is not a good fit for apps with a large user base, you should just stick to Node," he added, citing memory issues, crashes, and "terrible Windows support."

That said, Bun is well liked for its speed and rich feature set, and not every deployment is problematic. "I've been very satisfied since I switched to Bun. It's fast and has a great standard library," said one user.

There are enough complaints though to suggest caution when using Bun in long-running processes, with reports like this one where GC (garbage collection) seems to be failing with certain functions, ending up with an OOM (out of memory) error.

Bun development has proceeded at high speed since its first production release in September 2023. Some users would prefer a slower pace of new features, in return for more focus on stability. ®