最新文章

今日新增 431 篇 · 共 7,489 篇 · 来自 241 个博客

Bun Blog·

Bun v1.1.7

AI 摘要Bun v1.1.7 fixes 28 bugs and includes several Node.js compatibility improvements. The release adds support for glob workspace names in bun install, asymmetric matcher support in expect.extends() equals, and a bunx --version flag. It also delivers bugfixes for JSX transpilation, sourcemaps, cross-compilation of standalone executables, bun shell, RegExp, and Worker on Windows.

Baby Steps·

Unwind considered harmful?

AI 摘要The author argues that Rust should deprecate panic=unwind, observing that most production users either compile with panic=abort or use unwinding only in a limited way for cleanup rather than true recovery. Removing unwinding in most cases would enable interesting extensions to the type system and eliminate a common source of subtle bugs. However, the author does not propose removing unwinding entirely, since that would conflict with stability guarantees and Rust's mission to deeply integrate with other languages and systems.

Svelte Blog·

What’s new in Svelte: May 2024

AI 摘要The May 2024 Svelte update covers Svelte Summit Spring 2024, where Rich Harris announced that Svelte 5 has officially entered the Release Candidate stage. Pre-release highlights include hot module reloading support, global style definitions, a new $host rune, a reactive URL object, and more efficient compiled code. The post also features community showcase projects, learning resources, and new libraries and tools built with Svelte.

Hillel Wayne·

Software Friction

AI 摘要The article applies Clausewitz's military concept of 'friction'—the gap between plans and reality—to software development, where countless small disruptions like bugs, changing requirements, broken tooling, and absent teammates compound over time and scope. The author argues friction is inevitable and cannot be fully anticipated, but it can be reduced through smaller scopes and shorter iterations, autonomy, redundancy, better planning, automation, experience, gaming, and checklists, each with its own trade-offs. He concludes by posing open questions about categorizing friction, how other fields handle it, and how to balance friction mitigation against efficiency.

Svelte Blog·

Svelte 5 Release Candidate

AI 摘要Svelte 5 has entered the Release Candidate phase, meaning its design is largely settled with no anticipated breaking changes before the stable release, though it is not yet production-ready. Key features include runes (a signal-powered reactivity API), overhauled event handling, snippets for better component composition, and native TypeScript support. Existing Svelte 4 components will continue to work with only a few exceptions, users are encouraged to migrate incrementally (with a migration CLI tool planned), and the stable release will arrive once the work and documentation are complete.

Benedict Evans··Benedict Evans

AI and problems of scale

AI 摘要The article argues that when capabilities that were always theoretically possible—such as police surveillance, face recognition, fake images, or voice cloning—become practical at massive scale through automation and AI, a change in scale can itself amount to a change in principle. Drawing on parallels like 1960s-70s databases, GPS tracking case law, and Napster, the author notes that automation creates not only new ways to do questionable things at scale but also new ways to fail at scale, such as AI bias and database errors. Whether these developments are acceptable, however, is ultimately a social, cultural and political question rather than a technical one, with consensus only at the extremes and a large grey area where reasonable people—and different countries—will disagree.

Bun Blog·

Bun v1.1.6

Fixes 10 bugs (addressing 512 👍). UDP sockets! node:dgram! DataDog and ClickHouseDB! Fixes a bug impacting SvelteKit. Array#sort gets 15% - 135% faster. Fixes a regression in node:http from v1.1.5. Node.js compatibiltiy improvements and bug

Bun Blog·

Bun v1.1.5

AI 摘要Bun v1.1.5 fixes 64 bugs and introduces the ability to cross-compile standalone JavaScript and TypeScript executables to other platforms using `bun build --compile`. The release also adds support for importing any file as text via the `type: 'text'` import attribute, permits comments and trailing commas in package.json, and includes a new crash reporter. Additionally, it addresses bugs in `bun run --filter`, `bun install` with file: dependencies, and several Node.js compatibility modules such as node:tls, node:crypto, node:readline, node:http, and node:worker_threads.

Scott Hanselman··Scott Hanselman

Open Sourcing DOS 4

AI 摘要Microsoft, in partnership with IBM, is releasing the source code for MS-DOS 4.00 under the MIT license, ten years after open-sourcing earlier versions like MS-DOS 1.25 and 2.0. The release was spurred by researcher Connor "Starfrost" Hyde's correspondence with former Microsoft CTO Ray Ozzie, whose collection contained unreleased DOS 4.0 beta binaries, and it sheds light on the complex history connecting DOS 4, Multitasking DOS, and OS/2. Alongside the source code, Microsoft is publishing the beta binaries, documentation PDFs, and disk images, and notes it may update the release if more materials are found in its archives.

Mozilla Hacks··Stephen Hood

Llamafile’s progress, four months in

AI 摘要Mozilla's llamafile project has released version 0.8, four months after launch, introducing tinyBLAS—a new linear algebra library that enables seamless GPU acceleration on both NVIDIA and AMD hardware without requiring CUDA or ROCm SDKs—along with 84 new CPU matrix multiplication kernels that boosted prompt evaluation performance by 10x. The release also supports the latest open models like Meta's LLaMA 3, runs small LLMs at usable speeds on the Raspberry Pi 5, offers one-command llamafile creation, an OpenAI-compatible API server, and integrations with open source projects such as LangChain and LlamaIndex. Mozilla positions these advances as steps toward making local AI practical on everyday consumer hardware and advancing an open source alternative to closed, centralized AI offerings.

Robin Rendle··Robin Rendle

Sleepless in San Francisco

AI 摘要The author recalls finding their father frantically writing at a kitchen table during a sweltering family vacation in northern Spain, only learning many months later that he had suffered a stroke that night. Twenty years later, the author recognizes the same sleepless, anxious drive in themselves and reflects on how their father's constant worry and restlessness shaped their own fear of adulthood. The essay closes with a tender wish to return to that kitchen to express love and grief, ending on a wry note asking what was really going on with the mosquito spray cans scattered on the table.

Robin Rendle··Robin Rendle

Designing The Cascade

AI 摘要The author spent a week transforming their front-end and CSS newsletter, The Cascade, into a full standalone blog, dividing the time between design, development, and writing example posts, while also launching a $10/year membership program that left them feeling thrilled and validated by early subscribers. The toughest part was the design process, which involved many failed iterations that felt too cold and generic, until choosing the GT Maru typeface and a brighter color palette made everything click. Despite remaining polish and bugs, the author is proud of what they shipped and excited for the project's future.

Marc Brooker·

MemoryDB: Speed, Durability, and Composition.

AI 摘要This article discusses Amazon MemoryDB, a durable, Redis-compatible memory-first cloud database that achieves microsecond reads, single-digit millisecond writes, strong consistency, and multi-AZ availability by composing Redis with a shared journal service. The author emphasizes how this composition simplifies the system, as the journal provides durability, replication fan-out, leader election, fencing, and offloaded snapshotting, minimizing modifications to Redis. It also argues that distributed systems don't have to sacrifice performance for durability and availability, illustrated by moving snapshotting off latency-sensitive database nodes to avoid latency spikes and reduce memory costs.

React Blog··Ricky Hanlon

React 19 Upgrade Guide

The improvements added to React 19 require some breaking changes, but we've worked to make the upgrade as smooth as possible and we don't expect the changes to impact most apps. In this post, we will guide you through the steps for upgradin