惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The Cloudflare Blog
U
Unit 42
D
Docker
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
Recent Announcements
Recent Announcements
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
V
Visual Studio Blog
I
InfoQ
Google DeepMind News
Google DeepMind News
小众软件
小众软件
L
LangChain Blog
C
Check Point Blog
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
J
Java Code Geeks
罗磊的独立博客

LWN.net

Security updates for Friday [LWN.net] [$] A look at MinIO alternatives: Ceph and Garage Podman 6.0 released [$] Hardening the kernel with allocation tokens and bootpatch-SLR Security updates for Thursday [LWN.net] [$] LWN.net Weekly Edition for June 25, 2026 [$] Fedora: 2FA, or not 2FA, that is the question [$] A helper library for BPF arenas [$] Reports from OSPM 2026, day two Security updates for Wednesday [LWN.net] [$] KASAN for JIT-compiled BPF code Sunsetting Tor 0.4.8 Security updates for Tuesday [LWN.net] GIMP 0.54.1 in a Flatpak [$] Free-threaded Python: past, present, and future First preview release of Xfce [$] Reports from OSPM 2026, day one Security updates for Monday [LWN.net] Systemd v261 released [$] Suspending and resuming BPF programs [$] AURpocalypse now: a look at the recent AUR attacks Security updates for Friday [LWN.net] Eight new stable kernels for Friday The Software Freedom Conservancy [$] The first half of the 7.2 merge window Mastodon 4.6 released [$] Single-hop block replication with RMR and BRMR Security updates for Thursday [LWN.net] [$] LWN.net Weekly Edition for June 18, 2026 Fedora F44 election results
Rust 1.96.0 released
[Posted May 28, 2026 by corbet] · 2026-05-29 · via LWN.net

I'm gratified to see the new Range types finished (see https://lwn.net/Articles/1068418/ about Rust's RFC 3550 where I described why this was done)

As befits a language which has been stable for more than a decade, people have a lot of faith that it's worth putting in a lot of work now to deliver a better future, the Range types are in that category but surprisingly the new assert_matches! is also the same -- because it's an important new macro BUT it doesn't want to get in your face if you don't want it, for example because you wrote your own macro with the same name but different behaviour.

Historically Rust's stdlib macros are "too magic" and so all the macros in the standard library are just available to everybody, nothing else does that, if I make a new stdlib type, or trait, or function, or constant, none of those magically exists in everybody's code without them requesting it (implicitly with a prelude, or explicitly) but a macro does or rather did.

So the work to land assert_matches! ended up including all the significant effort to fix this, paper over any cracks as a result and check all that works in the real world, rather than just shrug and say well it's a macro and historically all macros were visible so I guess it's fine... This is how you build a future you can proud of, rather than one where everything needs a long list of caveats.