Programming · Latest articles

29 new today · 2,698 articles · from 79 blogs

Nicholas Nethercote·

How to speed up the Rust compiler in September 2026

AI summaryThe article reports that the Rust compiler achieved a mean wall-time reduction of 4.57% between late July and late September 2026, with 555 of 629 benchmarks improving. Key contributors included enabling PGO for Clippy, upgrading to LLVM 23, optimizations for the new Polonius Alpha borrow checker and new trait solver, and numerous improvements from contributors like xmakro and the author, including a ~30% speedup for cranelift-codegen via a new CFG traversal algorithm. The author also notes they will soon start working at Hexcat on compiler performance optimization.

Martin Fowler··Martin Fowler

Bliki: Sensible Default

AI summaryA 'sensible default' is a practice that should be applied to a given task unless the specific context calls for something else, offering a deliberate alternative to the term 'best practice' since defaults can and should be overridden as circumstances change. The concept was popularized at Thoughtworks by Evan Bottcher, who got the phrasing from James Ross and described it as a known-good starting point—teams are expected to use these defaults or do better, and to explain any deviation. Thoughtworks regularly reassesses its defaults, publishing them in a playbook and through the Technology Radar, in line with the twelfth agile principle of regularly tuning and adjusting behavior.

Martin Fowler··Martin Fowler

Fragments: September 29

AI summaryThis post reflects on the risks of agentic AI, citing Simon Willison's view that coding agents demand extraordinary discipline and Harper Reed's experiment showing that an LLM given unlimited tokens became a highly persistent attacker. The author argues that rather than debating whether AI has consciousness, we should question why it lacks a conscience and hold LLM trainers strictly liable for their models' behavior, much like dog-owner liability laws. It also highlights Dan Davis's regulatory theses, contends that safety improvements are a form of progress rather than a slowdown, and notes that junior professionals remain valuable since coaching them deepens senior professionals' own expertise.

Swizec Teller·

Why I'm excited about Jev-like classifiers

AI summaryThe author is excited about Jev-like classifiers, demonstrating that Jev can find product recommendations much faster than Claude, with both relying purely on prompt engineering via API calls rather than training, large eval sets, or months of data collection. This speed advantage makes Jev dramatically cheaper, so much so that it can play a game in real time, where every key press corresponds to an API call that observes the game state and decides which key to press.

Armin Ronacher··Armin Ronacher

Deser: Rethinking Rust Serialization

AI summaryThe article introduces Deser, a Rust serialization library built to address structural limitations of Serde—such as lossy buffering for internally tagged enums and flatten, non-composable adapters, and stack-based recursion—through an event-driven sink/emitter architecture that keeps state on the heap in a driver. This design enables suspension of deserialization, arbitrary nesting without stack overflows, lossless buffering, an extensible data model, middleware layers, and composable adapters, though it deliberately excludes non-self-describing formats like protobuf and trades off some binary size and runtime performance. While the author doubts Serde can be truly replaced due to the orphan rule, Deser now supports all major self-describing formats (including XML) and is presented as a viable drop-in alternative or at least inspiration for exploring the design space.

Daniel Lemire··Daniel Lemire

simdjson 5.0 is out

AI summaryThe simdjson C++ JSON library has released version 5.0, making C++26 static reflection an officially supported feature and introducing key selectors that allow extracting fields from JSON objects in a single pass using compile-time perfect hashes. The release also adds annotations for automated serialization/deserialization, new stream formats (RFC 7464 sequences, newline-delimited, and slice_at for parallel parsing), big integer handling, and many smaller features like NaN/infinity support and narrow type accessors. Version 5.0 delivers notable performance gains, especially on number-heavy files (8-25% faster) and escaped Unicode content (nearly twice as fast), with faster serialization achieved by replacing Grisu2 with Dragonbox.

Glyph··Glyph

What Would A Serious AI Product Look Like?

AI summaryThe author argues that current AI chatbot products, from frontier labs to Ollama, fail to take their own limitations seriously by burying mistake disclaimers in fine print while offering users no tools to verify outputs, making the products feel like scams rather than genuine problem-solving tools. A serious AI product would instead treat mistake-checking and citation verification as first-class workflow features, present unmodified quotations with full metadata prominently while de-emphasizing AI-generated summaries, avoid first-person language and apologies, build task-specific structured interfaces, clearly mark data provenance, and expose reproducibility controls to users. Without these affordances, the author cannot take claims that these are trustworthy productivity tools seriously.

Marc Brooker·

Small Decisions: Engineering a Leading Model

AI summaryThe author, primarily an AI infrastructure and safety engineer, set out to learn model building by creating Hobson, a roughly 2-billion-parameter calibrated decision model that replaces the LM head of a pre-trained Qwen3.5-2B torso with a small pointer head, fine-tuned via LoRA and self-distillation on ~115k examples. The model achieved top-tier accuracy and calibration on JevBench in its size class, with low latency (~100ms p50 on a 3090), though generalization to unseen tasks remains a challenge and future work includes harder synthetic data and reinforcement learning. Key lessons were that head rearchitecture, a modern torso, and teacher-verified data drove the biggest gains, and that AI assistants made learning this domain far easier than it would have been a year or two ago.

Ned Batchelder··Ned Batchelder

Expert asterisks

AI summaryThe article describes the 'Expert Asterisk,' a common pattern in online help discussions where experts assisting beginners add obscure, rarely-used details and tangents that distract learners from their original questions. Using a git help exchange as an example, the author shows how such additions—while well-intentioned and potentially useful to advanced users—can derail a novice who lacks the context to sift important information from esoteric footnotes. The author advises experts to resist the urge to add tangents, instead focusing on understanding the beginner's actual situation and mindset so their help can truly be heard.

Julia Evans··Julia Evans

Replacing the old battery on rechargeable bike lights

AI summaryThe author repaired their decade-old rechargeable bike lights, which only held a charge for about 5 minutes, by replacing the lithium coin cell batteries (identified as LIR2477 with the help of an LLM). Following a desoldering guide and friends' advice, they removed the old batteries at a local queer makerspace, ordered replacements and silicone glue from AliExpress, soldered in the new batteries, and glued the lights back together. The repair succeeded—the lights now work for nighttime biking—and cost about $20 CAD total, which the author found rewarding despite having minimal electronics experience.

Daniel Lemire··Daniel Lemire

How fast can you fix a UTF-16 string in C#?

AI summaryThe article describes the addition of JavaScript-like String.prototype.toWellFormed() and isWellFormed() functionality to C# through the author's SimdUnicode library, which repairs ill-formed UTF-16 strings containing lone surrogates by replacing them with U+FFFD. Using SIMD instructions for data parallelism, the new implementation validates Latin text at up to 69 GB/s and emoji-heavy input at 53 GB/s on AVX-512 hardware, dramatically outperforming the conventional .NET approach based on IndexOfAnyInRange, which drops to 0.4 GB/s on surrogate-pair data. The SIMD-based repair function runs at roughly the same speed as a simple memory copy, with similar results shown on both Intel Xeon and Apple M4 Max processors.

Register Spill··Thorsten Ball

Joy & Curiosity #101

AI summaryThis newsletter edition reflects on how AI coding agents are upending the traditional value of programming languages and frameworks, prompted by DHH's Rails World keynote signaling that hand-writing code is over. The author argues that agent capability—not syntax, ergonomics, or personal enjoyment—is now the main productivity lever, shifting what matters toward performance, observability, and how legible a runtime is to an agent. The issue also collects links and commentary on topics like Thomas Dullien's 'age of experimentation' talk, a Peter Thiel interview, Martin Fowler's dislike of LLMs, and engineers leaving big companies to build new things.

Daniel Lemire··Daniel Lemire

A thesis isn’t enough for a PhD

AI summaryHistorically, earning a PhD effectively amounted to writing a thesis, since oral defenses rarely failed students whose dissertations were strong enough. However, because AI systems can now produce convincing thesis-like documents, the dissertation is no longer a reliable measure of a student's knowledge and independent achievement. The author notes that Harvard faculty have reached the same conclusion, recommending rigorous, regular, in-person evaluations by multiple faculty as the central component of PhD assessment.

Coding Horror··Jeff Atwood

If we do not stop to help each other, what do we become?

AI summaryThe article shares an email from a former Air Force engineer who, while deployed during the 2013 Zamboanga Siege in the Philippines and studying remotely, received crucial programming help from strangers on Stack Overflow after friends and family refused to assist him. He reflects that an LLM could have provided answers, but not the human connection and sense of mattering that came from people giving their time, and he mourns the hollowing out of such communities. The author concludes that we should cultivate our own online communities where we stop to help each other, asking what we become if we do not.

Real Python··Real Python

The Real Python Podcast – Episode #312: Navigating AI in Open Source: Insights From Wagtail

AI summaryThe Real Python Podcast Episode #312 features an interview with Thibaud Colas and Meagen Voss from Wagtail about how open-source projects should handle AI contributions. They discuss measuring the impact of AI development tools and which generative features end users want in a content management system. The conversation explores the complex considerations software organizations currently face around AI.

Daniel Lemire··Daniel Lemire

How many strings can you create per second?

AI summaryThe author benchmarks how fast different programming languages can convert integers to strings, storing results in a ring buffer to prevent the compiler from optimizing away the work, and reports results from an Apple M4 Max. C++ wins by a wide margin at about 184 million strings per second (5.4 ns each), thanks to the small string optimization that avoids heap allocation, while Python is the slowest at 44 ns per string. Garbage-collected runtimes like Go and JavaScript perform surprisingly well, matching heap-allocating compiled languages like Rust, Go, and Nim in the 12-16 ns range.

Glyph··Glyph

Who Is Open Source About?

AI summaryThis article pushes back against Rich Hickey's claim that 'open source is not about you,' arguing that open source involves an implicit, long-term exchange between maintainers and users with real ethical implications. It outlines the often unstated motivations maintainers have for releasing software—reputation, influence, skill improvement, and shared maintenance burdens—and suggests these benefits should be explicitly recognized, including in corporate accounting practices. Finally, it notes that some aspects of the relationship, such as the trust users place in maintainers not to ship malicious code, are obligations rather than transactions.

Martin Fowler··Martin Fowler

Fragments: September 24

AI summaryThe article collects three fragments: Rob Bowley argues the real AI risk is not a future superintelligence but today's AI being hastily wired into everything without knowing how to contain it safely, opening security holes like the Lethal Trifecta. It also endorses Nikita Prokopov's critique that syntax highlighting should use a minimal palette, since highlighting everything makes nothing stand out, a tip increasingly relevant as agentic engineering leads people to read more code. Finally, it discusses Vinoo Ganesh's view that Forward Deployed Engineers, despite the term describing wildly different jobs, exist to turn lessons from customer engagements into platform improvements rather than merely delighting individual accounts.