最新文章

今日新增 424 篇 · 共 7,447 篇 · 来自 241 个博客

Without Boats·

The Scoped Task trilemma

AI 摘要This post is the first in a series exploring concurrency in Rust and the various APIs that could support it. Unlike the author's previous series on control-flow effects, this series does not advocate for any particular direction for the Rust project, but instead publicly explores the problem space and builds tools for thinking about the issues involved. The author notes they are not yet sure what the 'right' concurrency API is.

Mr. Money Mustache··Mr. Money Mustache

Less Cars, More Money: My Visit to the City of the Future

AI 摘要The article argues that building cities around people instead of cars would deliver massive financial, health, and lifestyle benefits—estimated at over $20,000 per person per year—since car infrastructure wastes enormous amounts of space on parking lots, roads, and intersections. The author visits Culdesac Tempe, the first car-free neighborhood in the U.S., a 1,000-person community in Arizona that integrates amenities like a grocery store, gym, pool, and restaurants into walkable, resort-like spaces with free light rail access included in rent. Believing this model is both more desirable and more profitable than conventional development, the author plans to move there himself and hopes it will inspire similar car-free developments across the country.

Lara Hogan·

Be a thermostat, not a thermometer

AI 摘要The article explains that humans unconsciously mirror each other's moods and body language, meaning one person's negative emotional state can spread through a group like a chain reaction. Instead of merely passively detecting someone's emotional 'temperature' like a thermometer, the author encourages readers to act as a thermostat—intentionally setting a healthier tone through techniques like naming the shift in energy, using calm tone and open body language, offering breaks, and owning one's role in tension. By modeling the desired emotional temperature, you invite others to mirror that positive energy back, helping de-escalate conflict and amygdala hijacks.

Baby Steps·

Fix my blog, please

AI 摘要The author, a programmer, admits their blog has multiple problems, including broken category links, odd mobile and Safari rendering, uncolored Rust code snippets, and an improperly advertised RSS feed, and that it uses an outdated jekyll/makefile setup. Intimidated by HTML, CSS, and GitHub Actions despite being a programmer, they are seeking to hire someone to fix the underlying setup and improve the visual layout. They outline their rough ideas in this post but remain open to suggestions from interested candidates.

Raph Levien·

Moving from Rust to C++

AI 摘要This is a satirical April Fools' post in which the author, a longtime Rust developer, mock-announces that the Linebender GUI projects will migrate from Rust to C++. In a deliberately persuasive style, the piece humorously dismisses memory safety concerns, praises C++'s abundance of build systems and rapid language evolution, and claims the C++ community is friendlier. The post is intended to satirize bad arguments commonly made against Rust, with the author noting afterward that its serious points and tone confused some readers.

Svelte Blog·

What’s new in Svelte: April 2023

AI 摘要This April 2023 Svelte update covers new compiler features in versions 3.56.0 and 3.57.0 (such as the stopImmediatePropagation modifier, svelte:document element, and improved transitions) along with SvelteKit quality-of-life improvements like cookies.getAll, the new submitter parameter, and optional types. It also announces that Dominic Gannaway has joined Vercel to work on Svelte full-time and reminds readers about upcoming events like Svelte Summit Spring and the SvelteHack hackathon. Finally, the post rounds up a large community showcase of apps, learning resources, tools, and ChatGPT-related projects built with Svelte.

Elad Gil··Elad Gil

AI Safety: Technology vs Species Threats

AI 摘要The article distinguishes between two types of AI threats: technology-level risk, where AI acts as a tool that can be misused by humans or malfunction but remains survivable, and species-level risk, where AI evolves into a self-replicating digital life form—and potentially gains physical form through advanced robotics—creating direct competition with humans for resources. The author outlines possible countermeasures to the species-level threat, including regulation, alignment research, banning advanced robotics, human-AI merger, and incentive alignment, while noting that many of these may only work in the short or long term but not both. Ultimately, the article expresses hope that AI will be a major net positive for humanity before any existential threat becomes a real possibility.

Elad Gil··Elad Gil

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

AI 摘要This 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 摘要The 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 摘要The 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 摘要The 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 摘要The 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 摘要The 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.