Programming · Latest articles

30 new today · 2,704 articles · from 79 blogs

Marc Brooker·

Ten Years of AWS Lambda

AI summaryThe article reflects on ten years of AWS Lambda, prompted by Werner Vogels sharing the annotated original PRFAQ that launched the serverless computing era. It dives into key engineering decisions and lessons, such as launching with only Node.js for its easy dependency packaging, the organic customer demand that drove Go support and official custom runtimes, and the redesign of the in-memory worker manager into a persistent, cross-AZ system to improve median latency. It also describes how the team solved noisy-neighbor problems in shared queues using a combination of stochastic fairness queuing and best-of-k placement, an approach since adopted across other AWS systems.

Clojure News·

Clojure Deref (Nov 7, 2024)

AI summaryThis weekly Clojure Deref roundup highlights the wide range of talks from the Conj 2024 conference, featuring speakers like Rich Hickey, Tim Ewald, Carin Meier, and Alex Miller covering topics from immutable values to AI integration and game development. It also rounds up recent community blog posts on topics such as idiomatic error handling, open source funding updates from Clojurists Together, and developer OSS progress reports. Finally, it lists numerous new library and tool releases, including neanderthal 0.50.0, pg2 0.1.20, basilisp 0.3.0, pedestal 0.7.2, and squint 0.8.123.

Baby Steps·

MinPin: yet another pin proposal

AI summaryThe article proposes MinPin, a variation of boats' UnpinCell proposal that aims to integrate Pin into the Rust language in a minimally disruptive and fully backwards-compatible way. Unlike Overwrite, MinPin does not attempt to make Pin and &mut work together nicely. However, it leaves the door open to adding Overwrite in the future and helps clarify the positives and negatives that Overwrite would bring.

Josh W. Comeau··Josh W. Comeau

A Friendly Introduction to Container Queries

AI summaryThis tutorial provides a friendly introduction to container queries, explaining that despite landing in browsers a couple of years ago, they haven't seen widespread adoption because they are trickier to understand than media queries. The article aims to break down how container queries work so developers can start using them in their own work.

Brett Cannon··Brett Cannon

Don't return named tuples in new APIs

AI summaryThe author argues that named tuples should only be used when updating an existing API that already returns a plain tuple, not when designing new APIs. Although named tuples are quick to define, they double the API surface by requiring support and testing for both index-based and attribute-based access, while also exposing unwanted tuple behaviors like slicing and iteration. Instead, alternatives such as dataclasses, TypedDict, or types.SimpleNamespace should be preferred, prioritizing readability and ergonomics over brevity.

Bun Blog·

Bun v1.1.34

Fixes 64 bugs (addressing 62 👍). `Bun.randomUUIDv7`, reduced memory usage for long-running processes, `napi_type_tag_object` and `napi_check_object_type_tag`, redacted secrets from config logs, `ReadableStream` and HTTP/1.1 spec fixes, seve

Svelte Blog·

What’s new in Svelte: November 2024

AI summaryThis month's Svelte roundup celebrates the release of Svelte 5 and the launch of SvelteHack 2024, a hackathon with submissions due January 9, both announced at Svelte Summit. It highlights recent compiler improvements—such as snippets filling slots and getContext() being allowed in $derived runes—alongside updates to SvelteKit, the CLI's new add-on system, and a Svelte 5 migration command in the editor extension. The post also features community-built apps, learning resources, and a collection of new libraries and tools for Svelte developers.

Clojure News·

Clojure Deref (Oct 31, 2024)

AI summaryThis is the October 31, 2024 edition of Clojure Deref, a weekly news roundup for the Clojure ecosystem covering podcasts, videos, blog posts, and articles from the community. Highlights include content about Basilisp (Clojure on the Python VM), Clojure/Conj 2024, and a new book series announcement. The issue also lists numerous new library releases and tools, including telemere, nippy, sente, uix, calva, and several data science and web development libraries.

Brendan Gregg·

AI Flame Graphs

AI summaryThis article introduces AI Flame Graphs, a new Intel tool that extends the author's CPU flame graph visualization concept to AI accelerators and GPUs, showing hardware instruction profiles alongside the full CPU software stack in a single low-overhead view. The first version is available as a preview in the Intel Tiber AI Cloud for the Intel Data Center GPU Max Series, built on EU stall profiling and eBPF, with the goal of becoming a daily developer tool that could significantly reduce AI compute costs. The author also explains why AI profiling is far harder than CPU profiling—accelerator programs may not exist in the file system or even main memory—and describes his small team's year-long effort to make the tool easy, production-safe, and widely adoptable.

Without Boats·

Generators with UnpinCell

AI summaryThe author argues that the newly proposed UnpinCell wrapper type, which converts a pinned mutable reference into a plain mutable reference, could solve the biggest outstanding problem with Rust generators: the Iterator interface does not permit self-referential values. Because Pin was designed as a backward-compatible, opt-in contract, pre-existing traits like Iterator—which takes a plain mutable reference rather than a pinned one—cannot be implemented by self-referential types. As a result, generators cannot support self-referential values the way async functions do, unless the Iterator interface adopts pinned references.

Bun Blog·

Bun v1.1.33

Fixes 8 bugs. Fixes JSX symbol collisions with imports, fixes a `bun install` slowdown, skips optional dependency, fixes optional dependency postinstall failures, and fixes an assertion failure in the CSS parser.

Svelte Blog·

Introducing the new Svelte CLI

AI summaryThe Svelte team has released sv, a new unified CLI for creating, enhancing, and upgrading Svelte projects, merging the previous create-svelte and community-led svelte-add tools into a single package. It offers built-in add-ons for things like Tailwind, formatting, linting, testing, databases, and auth, and consolidates previously separate tools such as svelte-migrate under commands like sv migrate svelte-5. Community-contributed add-ons are planned for the future, and users can try it now with npx sv create or npx sv add.