Rust 1.100 (blog.rust-lang.org)

496 points by mbStavola 9 hours ago

nirinor 9 hours ago

Woohoo, that's a release! My personal favorites:

- Stabilize never type

- Stabilize custom allocators

- Introduced minimum publish age configurations, also known as dependency cooldowns. When the relevant config is set, the resolver ignores versions published more recently than that, unless they are already in Cargo.lock. (RFC 3923) docs #17335

- cargo-install: now uses the existing lockfile in the .crate tarball by default. --locked in cargo install becomes a no-op. #17388

nixpulvis 7 hours ago

> cargo-install: now uses the existing lockfile in the .crate tarball by default. --locked in cargo install becomes a no-op. #17388

Long time follower of this. Very grateful it's been implemented.

epage 7 hours ago

For anyone that wants more context on the decision, see https://github.com/rust-lang/cargo/issues/7169#issuecomment-...

p-e-w 3 hours ago

That was one of the biggest gotchas with Rust. It’s unfortunate that it took so long to change this very unintuitive and potentially dangerous behavior.

SOLAR_FIELDS 3 hours ago

Dependency cooldowns receiving such a whiplash this year. Earlier everyone was advocating for them because of the supply chain attacks. Now, people are worried because you might miss 0 days if you use them.

Nonetheless, the ability to set and configure it is a welcome feature.

zarzavat 6 minutes ago

You should use a cooldown. The effects of a supply chain attack are significantly worse than the effects of a 0 day. You can always make exceptions on a case-by-case basis.

woodruffw an hour ago

You should do both: you should let normal updates cool down, and you should immediately patch security advisories.

One of the biggest ergonomic problems with cooldowns is that many tools let the former goal obstruct the latter. Both should be part of the state machine of resolution itself, rather than things that get layered on.

saghm an hour ago

Some of us were saying they didn't understand the endgame of everyone using cooldowns at the time. We mostly got told we were wrong though.

n_u 9 hours ago

> Cargo now reports unused dependencies to users, e.g.

> warning: unused dependency `tracing-subscriber` --> Cargo.toml:23:1 | 23 | tracing-subscriber.workspace = true | ^^^^^^^^^^^^^^^^^^ | = note: `cargo::unused_dependencies` is set to `warn` by default help: consider removing the dependency on `tracing-subscriber`

Heck yes

jtwaleson 7 hours ago

Does this remove the need for machete or shear?

epage 7 hours ago

I believe so. The maintaner of cargo-udeps did most of the work as an effort to upstream it.

The main limitation is in dev-dep detection since there isn't a way to exhaustively run everything that uses dev-deps yet. You can look at logging statements to get an approximation though.

minimaxir 8 hours ago

I updated to 1.100 during a Claude session and it complained about new warnings, so I told it to fix them. It removed a large number of unused dependencies without issue.

saghm an hour ago

My semi-controversial take is that the best way to use agents for Rust is to literally turn every possible lint and warning on in clippy and require that they're treated as blocking for the agent to fix before ever saying things are done. While a few of them might be overzealous and feel tedious to work around manually, there's no need to care about it being tedious for an agent!

minimaxir an hour ago

I am legitimately confused why my parent comment is being mass downvoted: the point I was making is that this is change is more a perk for agent use with Rust since agents typically will resolve warnings by solving the issue (and therefore proactively remove redundant dependencies)

MindSpunk 37 minutes ago

yuriks an hour ago

ammar_az 8 hours ago

This release is so big that multiple useful stabilized API aren't event mentioned in the blog post like:

- bool::toggle() https://doc.rust-lang.org/stable/std/primitive.bool.html#met...

- Box::map() https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#m...

- str::trim_prefix(), str::trim_suffix, Path::trim_prefix()

pasteleft 40 minutes ago

Wow even slices support trim_prefix and trim_suffix

jacksontheel 6 hours ago

I'm at a loss with the bool toggle method. Why would x = !x not be good enough?

stusmall 6 hours ago

You can. Something like toggle is nice because it is very clear at a glance. That's a subjective style call.

But under the hood it's all the same https://doc.rust-lang.org/stable/src/core/bool.rs.html#157-1...

rauli_ 5 hours ago

dxxvi 4 hours ago

pasteleft an hour ago

I think they made it to reduce closure usage.

  vec.map(|x| !x);

  vec.map(bool::toggle);

saghm an hour ago

If you're dealing with something like an `Option<bool>` or `Vec<bool>`, it might be nice to avoid needing to do a more verbose dereference and assign:

    let mut vec = vec![false, false, false, false];
    vec[2].toggle();
    *vec[2] = !vec[2];
"Good enough" is subjective, but I personally prefer the new way

thayne an hour ago

If you have a (&must) reference it would actually be x = !x. Also toggle is a function that can be passed to higher order functions without needing a lambda. For example, if you have a boolean in an option you can do opt.iter_mut().for_each(book::toggle). Or similar if you had a collection of booleans.

IshKebab 6 hours ago

If you access the bool through a long path maybe.

  foo.bar().baz[expensive()].qux.toggle();

crabmusket 2 hours ago

jacksontheel 5 hours ago

ammar_az 5 hours ago

kibwen 6 hours ago

Proposal here: https://github.com/rust-lang/libs-team/issues/820

Looks like part of the motivation was for things with long names like `some_struct_a.some_field_b.some_subfield_c`, where needing to name the field twice would have pushed people to using `^= true` instead, which is a bit more roundabout to decipher and risks people forgetting the idiom and writing `^= false` by accident. Not necessarily the most useful API, but not unmotivated and harmless to add.

ammar_az 5 hours ago

afdbcreid 8 hours ago

They are mentioned in the blog post, under "Stabilized APIs".

nbardy 16 minutes ago

Can anyone who knows Rust well explain why its so good for AI?

It seems like the AI can really write safe types and fast, efficient code in rust that beats anything else.

I've moved basically all my projects over to it. And I don't really know how it compares to other fast languages. My personal langue preference was always for readable languages like Clojure or Ruby, but at this point I'm not reading any code and just want performance.

adamnemecek 15 minutes ago

Types and zero cost avstractions.

steveklabnik 9 hours ago

A monumental release. Thanks to everyone who worked so hard on all of these long-term features that are finally landing.

caaqil 3 hours ago

Plaudits to all involved, as the sermon goes.

jadbox 8 hours ago

Is the compiler any faster now? Compiling takes forever. I'm also tired of always having to do "cargo clean" everyday to clear out 90gb of temp files.

epage 8 hours ago

Faster compile and smaller build-dir can be at odds with each other.

That said, this release includes some incremental improvements as well as the unused-dependency lint to help reduce wasted work within the ecosystem.

Some changes that have been or are about to be merged for upcoming releases

- We will be reducing the debug info generated for the `dev` profile which reduces build-dir size and speeds up builds. We've split off a `debug` profile for when that is needed.

- Cargo will be deleting the directory rustc writes before each invocation, avoiding the leaking of debug files when split-debug is enabled (default on Mac)

- rlibs for workspace members will no longer be copied from build-dir to target-dir which takes up extra space on systems without hardlinking or where we skip it (like Mac)

- redundant information in rlibs and rmeta's is going to be de-duplicated

Examples of further out changes

- This release includes the foundational work to add a build-dir GC

- Cross-workspace de-duplicating of build-dirs

- Cross-workspace build-dir cache

- Early cut off

iknowstuff 7 hours ago

Also

“Relink, don't rebuild” #790

https://github.com/rust-lang/compiler-team/issues/790

epage 3 hours ago

mohamedkoubaa 6 hours ago

pjmlp 6 hours ago

Thanks for the list, looking forward to those improvements.

steveklabnik 8 hours ago

Compiler speed is continually being worked on https://nnethercote.github.io/2026/11/04/how-to-speed-up-the...

And the large target directories is also being worked on as well.

the8472 2 hours ago

Yes, lots of optimization work has it made faster despite gaining new features.

https://perf.rust-lang.org/dashboard.html

small_model 7 hours ago

Yes this is why I switched to Go for backend, much faster compiling and performance isn't an issue for the application yes using 100GB+ is just bad tooling.

eptcyka 7 hours ago

On macOS there is a known bug where some temp files are always created anew, not reused, which slows down compilation and wastes more space than other platforms.

adastra22 an hour ago

Do you have details? I think I'm running into this.

epage 7 hours ago

Fixed on nightly.

barchar 6 hours ago

try disabling at least some debug-info for your dependencies.

use cargo's --timings option to identify the slow crates, then use measureme to figure where rustc is spending time.

try fiddling with detached debug-info, dwp files can be smaller than their constituent dwo files.

ensure really small "template wrappers" are inlined.

lower the number of compilation-units you use.

For incremental builds I have found it can _sometimes_ be effective to split out larger dependencies into a dynlib. You create a dylib crate that re-exports said dependencies and your executable depends on that. Ofc things like generics from the offending libraries will still end up in your executables; Though I think there is a way to mitigate this a little.

This mostly helps with link-time, and saving space if you have a bunch of executables (using the argv[0] trick will help more, though).

vlovich123 8 hours ago

Any faster vs what baseline? They’ve constantly made improvements and Rust today is pretty darn quick, especially for incremental. There’s work to parallelize the front end which will help a little bit and you can always use the cranelift backend for debugging which is substantially faster than LLVM.

They’re also doing work to reduce the amount of disk space usage (by clearing out unused articacts) and make it easier to maintain.

jtwaleson 7 hours ago

Best to do some benchmarks for cranelift on your codebases and system. It used to be quite a lot faster, but for me the advantage has disappeared over the last year of Rust improvements.

amelius 7 hours ago

There's really a paradox here. Rust claims to be a fast language, but compiling, even without optimizations on, takes ages ...

barchar 6 hours ago

Rust encourages a kind of generic programming that can result in generating too much code.

The compilation model is vastly, vastly, vastly better than languages like C++ and C, though, and it does compile much faster than an equivalent C++ build (doesn't count if you download precompiled binaries of your c++ dependencies)

cozzyd 3 hours ago

IshKebab 6 hours ago

That's not a paradox, that's how it always works. Compiling to fast machine code requires more work and takes longer.

Is Python a fast language because it barely takes any time to compile the code? No obviously not.

Matrixik 4 hours ago

amelius 6 hours ago

kibwen 7 hours ago

There's no paradox here. You can use any benchmark you like to prove that Rust is a fast language. The work that the compiler does is irrespective of the language that rustc is written in.

amelius 6 hours ago

saghm an hour ago

Have you been similarly confused by how slow compiling can be for massive C++ projects for decades? I have trouble believing that you genuinely think that's what anyone means by saying Rut is fast.

aw1621107 an hour ago

> Rust claims to be a fast language, but compiling, even without optimizations on, takes ages ...

As usual, this begs the question of "compared to what"? "Fast" languages obviously don't have some magical ability to guarantee that every program written in them is Blazing Fast(tm); without further inspection one can come to any number of other equally plausible conclusions (e.g., the program is fast for what it does).

kennykartman 6 hours ago

You might be interested in this: https://news.ycombinator.com/item?id=50458849 - I didn't try it yet, though.

0o777 7 hours ago

All the big AI companies use Rust so this is probably something they should focus on improving.

panstromek 7 hours ago

They do fund some of these efforts, yes.

flykespice 3 hours ago

What the hell are you doing to produce 90gb of temp files? Is that normal on rust land?

adastra22 an hour ago

It's large but not insane. I've got 20gb in a not-too-large repo.

kstrauser 2 hours ago

No. My target directory is 329GB at the moment. I wish mine were just 90GB.

(And yet I’m perfectly happy running `cargo clean` periodically in exchange for all the Rust loveliness. Sure, I wish I didn’t need to. Sure, I hope it’ll get better. I can live with the temporary inconvenience though.

Also, I’m developing in a tight auto-build-on-commit loop so I have a gazillion builds.)

benjiro29 5 hours ago

Is the compiler any faster now?

If your codebase is not some small project, its excruciating slow. Even if you try different linkers, and other compilers, nothing really make incremental compiles eat so much of your system. Even more so if you have multiple AI agents doing security and other checks.

Switched to Go for several months, and the difference was very noticeable. Until you started to get there also 50k+ files that are interlinked. And let us not talk about Go and Rust their issues with insane amount of debug/cache buildup.

Imaging if you have 4 to 6 agents running that, with each seeing the cache grow from 20, 30, 40 ... To the point that a 100/1000GB SSD grows to 800, 900GB usage. Often in barely a day.

Seen my NVME drive its lifespan drop from 98% to 91% in barely a few month time. I dread looking at it again lol

What was the solution? Going back to C ... Despite right now working on a 800k lines project, it compiles way faster the Go, and well, Rust will have pegged all 16 cores for a minute, for EACH agent trying to recompile on a small change.

Memory safety? Instead of checking at compile time, and wasting my time, this has simply been moved to AI agents checking, making tools, checking, at night. So it does not disturb my own work.

Its ironic, how both modern projects, end up being worse off. Best of all, the C project is way faster then the same project in Go and Rust. Yea, it was "fun" having AI transcompile them twice but the difference on actual large codebase, and not some micro benchmarks is not a joke. To the point that now all my projects have gone back to C...

And yea, i expect some fast downvotes by our Rust friends because saying something negative about Rust always gets people downvoted here. No offence but Rust being linked to LLM and the whole checker was a benefit before AI came around. But now you can offload a lot of safety checks to the backend/offhours, instead of paying for it with every compile.

shevy-java 6 hours ago

Well, the AI that slops out Rust code won't mind having to wait!

throwaway27448 8 hours ago

I don't understand why people complain about this non-stop. If compilation time is such an issue use a different language. I can't say I've been bottlenecked by compilation in a very long time.

IshKebab 6 hours ago

I don't think you can tell people not to complain about it - it is clearly very desirable to have faster compilation, like Zig or Go.

But that said I do agree it is pretty fast these days. Significantly faster than C++ and people have tolerated that for decades.

throwaway27448 4 hours ago

levkk 5 hours ago

DropGuard is nice. This is basically `defer` in Go I think.

Groxx 5 hours ago

A defer that you can explicitly skip (via `dismiss()`) - I like it, that'd clean up a fair bit of "do this for safety unless successful" Go code that I've encountered. I've built similar things before, sometimes it helps a lot, and often that's in especially gnarly code which generally benefits from any clarity improvement.

aw1621107 4 hours ago

Minus Go's defer being function-scoped, of course.

(and what sibling comment mentioned)

ComputerGuru 9 hours ago

It would probably be better to wait for the official release blog post for submission to HN, no?

NobodyNada 9 hours ago

Yeah, it's live now so the URL should be changed to: https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/

qchris 9 hours ago

The official blog post release is now up at https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/

pmichaud 9 hours ago

Nice work... but I still yearn for a stable ABI!

JoshTriplett 8 hours ago

The primary challenge in having a stable ABI is that we have generics. So, even if we never changed the calling conventions, an ABI is not as simple as exporting a symbol with the right name. We implement generics by providing MIR (our main intermediate representation) that gets compiled by the linking program for each instantiation of a generic.

Swift handles this through the equivalent of Rust's `dyn`. We could have a stable ABI that's based entirely on `dyn`. Such an ABI would have some limitations, since there are traits `dyn` can't represent (anything that's generic over something other than the type that implements the trait, which is quite common), though we're working on some of those.

Essentially, you wouldn't be able to have a `Vec<T>` in your ABI without either pinning down T or using something like `Vec<Box<dyn Trait>>`. Which is possible, but kind of awful.

We're still planning to ship a stable ABI at some point, but that gives a flavor for some of the kinds of problems we'd need to solve in order for that stable ABI to be useful.

(C++ typically handles generics by having types defined in header files, and those get compiled with the program consuming the library, which is effectively the same situation Rust is in. You could export symbols from a shared library for specific instantiation of a template, but people rarely do that.)

mamcx 7 hours ago

I wonder why not make the ABI contract explicit, instead of do what C do that froze the lang.

Similar to :

    #[rust_abi]
    struct MustConform
    fn must_conform
So the user must write the shims instead of rust magically build it. This also mean that ABI changes become visible, and changes to rust not mean worries about ABI.

chiffaa 6 hours ago

yrjrjjrjjtjjr 6 hours ago

A generic could be seen as a pure (in the functional sense) program that is run at link time that takes various type information as input and outputs an implementation.

pjmlp 6 hours ago

You are forgetting C++ has modules now, and extern templates, as implementations for common type parameters.

IshKebab 6 hours ago

I would be happy with something better than the C ABI even if it doesn't support everything in Rust on day one.

barchar 5 hours ago

JoshTriplett 6 hours ago

gspr 6 hours ago

Thank you for your work, it's always interesting to read your take.

Forgive the naive question on something that's probably been discussed many times over, but could there be a middle ground when it comes to a stable ABI and generics? Something where the person building the library for dynamic linking chooses which explicit monomorphizations they'd like to provide for each public generic function (and type), and the compiler stamps out all combinations of those concrete instances? Could the way these are named and stamped out be standardized so that this could be treated as a stable ABI for non-generics?

It seems to me that it would at least cover distros: they could make a pass over all their Rust code and determine which monomorphizations are needed throughout the distro.

orlp 9 hours ago

We have it: unsafe extern "C" { }.

An actual stable native Rust ABI sounds like a forward compatibility nightmare.

Xirdus 9 hours ago

An actual stable native Rust ABI is a prerequisite for distributing libraries as anything other than source code.

ChadNauseam 8 hours ago

SkiFire13 9 hours ago

wahern 9 hours ago

afdbcreid 8 hours ago

fallingbananna 8 hours ago

redox99 9 hours ago

iknowstuff 9 hours ago

Follow or contribute to efforts on a minimal crABI:

https://github.com/joshtriplett/rfcs/blob/crabi-v1/text/3470...

aitchnyu 9 hours ago

Couldnt Google. Is it pronounced crabby?

iknowstuff 9 hours ago

danhor 7 hours ago

I don't think a stable ABI has enough advantages to be worth it. C++, IMHO, is a great examples of the downsides of a stable-enough ABI, where stability was never guaranteed, but is now so entrenched that it'll likely never be broken again (limiting the language & the usability in a bunch of ways).

It might make sense to have a subset Swift-style stable ABI, but that's a huge engineering effort, has lots of overhead and is also likely not worth it IMHO.

stillpointlab 9 hours ago

stable ABI sounds great, but anything/everything that reduces build times is what I really want

Narishma 5 hours ago

A stable ABI would help with that.

Svoka 9 hours ago

Why the yearning for prebuilt Rust libraries? Seems like a nightmare which does not need to happen.

gspr 8 hours ago

Dynamic linking is useful. Not to everyone and not always, but it is.

kibwen 7 hours ago

silon42 8 hours ago

So, all Linux will be Gentoo?

Svoka an hour ago

ustad 8 hours ago

“Never type” - Feel like I’m stupid for not having a clue what that means.

Xirdus 8 hours ago

Mathematically, types are sets of possible values.

Any type (like in TypeScript; Rust doesn't have one) is a set of every possible value; a supertype of all types. Every expression regardless of type can be assigned to a variable of type any.

The opposite is the never type, which is an empty set; no value is of type never. Per set theory, an empty set is a subset of every set, which makes the never type a subtype of all types. An expression of type never can be assigned to every variable regardless of type.

If never type has no values, then how can an expression have never type? Easy: it must never evaluate. Infinite loops, unconditional panics/exceptions, process exit/abort, etc. Also, generics - you can have Vec<!> that's always empty, Result<T,!> that can never be an error, etc.

rcxdude 7 hours ago

Rust does have https://doc.rust-lang.org/std/any/trait.Any.html but it's not quite the same thing (for one thing, it's not actually all types).

afdbcreid 6 hours ago

Also called top and bottom types, for this reason.

steveklabnik 6 hours ago

boston_clone 7 hours ago

Comprehensive yet succinct, and appreciate you tying it to math - that helped solidify the idea.

anamexis 8 hours ago

pkulak 8 hours ago

A few other langs have it too. It's just something to return when no return is actually possible. And then it can propagate, so it makes some nice things possible that weren't before.

igravious 8 hours ago

Without looking up the Rust implementation I would hazard a guess that it is loose language to say "something to return when no return is actually possible" because if it is anything like the Bottom Type then there is no something that is being returned which is what this function signature indicates. Generally used for exception handling or intentional infinite loops (in both cases the function does not return from whence it came) … please correct me if I'm wrong here …

kibwen 7 hours ago

saghm an hour ago

It's the type of what you get back from a `panic!` (a value you never actually get back).

yccs27 7 hours ago

If you have a variable x: ! in scope, your code can never be reached.

LoganDark 8 hours ago

It's the type called "!", or the return value of diverging control flow, such as infinite loops, returns or function calls that panic or abort. It's an uninhabited type, meaning no values of it can actually exist, and that any code that would encounter such a value is unreachable.

NooneAtAll5 7 hours ago

noreturn, basically

mkl 6 hours ago

> cargo install ignores the minimum publish age, for both the installed crate and its dependencies

Why is that? It seems like that makes min-publish-age much less effective.

epage 3 hours ago

This comes from usability and consistency.

When we added the MSRV aware resolver, we decided to have it not affect `cargo install` because you could get an old version and not notice (especially with how noisy cargo is) when the right answer might be to upgrade.

Somewhat similar for min-publish-age but also we had defined the parent table for these config fields to not affect install.

The change to `--locked` made us feel a little better with this non-ideal circumstance.

GolDDranks 4 hours ago

The fact that install now uses the lockfile by default, mitigates this, I think.

lukax 9 hours ago

Awesome timing.

I just spent last few days fixing arena leaks (Bumpalo doesn't call drop) and had to use allocator-api2 for Vec::new_in which is now available in stable Rust.

https://github.com/bancek/rust-sass/pull/1

weinzierl 9 hours ago

"Awesome timing."

Wait for the timing of the next release. It will be a Christmas present.

hobofan 9 hours ago

Thanks to all the maintainers and contributors! That's one of the biggest releases in a long time!

fock 8 hours ago

also humans contributing! Very cool!

AndruLuvisi 4 hours ago

I can't find any mention of become. Does rust have proper tail calls now?

aw1621107 3 hours ago

Looks like it's still being worked on: https://github.com/rust-lang/rfcs/pull/3407

At least from a quick skim of the comments it seems there's still some stuff that needs to be worked on on the LLVM side of things as well.

Edit: This blog (https://trifectatech.org/blog/tail-calls-project-goal/) has a bit more info on current plans for stable tail call support

fluffiac 9 hours ago

yay never type!!

when can we expect `Result::into_ok` and `Result::into_err` to land? the blog post includes the `infallible_unwrap` demo which is the exact functionality these two functions implement. i wonder why they didn't release these at the same time as never?

NobodyNada 9 hours ago

Those were stabilized in https://github.com/rust-lang/rust/pull/161712, which just barely missed the cutoff date for 1.100 and is on the 1.101 release train.

(As for why they weren't stabilized at the same time: because it's not worth adding more baggage to a major, difficult stabilization process; as that would just be more surface area that has to be reviewed and another source of potential issues or delays. Instead, the stabilization process for infallible_unwrap was started immediately after `!` was stabilized. That process includes a 2-week final comment period for community feedback which is why they landed in different releases.)

saghm an hour ago

The six week release cadence means that stuff like this is not a huge deal, and it's honestly kind of insane how consistent it's been over what's now 100 minor releases over 11 years!

karavelov 9 hours ago

Finally, "never" happened

JoshTriplett 8 hours ago

And the running joke that the type is named after its stabilization date can finally be put to rest. :)

hbn 8 hours ago

We got "never" in Rust before GTA6

Two jokes that are expiring this month

jmyeet 9 hours ago

One might call this the moment when nothing never occurs [1].

[1]: https://www.youtube.com/watch?v=RFm9ClqlGuo

Alien1Being 3 hours ago

The elephant in the room question is:

Is this good for AI vibecoding ?

Human intelligibility and coherence does not seem to matter any more, for current software development.

wpollock 6 hours ago

This is great news! Well done Rust team!

As this release seems to include breaking changes, shouldn't the major version number have been bumped, as per semver?

Has the Rust book(s) been updated to include the new APIs?

kibwen 2 hours ago

Rust's three stability caveats are as follows:

"We reserve the right to fix compiler bugs, patch safety holes, and change type inference in ways that may occasionally require new type annotations."

https://blog.rust-lang.org/2014/10/30/Stability/#what-are-th...

The breakage in question here falls under changes to type inference, which are allowed within reason when they're relatively minor, when steps have been taken to mitigate any breakage in the broader ecosystem, and when the compiler has emitted warnings regarding the imminent change during a grace period, all of which have been done here.

sawirricardo 3 hours ago

i wish for small storage and short duration compilation times

einpoklum 5 hours ago

Would you say that having 100 releases of the language more of a positive thing or a negative thing?

For comparison, C has had, say, 4 versions, and C++ 7 had versions (depending on how you count). But - Java has had 27 main versions and probably more than a 100 if you count minor versions/updates.

estebank 3 hours ago

They are completely different release processes, for different things. C and C++ are language specifications and Rust is a tool chain. Even comparing against another compiler tool chain like gcc it wouldn't be a 1 to 1 comparison. Rust having 100 minor releases is only a factor of the passage of time.

Last time I checked between a quarter and a third had a patch release, and those are closer to a signal of "a minor release had a problem". When analysing those my conclusion and the time was "for the most part they were needed because some niche feature or platform had a regression that wasn't caught by the suite and a handful of regressions causes by enabling a new feature or updating llvm".

Even Rust Editions are not a good point of comparison because they are also time based and only leveraged by things that would otherwise be breaking changes.

What you could use for direct comparison is accepted Rust RFCs against accepted C++ proposals papers or the equivalent for other languages. Or merged Pull/Merge Request counts for the different tool chains. But that's not perfect either (Rust only supports one language, while GCC several, but it has a package manager, which GCC doesn't).

tialaramex 3 hours ago

101 stable Rust minor releases, because 1.0 was a stable release, and many more micro releases incorporating merely urgent bug fixes with no other work.

Even ignoring K&R C there is C89, C99, C11, C17, C23 and C2y is in progress. I don't see any way to squint at that and count four.

uncivilized 4 hours ago

The blog post says min-publish-age depends on the registry recording a pubtime. Why would pubtime not exist in the index?

epage 3 hours ago

It was only added to the registry spec a few releases ago. We can't guarantee that a registry has updated to provide it.

uncivilized an hour ago

Ah I see, but that means all new releases on crates.io will have that tag, correct?

shevy-java 6 hours ago

> The never type, spelled ! in code

Is that the raven that says Ni?

https://www.youtube.com/watch?v=bLiXjaPqSyY

fallingmeat 9 hours ago

wait other things not named jensen happened today? whoa

nazgulsenpai 9 hours ago

once outlook broke we can't even share jensen memes

Sol- 6 hours ago

Do language features still matter except insofar as they make the LLM verification loop better?

yodsanklai 4 hours ago

You're downvoted but it's a very legitimate question. My main language at work is Rust, I had some expertise with the language (and deep interest for functional programming languages and type theory), but I almost don't read the code nowadays, I just skim though the functions and type definitions. I'm genuinely surprised that there are so many comments commenting the release. I thought most programmers wouldn't care anymore.

KolmogorovComp 8 hours ago

I haven’t seen any blog on the topic but I fully believe in the age of coding agents and LLM backward compatibility is a bit less important than it has been in the past and should be relaxed in some cases to allow language to move faster.

raphlinus 8 hours ago

I get your point but disagree strongly. One topic that's been on my mind a lot is durability. The culture of LLMs is that everything is transitory. Why bother keeping a vibe coded codebase around for more than a few weeks, when the next big model iteration will be able to vibe code it better?

By contrast, free software in general, and Rust very much in particular, has cultural norms that things should last a while, rather than immediately being thrown away. I think that's worth preserving.

Surac 9 hours ago

Still non ABI. Why is ist so hard? what is holding them back. Andy why does it need a unsave keyword? can't they marshal types like other languages?

kbolino 7 hours ago

You can marshal values, but you can't marshal lifetimes, ownership, (lack of) thread-safety, (lack of) side-effects, etc. The ABI carries far less information than the Rust compiler relies on. Thus, any FFI call is inherently unsafe. It takes you, the programmer, with knowledge the compiler doesn't have and the architecture doesn't provide, to determine whether the code as you use it actually is safe or not.

adamch 9 hours ago

because they change the binary layout sometimes, and the benefits have not yet been judged to be worth freezing it.

vablings 5 hours ago

I mean they could also have a stable ABI for 2.0 and then and changes are breaking herein. Its kind of a choice problem

galangalalgol 7 hours ago

It is explained elsewhere, but a summary is that any language with generics is going to have any stable abi as a subset of the language. There is already a subset of the language that is a stable abi, it is the c abi. Expanding that subset has to be worth it in terms of what people actually want to export from a library. As I use generics fairly heavily I don't think I would use that expanded abi for anything.