SShortSingh.
Back to feed

Bun 1.4 Rust rewrite delivers 60% faster startup and 46% lower memory use

0
·1 views

Bun 1.4, released on 20 August, is the first stable version built on a new Rust-based core, replacing the Zig runtime used since version 1.0. Independent benchmarks comparing Bun 1.3.14 and 1.4.2 on the same machine found script startup time dropped from a median of 10.54ms to 4.22ms, a roughly 60% improvement. Idle memory consumption also fell significantly, averaging 34.9MB on the older version versus 19.0MB on the new one, a 46% reduction. Throughput testing with 50 concurrent connections showed the new version handled approximately 2.15 times more requests per second. However, the release notes' claim of 5x less idle CPU was not fully supported by measurements, which showed a 2.5x reduction instead.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Opinion: Are AI Companies Overhyping Replacement Fears to Sell Products?

A Hacker News user has argued that AI companies are deliberately stoking fears of human replacement to market their products. The author contends that while AI can perform reasoning tasks, it cannot replicate the full depth of human knowledge, most of which is never recorded or shared as data. Humans are said to possess unique capabilities such as cross-domain thinking, intuition, and inspiration that machines cannot replicate. The post suggests that AI systems are fundamentally limited because they only train on a small fraction of human experience and knowledge. The opinion piece, which attracted minimal engagement, invites the community to share their views on whether AI displacement fears are being manufactured or are genuinely warranted.

0
ProgrammingDEV Community ·

Thai AI Models Outperform Global Rivals on Local Tasks but Lag in Reasoning

A September 2026 analysis by Nokka on DEV Community examines where Thai-developed AI models hold advantages over global frontier models and where they fall short. Thai models perform better on tasks like handwriting recognition, Thai legal citation, Isan dialect speech, and culturally nuanced phrasing, largely because they were trained on locally relevant data. However, global models significantly outperform Thai counterparts in complex multi-step reasoning, coding, and broad general knowledge, partly due to their much larger parameter counts ranging into the hundreds of billions. The parameter gap reflects a structural economic constraint, as training large models requires tens of thousands of GPUs that small Thai teams cannot afford. The author concludes that the most practical approach is combining both: Thai models for language- and culture-specific tasks, and global models where raw capability is essential.

0
ProgrammingDEV Community ·

Web Cache Poisoning: How Attackers Exploit Cache Key Mismatches to Serve Malicious Content

Web cache poisoning is a security vulnerability that arises from a mismatch between how a cache identifies requests and how the origin server generates responses. Caches use a 'cache key' — often just the URL path — to decide whether a stored response can be reused, while origin servers may factor in additional request data such as headers or query parameters. An attacker can exploit this gap by sending a request with malicious input that influences the origin's response but is excluded from the cache key, causing that tainted response to be stored. Subsequent legitimate users requesting the same URL then receive the attacker-controlled response directly from the cache. Critically, the cache itself is not compromised — it behaves as designed, making the attack difficult to detect through standard cache monitoring.

0
ProgrammingDEV Community ·

How AI-Powered Analytics Is Replacing Traditional Business Intelligence in 2026

Businesses have long relied on manual dashboards and periodic reports to interpret data, but this approach struggles with growing data volumes and slow insight delivery. AI-powered analytics replaces that pipeline by combining machine learning, natural language processing, and automation to analyze data and generate insights without manual intervention. Unlike traditional tools that only describe past events, AI analytics can explain why something happened, predict future outcomes, and recommend actions. A typical AI analytics system moves data through collection, processing, storage, and modeling stages before surfacing results as actionable business insights. The shift represents a fundamental change from analytics as a reporting function to analytics as an intelligent decision-making system.

Bun 1.4 Rust rewrite delivers 60% faster startup and 46% lower memory use · ShortSingh