最新文章

今日新增 450 篇 · 共 7,530 篇 · 来自 241 个博客

V8··Darius Mercadier

Land ahoy: leaving the Sea of Nodes

AI 摘要V8's optimizing compiler Turbofan, long known for using the Sea of Nodes intermediate representation, has over the past three years been migrated to Turboshaft, a more traditional control-flow-graph-based IR, which now covers the entire JavaScript backend and the whole WebAssembly pipeline. The article recounts how Turbofan was created in 2013 to replace Crankshaft, explains how Sea of Nodes differs from a CFG by letting operations float freely via value, control, and effect edges, and details why the V8 team concluded its downsides outweigh its benefits. Key problems include that Sea of Nodes graphs are hard to visually inspect and reason about, and that too many nodes end up tied to the effect chain or requiring control inputs, undermining the flexibility the IR was supposed to provide.

Baby Steps·

Dyn async traits, part 10: Box box box

AI 摘要This article, a divergence from the author's 'Rust in 2025' series, explores the author's latest thinking on how to support dyn Trait for traits containing async functions in Rust. The core challenge is balancing Rust's ability to express high-level, productive code with its philosophy of revealing low-level details, which are in direct tension for async functions in traits. This continues a discussion the author began nearly four years earlier in the first post of the series.

Andrew Chen··Andrew Chen

DoorDash's v1 was 8 PDF menus on a static HTML website

AI 摘要Andrew Chen recounts how DoorDash's version 1 was merely 8 PDF menus on a static HTML website built in 45 minutes, using it as a springboard to examine the Minimum Viable Product (MVP) concept. He outlines common problems with MVPs—such as inconclusive tests, false negatives, the need for repeated relaunches, overreliance on metrics over customer insight, and categories like AI foundation models that require massive upfront investment. He concludes that MVPs are not a silver bullet and don't fit every market or stage, though he isn't wholesale rejecting the concept.

Raph Levien·

I want a good parallel computer

AI 摘要The article argues that GPUs, despite being 10-100x more powerful than CPUs, are prevented from becoming general-purpose parallel computers by an impoverished execution model and inadequate languages and tools, illustrated by the author's struggles with bounded memory in the Vello 2D renderer. Reviewing historical designs like the Connection Machine, Cell, and Larrabee, the author shows that promising parallel architectures existed but failed to catch on, leaving today's overly complex GPUs and limited AI accelerators. With workloads increasingly shifting toward compute, the author believes a simpler, more powerful parallel computer is possible and points to paths forward such as chips with large grids of CPU cores.

Clojure News·

Clojure Deref (Mar 21, 2025)

AI 摘要This Clojure Deref weekly roundup (March 21, 2025) highlights news and articles from the Clojure ecosystem, including Rama becoming free for production use and a series of Replicant posts on data-driven form processing. It also lists numerous new library and tool releases, such as ClojureDart, datalevin, pg2, Calva, Fulcro, FlowStorm Debugger, and squint.

Coding Horror··Jeff Atwood

The Road Not Taken is Guaranteed Minimum Income

AI 摘要In a speech at Cooper Union, the author reflects on the American Dream and describes their 'Stay Gold, America' pledge, which includes millions of dollars in charitable donations and a commitment to give away half their remaining wealth over five years. They argue that extreme wealth concentration has pushed America into a 'second Gilded Age,' blocking millions of people from a fair chance at the Dream. Pointing to precedents like Social Security, SSI, the Earned Income Tax Credit, and Stockton's guaranteed income pilot, they advocate Guaranteed Minimum Income as the most effective long-term solution and announce a new rural GMI initiative in partnership with GiveDirectly and OpenResearch.

Baby Steps·

Rust in 2025: Language interop and the extensible compiler

AI 摘要The article argues that Rust should aspire to serve as the new 'lingua franca' for interoperability between programming languages, a role long held by C, by making it easier to combine Rust with other languages in the same process. Rather than extending rustc with built-in knowledge of other languages, the author proposes investing in an 'extensible compiler' built on Rust's core premise of extensibility. This would let crate authors create ergonomic, efficient bridges between Rust and other languages, supporting Rust's goal of targeting foundational applications.

Casey Accidental··Casey Winters

Have You Ever Wanted to Jam With Me on a Problem? Preview My New Product to See How.

AI 摘要The author announces a preview of AI Profiles, a new feature from their startup that lets users chat by voice or text with an AI version of the author, grounded in all of their content such as blog posts, presentations, and podcasts. Users can ask business questions or use voice mode to brainstorm, with the AI offering clarifying questions, suggestions, and citations to source content rather than simply agreeing. This experimental preview is exclusive to Substack subscribers, may contain bugs, and the author welcomes feedback.

Steve Klabnik·

Does unsafe undermine Rust's guarantees?

AI 摘要The article argues that Rust's `unsafe` keyword does not undermine Rust's memory safety guarantees, because a language's semantics are distinct from the implementation code that carries them out, just as Ruby remains memory safe despite possible segfaults caused by interpreter bugs or C extensions. Every memory safe language necessarily relies on a small amount of trusted code—implementations interacting with hardware and foreign function interfaces—whose bugs fall outside the language's guarantees, whereas unsafe languages require trusting a large amount of code. Drawing on syllogisms, Hoare Logic, and Separation Logic, the author shows that assuming some code is safe is foundational to how we prove properties of programs, making Rust's small, explicit trusted code acceptable on a deep, not merely practical, level.

Trey Hunner··Trey Hunner

Django components: sometimes an include doesn't cut it

AI 摘要The article explores the problem that Django's {% include %} template tag cannot accept blocks of content, making it awkward to reuse templates like modals whose inner content varies. The author compares hacky workarounds (splitting includes into top/bottom parts), copy-pasting HTML, and Django component libraries, concluding that django-cotton provides a cleaner, more maintainable solution despite feeling somewhat 'magical.' Ultimately, a more elegant component tag would require Django's template language to support multi-line tags, which it currently does not.

Ethan Marcotte··Ethan Marcotte

Refresh.

AI 摘要The author announces the completion of a redesign of his book 'You Deserve a Tech Union,' which became necessary after his publisher closed and he reacquired the rights, agreeing to remove the publisher's branding. With help from collaborators like Ron Bilodeau and Jason Santa Maria, the refreshed version includes fixes to typos and errors plus a completely redone index, though it is not a new edition and its core message—that tech workers can build power together through unionizing—remains unchanged. The updated book is now available for purchase anywhere books are sold.

Ben Kuhn··Ben Kuhn

How I've run major projects

AI 摘要The author shares their playbook for running major, time-sensitive projects at Anthropic, arguing that excellent project management is a rare, high-leverage skill whose core principles apply broadly, not just in crises. Key practices include clearing one's schedule to focus fully on the project, maintaining a detailed concrete plan to detect trouble early, running the fastest possible OODA (observe-orient-decide-act) loop since information processing is usually the critical bottleneck, and overcommunicating so team members can make good autonomous decisions. Once a project grows beyond roughly 10 people, the author recommends delegating management of crisply-scoped subprojects to highly organized, goal-focused leaders rather than necessarily the strongest technical contributors.

Robin Rendle··Robin Rendle

Humiliation

AI 摘要The author quotes Johanna Hedva, who explains that she has remained an unabashed Nine Inch Nails fan because the band never humiliated or betrayed her the way other mainstream 1990s bands did by selling out or embracing embarrassing views. She feels that years of cult devotion have been vindicated as NIN re-emerged in the late 2010s as a bastion of uncompromising artistic vision, with Reznor and Ross refusing to compromise themselves.

Benedict Evans··Benedict Evans

What kind of disruption?

AI 摘要The article argues that although Uber and Airbnb are both classic examples of tech disruption, their actual effects on the taxi and hotel industries differed greatly due to differences in regulation, supply dynamics, and demand patterns. Disruption can take many forms—sometimes creating new demand rather than attacking an existing market, or only affecting peripheral parts of a business, as with Skype or online travel booking. The author concludes that it is far easier to proclaim 'disruption!' or 'AI!' than to carefully ask what kind of disruption is actually taking place.