编程 · 最新文章
今日新增 30 篇 · 共 2,704 篇 · 来自 79 个博客
Pat's Big Deal, and Transaction Coordination
AI 摘要The article analyzes Pat Helland's CIDR'24 'BIG DEAL' proposal, in which scalable applications avoid concurrently updating the same key and databases avoid coordinating across transactions that touch different keys, in exchange for scalability. It explains that this deal relies on snapshot isolation, which permits a write-skew anomaly, and shows that upgrading to serializability would require tracking read sets and coordinating across many more keys, potentially harming asymptotic scalability. The author proposes an alternative 'serializable New Big Deal' that eliminates write skew but shifts the burden onto developers to carefully manage their reads to maintain good scalability.
How the DevTeam conquered the iPhone
What is Scalability Anyway?
AI 摘要The author defines scalability as the range in which a system's marginal cost of handling additional work stays approximately constant, arguing this definition clarifies a term that is often used inconsistently. Using examples of single-machine systems, sharded/load-balanced multi-machine architectures, and serverless platforms, the article shows how each exhibits different marginal cost curves, with spikes at initial provisioning or at capacity limits. The author concludes that serverless offerings, with their nearly constant per-unit costs, provide the strongest scalability benefits and are therefore his preferred foundation for building systems.
2024 Financial Report and Fundraiser
2023
0043: 2023, debog, never sort, critique of sql, status game, more fuel you
The Two Reacts
UI = f(data)(state)
What I'd like to see for Async Rust in 2024 🎄
AI 摘要The author reflects that while 2023 was a significant year for Rust, much of it laid groundwork for 2024, and announces a series of blog posts about their goals for the coming year. Framed around proposed project goals to make them concrete, the first post focuses on what the author hopes to see for async Rust in 2024.
What’s new in Svelte: January 2024
AI 摘要The January 2024 Svelte update highlights the release of SvelteKit 2.0, which brings features like shallow routing, fine-grained search param invalidation, and a smooth migration via the svelte-migrate command. Meanwhile, the Svelte 5 preview introduced new capabilities such as the $inspect rune, nested reactivity by default with proxied $state, the unstate function, and the $state.frozen rune. The post also rounds out with a community showcase of apps, learning resources, and libraries built with Svelte.
Why Android developers no longer need Windows USB drivers
Announcing Vue 3.4
AI 摘要Vue 3.4 'Slam Dunk' has been released, featuring a completely rewritten template parser that is twice as fast and a refactored reactivity system that makes effect triggering more accurate and efficient. The release also stabilizes the defineModel macro, introduces a same-name shorthand for v-bind, and improves hydration mismatch error messages. Additionally, several deprecated features have been removed, including the global JSX namespace and the experimental Reactivity Transform.
Elixir v1.16 released
Elixir v1.16 released with compiler diagnostics and extensive documentation.
Introducing Catalyst: A modern UI kit for React
We just released the first development preview of Catalyst, our new fully-componentized, batteries-included application UI kit for React.
Launching Epic Web
The story of how Epic Web came to be
2023 in Review
A review of what happened in the life of Kent C. Dodds in 2023
Tailwind CSS v3.4: Dynamic viewport units, :has() support, balanced headlines, subgrid, and more
There’s nothing like building a major new product for finding all the features you wish you had in your own tools, so we capitalized on that inspiration and turned it into this — Tailwind CSS v3.4.
Eigensolutions: composability as the antidote to overfit
AI 摘要The article introduces 'eigensolutions'—general solutions that address multiple seemingly unrelated use cases—as the antidote to overfitting, a hallmark of poor design in creator tools where overly specific solutions fail to generalize. It argues that designing such solutions requires a mindset shift from linear design to composability, breaking features into smaller, reusable primitives. Layering high-level shortcuts on top of these primitives, as illustrated by Coda's table filtering, can both reduce the floor and raise the ceiling, making common things easy while keeping complex things possible.
Heroicons Micro: What are these, icons for ants?
We just released Heroicons v2.1 which includes a brand new micro style — a full set of almost three hundred 16×16 icons designed for tighter, higher density UIs.
Why Aren't We SIEVE-ing?
AI 摘要The article discusses SIEVE, a remarkably simple yet highly effective cache eviction algorithm (to appear at NSDI'24) that improves on FIFO by adding a single 'visited' bit and a eviction hand, outperforming nine state-of-the-art algorithms on many real-world traces. The author speculates that SIEVE went undiscovered for decades because it lacks scan resistance, which matters for block and file workloads that mix random accesses with large sequential scans. To address this, the author proposes SIEVE-k, a variant using small saturating counters instead of a bit, which performs well against synthetic scan workloads but shows only mixed results on real-world traces, suggesting it is not a clear overall win over SIEVE.