Programming · Latest articles

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

Marc Brooker·

What is Scalability Anyway?

AI summaryThe 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.

Baby Steps·

What I'd like to see for Async Rust in 2024 🎄

AI summaryThe 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.

Svelte Blog·

What’s new in Svelte: January 2024

AI summaryThe 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.

The Vue Point·

Announcing Vue 3.4

AI summaryVue 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.

Lea Verou··Lea Verou

Eigensolutions: composability as the antidote to overfit

AI summaryThe 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.

Marc Brooker·

Why Aren't We SIEVE-ing?

AI summaryThe 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.

The Vue Point·

Vue 2 is Approaching End Of Life

AI summaryVue 2 will reach End of Life on December 31, 2023, after which it will no longer receive new features, updates, or fixes, though it will remain available through existing distribution channels. The Vue team is shifting its full focus to Vue 3, which offers better performance, enhanced TypeScript support, a Proxy-based reactivity system, and new built-in components. Users still on Vue 2 can update to the final release (2.7.16), purchase extended support through HeroDevs' Never-Ending Support offering, or communicate their post-EOL security plans to stakeholders.

Svelte Blog·

Announcing SvelteKit 2

AI summarySvelteKit 2.0, the official framework for building apps with Svelte, has been released as an incremental update that adds support for Vite 5, introduces a much-requested shallow routing feature, and paves the way for Svelte 5 in 2024. The announcement also celebrates SvelteKit's one-year anniversary, highlighting widespread adoption by open source projects, commercial entities, and community-built UI libraries. Upcoming work includes improved Svelte 5 support, internationalization, and image optimization.