Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
The AI cost of JavaScript frameworks
Artificial Intelligence · Frontend · JavaScript · Performance · AI Agents
A benchmark of AI agents building the same Pokémon app across 12 JavaScript frameworks found substantial differences in cost, code size, and client-side JavaScript, but nearly identical Lighthouse quality scores.
Across 3–5 runs, Hono+htmx was cheapest ($2.67) and smallest (1,370 lines), while Angular was most expensive ($4.97), slowest, largest (2,009 lines), and highest in JavaScript bytes. Astro delivered 0–1 KiB of JavaScript and perfect Lighthouse scores. Results were stochastic and favored MPA architectures.
llama : add a GPU cache for MoE experts kept in host memory by am17an · Pull Request #29887 · ggml-org/llama.cpp
Artificial Intelligence · C · C++ · Large Language Models · Performance
llama.cpp adds a GPU cache for MoE experts stored in host memory.
MUL_MAT_ID operations on host experts run on the GPU through an LRU cache, so only misses are uploaded; it targets batches of up to 32 tokens, while larger batches use regular offload, and different expert layouts get separate banks. Enable it with --moe-cache-mib N; tests found 10% of total expert size effective. On Qwen3.8-Flash-Next Q4_0, speedups reached 1.62x on RTX 4090 and 2.20x on RTX 5090.
Shlemiel the Painter Is Back: How Zig’s libc Rewrite Made SQLite Slower
Algorithms · Backend · Performance · SQLite
A Zig libzigc rewrite of C string functions caused SQLite JSON ingestion to become dramatically slower in a Rust chess-analysis service.
When zig cc compiled SQLite for Linux, rewritten strspn, strcspn, strpbrk, and strstr repeatedly measured the remaining string length during tokenization, creating quadratic behavior. Processing about 40,000 records took minutes, and tokenizing a 1.2 MB file was approximately 12,000 times slower. Whitespace pruning helped, while moving Linux builds to containers avoided the issue.
DuckDB v2.0 “Cyanoptera,” arriving this fall, expands DuckDB from an in-process database into a server-capable analytical platform.
Key updates include Quack/CONNECT, first-class VARIANT, triggers, a new SQL parser and storage format, asynchronous I/O, major query and partition-pruning improvements, native timezone support, and a stable C API for portable, signed extensions.
Cerebras and OpenAI introduced Ultrafast, a limited-preview OpenAI API tier running GPT-5.6 Sol at up to 750 output tokens per second.
Benchmarks claim comparable quality with major speedups, including nearly 7× on Humanity’s Last Exam and 5.6× on GDP-Val. Cerebras attributes performance to its Wafer-Scale Engine and on-chip SRAM, targeting high-stakes agent workflows.
15M web servers on one VM – smoltcp, DPDK, AF_XDP
Backend · Linux · Low-Level Programming · Performance · Operating Systems
Running 15 million web servers on one 10GB, one-core VM requires replacing Linux’s per-socket overhead with a custom runtime and userland networking.
A kernel socket consumes roughly 3,300 bytes, causing out-of-memory near 2.5 million servers. Using LFI isolation, a scheduler, and smoltcp over DPDK or AF_XDP, the proof of concept reached 16 million servers, using about 620 bytes per idle server and roughly 1KB per active one; DPDK performed best, with AF_XDP close behind.
Prism ML introduced Ternary Bonsai 2.5 27B, a 5.9 GB upgrade based on Qwen3.8 27B for stronger agentic coding, multi-turn tool use, and multi-step execution on local devices.
Compared with Ternary Bonsai 2, it completes tasks with fewer turns and tokens while improving accuracy. It scores 75.6 on SWE-bench Verified and 90.5 on AppWorld, and reaches 291 tokens/s on an NVIDIA H100. It runs on NVIDIA, Intel, and Apple hardware under Apache 2.0.
Researchers from Stanford and UC Berkeley Introduce TokenGate: Token-Gated Attention Makes Long-Context Prefill Up to 11.3x Faster
Artificial Intelligence · Deep Learning · Large Language Models · Machine Learning · Performance
Stanford and UC Berkeley researchers released TokenGate, a drop-in module that adds learned token pruning to pretrained LLMs for long-context prefill.
An MLP gate scores document tokens, keeps the top-K, and uses token-gated attention to make selection trainable; questions remain unpruned. On Qwen3 models and five tasks, it delivered 1.4x–11.3x faster TTFT and 1.5x–3.4x lower peak memory, while retaining accuracy, and also supported hybrid Qwen3.5-2B attention.
In 27,280 coding agent runs, 64% of inference spend went to runs that failed
Artificial Intelligence · Large Language Models · Performance · AI Agents · LLM Benchmarks
FrontierHarness Eval v1.1 tested 22 harness configurations across five models, 62 tasks and 27,280 runs using 83B tokens.
The best-value harness changed by model, with cost rankings shifting substantially; 64.5% of inference cost went to failed or timed-out trials. Models explained 92.8% of cost variation, while harness effects remained significant, mainly through the number of agent steps rather than prompt size, tool count or cache hit rate. Higher cost did not consistently improve pass rates.
In this article, Mitchell Hashimoto explains how he diagnosed and fixed a significant memory leak in Ghostty, a terminal emulator.
The issue, which caused memory usage to reach as high as 37 GB, was rooted in a data structure called the PageList and a specific scrollback optimization logic. Specifically, when the terminal resized non-standard memory pages back to standard sizes, it failed to release the underlying large allocations via munmap. This bug was particularly exposed by modern CLI tools like Claude Code. Hashimoto resolved the leak by ensuring non-standard pages are properly destroyed and introduced macOS Mach kernel VM tags to better monitor memory allocations in the future.
Progressive JPEGs use multiple scans to render low-resolution previews before full quality.
By concatenating DC-only scans, one can create animated JPEGs. While decoders limit the number of scans to prevent exploits, researchers found a way to pack extensive frame sequences into a single file, effectively creating functional, albeit network-dependent, video playback within a standard image.
The Roc language team successfully rewrote their 300,000-line Rust compiler into Zig, reaching feature parity.
The transition was driven by a need for granular memory control, faster build times, and an architecture better suited to their specific language needs, such as polymorphic defunctionalization and lambda set specialization. This milestone enables advanced features like hot code loading and improved cross-compilation without sacrificing stability.
MAI Code 2 and Code 2 Flash
Artificial Intelligence · Large Language Models · Performance · Marketing · LLM Benchmarks
Microsoft introduced MAI Code 2 and MAI Code 2 Flash for everyday enterprise coding.
Across four benchmarks, Code 2 achieves 98% of GPT 6.1 Sol’s performance at 40% of the cost and 96% of Claude Opus 5.5’s at 5%; reviewers preferred its frontend results over GPT-6 Sol 67% of the time. Flash targets high-volume routine work at 65% of GPT-6 Luna’s and 20% of Claude Haiku 5.5’s cost. Both are available in GitHub Copilot.
FEX explains why emulating x86-TSO on ARM remains difficult: ARM’s weaker ordering, alignment rules, split-lock atomicity, and write-combine memory create severe performance and correctness problems.
Newer LRCPC/LSE2 features, Apple’s hardware TSO mode, Qualcomm’s coherent cachelines, kernel patches, and UMA workarounds help, but full split-lock and uncached-memory support still require architectural improvements.
Unsloth released local GGUF and MLX support for Qwen4-35B-A3B, a 35B-parameter MoE model with 3B active parameters, vision, agentic coding, and a native 1M-token context.
Its Engram lookup table can remain on SSD, reducing memory requirements to about 17.2–19.4 GB for 3-bit weights with the table on disk. Unsloth Desktop manages Engram and multi-GPU setups, while built-in MTP accelerates inference. Official scores include 61.8 on DeepSWE v1.1 and 21.2 on Terminal-Bench 4.1.
Unmodified 748B DeepSeek-v4.1-Flash on one RTX 4090
Artificial Intelligence · Hardware · Large Language Models · Performance · LLM Benchmarks
An unmodified 748B DeepSeek-v4.1-Flash ran interactively on one RTX 4090 using the official FP8 + MXFP4 weights, generating a 6,862-token animated SVG in 91.61 seconds at 78.76 decode tok/s, with 22.7 GiB VRAM used.
On the same system, it retrieved three exact values from a 127,993-token log with thinking enabled, after a 196.90-second first-token delay. The results demonstrate large-model inference and long-context retrieval on a single consumer GPU.
A browser-only demo runs local language models on your GPU to compare direct option probabilities from logits with probabilities generated token by token as JSON.
It benchmarks accuracy, latency, model size, and quantized performance across Qwen3 and MiniCPM5 models. Weights stay cached in the browser, and inputs never leave the page.
ChartGPU is a high-performance TypeScript charting library that leverages WebGPU to deliver smooth, interactive rendering for large datasets.
It supports various visualization types like line, bar, scatter, and candlestick charts, offering features such as streaming data updates, crosshair synchronization, and React bindings for modern web development.
Project Valhalla arrives in JDK 28 as a preview feature, introducing value classes to Java.
This update allows for memory-efficient, flat layouts by removing object identity, bridging the performance gap between primitives and classes. While it marks a fundamental shifts in JVM memory management, full features like non-nullable types and specialized generics are planned for future releases.
A database migration caused significant replication lag on May 12, 2026, leading to delayed Code Scanning, notifications, and webhooks processing.
The issue, which lasted several hours, was resolved by scaling up processing workers. Future measures include creating dedicated worker pools for high-usage queues to maintain system stability and performance.