最新文章

今日新增 449 篇 · 共 7,551 篇 · 来自 241 个博客

Bun Blog·

Bun v1.3.1

AI 摘要Bun v1.3.1 fixes 103 issues and delivers 2× faster bun build on macOS for symlink-heavy projects, along with improvements like source maps preserving legal comments and --format=cjs inlining import.meta. The update enhances bun test with global vi, --pass-with-no-tests, and --only-failures, while adding .npmrc :email auth support, faster installs when no peer deps exist, and selective hoisting for isolated installs. It also includes numerous bundler/transpiler fixes, reliability improvements across install/pm/pack and bunx, and Node.js compatibility enhancements.

Baby Steps·

Explicit capture clauses

AI 摘要The author introduces explicit capture clauses as one option in a series of posts exploring ergonomic explicit handle creation, following up on his previous post about Ergonomic Ref Counting. These clauses would allow closures to be annotated with an explicit set of captured places. The author believes they are an obvious improvement worth implementing, though they may not be sufficient on their own to achieve ergonomics, and further proposals will be explored in subsequent posts.

Baby Steps·

Move, Destruct, Forget, and Rust

AI 摘要This article proposes extending Rust with multiple kinds of destructors—a concept the author calls 'controlled destruction'—which would enable async drop, prevent values from being forgotten or leaked, allow destructors that take arguments, and support parallel async scoped tasks. The author argues this is necessary for Rust to fulfill its goal of providing safe versions of critical systems programming patterns. Ultimately, this proposal aims to complete the 'async dream' in which async Rust and sync Rust function roughly the same way.

Jake Archibald·

Importing vs fetching JSON

AI 摘要JSON module imports are now supported across all major browsers, but the author argues they shouldn't be used as a blanket replacement for fetch() in browser environments. Imported modules are cached for the lifetime of the page and failures take down the entire module graph with limited error introspection, risking memory leaks when dynamically importing data like API responses. JSON module imports are best suited for local static resources bundled at build time, while fetch() remains preferable for runtime fetching due to its superior garbage collection and error handling.

Steve Klabnik·

I see a future in jj

AI 摘要Steve Klabnik explains why he believes the jj version control system has a bright future, drawing parallels to his early 2012 decision to bet on Rust: jj has strong market fit through its Git compatibility enabling incremental adoption, a dedicated and experienced team, and a growing user base that includes Google and Oxide. He also announces that he is leaving Oxide to join a new company, ERSC, which will build a developer collaboration platform on top of jj.

Marc Brooker·

Fixing UUIDv7 (for database use-cases)

AI 摘要The article examines criticisms of UUIDv7 (RFC9562)—including timestamp leakage, reduced entropy, correlated behavior across installations, and awkward UI presentation—while acknowledging why it remains popular for database insert performance via index locality. The author proposes modifying UUIDv7 by XORing the unix timestamp with a keyed hash of an infrastructure identifier and a truncated timestamp, creating a tunable trade-off between ID spread and database cache locality. This approach preserves most of UUIDv7's database performance benefits while avoiding its major downsides, though it arguably violates the spirit of the RFC.

Clojure News·

Clojure Deref (Oct 21, 2025)

AI 摘要This edition of the Clojure Deref, a weekly news and link roundup for the Clojure ecosystem, covers three weeks of community activity. It highlights upcoming events such as Macroexpand 2025 and Clojure/Conj 2025, along with numerous podcasts, videos, and blog posts on topics like ClojureScript, clojure.spec, and Datomic deployment. It also lists an extensive set of new library and tool releases, including Clojure 1.12.3, core.async, babashka, malli, and many others.

Gleam News··Louis Pilfold

Formalising external APIs

AI 摘要Gleam v1.13.0 has been released, introducing a formalised external API for JavaScript code to safely construct and interact with Gleam data types, alongside a new guide on correctly writing external functions without relying on internal compiler APIs. The release also brings compiler improvements including interference-based pruning that drastically reduces compile times for bit array pattern matching, warnings for unreachable bit array patterns and unused recursive function arguments, and expanded fault-tolerant analysis for the language server. Additional refinements include a better error message for private opaque types with a quick-fix action, deprecation of redundant `_ as x` pattern aliases, new warnings for inefficient uses of `list.length`, and a helpful syntax error for JavaScript developers who mistakenly use `const` inside functions.

Ken Shirriff··Ken Shirriff

Solving the NYTimes Pips puzzle with a constraint solver

AI 摘要The author describes using the MiniZinc constraint modeling system to solve the New York Times' new daily Pips puzzle, expressing the puzzle's domino-placement rules as constraints rather than procedural code and finding that solvers were easy to learn and typically produced solutions in milliseconds. However, they encountered complications such as the solver generating thousands of technically-valid but unwanted solutions, cryptic 'unsatisfiable' results when constraints contained mistakes, and unpredictable performance that varied widely depending on the solver backend (e.g., switching from Gecode to Chuffed). The article concludes with an explanation of how constraint solvers work internally, using search trees, backtracking, variable-ordering heuristics, and constraint propagation to prune the exponential search space.

React Blog··Matt Carroll and Ricky Hanlon

React Conf 2025 Recap

Last week we hosted React Conf 2025, in this post, we summarize the talks and announcements from the event...

A List Apart··Mark Bernstein

Design for Amiability: Lessons from Vienna

AI 摘要The article uses the Vienna Circle (1928-1934), a group of philosophers, mathematicians, and scientists whose weekly discussions laid foundations for computing, as a case study in how community design can foster amiability among brilliant but difficult and disagreeable people. It attributes their conviviality to the Viennese café culture—with its flattering formality, low entrance friction, permeable boundaries, and the gentle social sanction of parody by humorists—and draws eight design principles for online communities: seriousness, empiricism, abstraction, formality, 'schlamperei,' openness, parody, and engagement. The era ended tragically in 1934 when Vienna's socialist government fell, forcing the Circle's members to flee, underscoring how precious and fragile such amiable environments are.