Latest articles

413 new today · 7,436 articles · from 241 blogs

Elad Gil··Elad Gil

Video and transcript: Fireside chat with Clem Delangue, CEO of Hugging Face

AI summaryThis article is a transcript of a fireside chat between Elad Gil and Clem Delangue, CEO and co-founder of Hugging Face, discussing the company's origins and evolution. Delangue explains that Hugging Face began as an AI entertainment chatbot (an 'AI tamagotchi') but pivoted after co-founder Thomas Wolf ported Google's BERT to PyTorch, ultimately becoming the most widely used open platform for AI—often described as a 'GitHub for AI'—hosting over a million repositories, 20,000 datasets, and serving more than 15,000 companies. Looking ahead, Delangue outlines two main directions: expanding the platform to support AI across every domain (e.g., text-to-video, time series, biology), and lowering barriers so that every engineer and company can eventually train their own custom models, viewing AI as 'Software 2.0,' a new default paradigm for building all technology.

Baby Steps·

Thoughts on async closures

AI summaryThe author explores how async closures could work in Rust once static async fn in trait is available. They explain that modeling async closures as closures returning futures would require deep, complicated lifetime handling. Instead, they conclude that async transformers offer a surprisingly natural way to make async closures 'just work'.

Without Boats·

Generators

AI summaryThe author argues that shipping generators would greatly benefit users by simplifying the writing of imperative, iterative code that interacts well with asynchrony and fallibility. They express frustration that generators have been nearly ready for years with little visible progress, especially since the core compiler transform already exists because async functions are implemented using the same generator-to-state-machine mechanism.

Marc Brooker·

Surprising Scalability of Multitenancy

AI summaryThe article argues that short-term peak-to-average traffic ratios, which are often overlooked, are critical to cloud economics because costs scale with peak traffic while generated value scales with average traffic. Multi-tenancy—running many uncorrelated workloads on shared infrastructure—reduces the system-wide peak-to-average ratio, which improves economics and enables impressive per-workload scalability, as illustrated by examples from AWS S3 and Lambda. Since real-world workloads are spiky, autocorrelated, and non-Poisson, mixing diverse uncorrelated workloads is essential to smoothing overall load and achieving these benefits.

React Blog··Joseph Savona, Josh Story, Lauren Tan, Mengdi Chen, Samuel Susla, Sathya Gunasekaran, Sebastian Markbage, and Andrew Clark

React Labs: What We've Been Working On – March 2023

In React Labs posts, we write about projects in active research and development. We've made significant progress on them since our last update, and we'd like to share what we learned.

Without Boats·

The AsyncIterator interface

AI summaryThe article discusses the ongoing debate around Rust's AsyncIterator trait, whose current interface relies on a low-level poll_next method similar to Future::poll. Because poll-style methods are harder to write correctly than async functions, some argue that AsyncIterator should instead expose an async next method, effectively becoming an 'asyncified' version of the Iterator trait. This connects to the author's earlier concept of 'registers'—the idea that Rust code can be written at different levels of abstraction, all of which deserve proper language support.

Josh W. Comeau··Josh W. Comeau

The End of Front-End Development

AI summaryThe article addresses the viral social media narrative that large language models like GPT-4 are advancing so rapidly that software developers will no longer be needed within a couple of years. The author pushes back on this claim, expressing a much more optimistic perspective on what AI advancements mean for the future of software development.

Lea Verou··Lea Verou

Contrast Ratio has a new home — and this is great news!

AI summaryThe author launched contrast-ratio.com over a decade ago as a tool to calculate WCAG 2.1 contrast ratios between CSS colors, addressing flaws in existing tools such as lack of support for semi-transparent colors and non-hex color formats. The site became widely popular, but the author has been too busy with other projects to actively maintain it. Siege Media has now purchased the domain and committed to maintaining the open source project, which the author believes ensures a much brighter future for the tool.

Baby Steps·

Must move types

AI summaryThe author explores the idea of adding 'must move' types to Rust, observing that while the language has many mechanisms to prevent bad practices, it currently has no mechanisms that force good ones. Although they have long resisted this idea because it would add fundamental complexity to the language, they are increasingly encountering problems it could help solve. They aim to sketch what such a feature might look like so the community can better judge whether it is worthwhile.

Ethan Marcotte··Ethan Marcotte

Tooled.

AI summaryThe article examines the rapid rise of generative AI tools like Copilot, ChatGPT, and GPT-4 through the lens of 'deskilling,' the longstanding labor economics concept describing how technology reduces demand for skilled workers and can lower wages or eliminate jobs. The author cites real-world examples—including developers shifting to code review, clients demanding cheaper AI-assisted rewriting, and CNET and Stripe replacing human writing and review with AI—alongside mass tech layoffs, such as Microsoft cutting 10,000 workers days before announcing a $10 billion OpenAI investment. While acknowledging the technical impressiveness and potential of these tools, the author argues that creative workers are already losing jobs to AI and urges readers to question whose benefits and costs these technologies actually serve.

React Blog··Dan Abramov and Rachel Nabors

Introducing react.dev

Today we are thrilled to launch react.dev, the new home for React and its documentation. In this post, we would like to give you a tour of the new site.

Without Boats·

Const as an auto trait

AI summaryThis article is part of a series on Rust language design, but unlike previous posts that explored high-level concepts like language registers and when to form abstractions, this one focuses entirely on technical details. It discusses the idea of 'const' as an auto trait, using content that was cut from the previous post so that post could stay focused on its broader argument.

Baby Steps·

Temporary lifetimes

AI summaryThe Rust lang team design meeting reviewed the author's document on temporary lifetimes, whose current rules date back to a 2014 blog post. Almost a decade later, these rules have rough edges that are a common source of bugs, and the Rust 2024 Edition provides a chance to address them. The document, which is not a proposal, discusses what works well and what doesn't, along with a few sketchy ideas for improvement.

Ethan Marcotte··Ethan Marcotte

Adoption.

AI summaryThe author argues that 'adoption' is a flawed primary metric for design system success precisely because it's one of the few things design systems can easily measure, even though it's fuzzy and opaque. Focusing solely on adoption obscures more critical questions—such as how effectively teams use components, how well system-built pages perform, and how satisfied users are—while encouraging organizations to treat design systems like mere library maintenance. The author doesn't dismiss measuring adoption altogether, but warns that if it's the only success metric being tracked, that itself may signal deeper challenges.

Lil'Log·

Prompt Engineering

AI summaryPrompt Engineering, also known as In-Context Prompting, refers to methods for communicating with LLMs to steer their behavior toward desired outcomes without updating model weights. Since it is an empirical science, the effectiveness of these methods varies considerably across models, requiring heavy experimentation and heuristics. The article focuses on prompt engineering for autoregressive language models, with the core goals being alignment and model steerability.

Without Boats·

Patterns & Abstractions

AI summaryThis post, the second in a series on async Rust design in 2023, discusses 'keyword generics,' a proposal to introduce a new kind of abstraction in Rust that would allow types to be abstracted over certain effects such as async, const, and try. The author draws on two blog posts by the Rust design team as reference points and observes that the effects considered by the keyword generics working group overlap with, but are not identical to, the effects identified in the author's previous post.