Top
Best
New

Posted by mbStavola 5 hours ago

Rust 1.100(blog.rust-lang.org)
320 points | 138 commentspage 2
lukax 5 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 4 hours ago|
"Awesome timing."

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

hobofan 5 hours ago||
Thanks to all the maintainers and contributors! That's one of the biggest releases in a long time!
fock 4 hours ago|
also humans contributing! Very cool!
karavelov 5 hours ago||
Finally, "never" happened
JoshTriplett 4 hours ago||
And the running joke that the type is named after its stabilization date can finally be put to rest. :)
hbn 4 hours ago||
We got "never" in Rust before GTA6

Two jokes that are expiring this month

jmyeet 4 hours ago||
One might call this the moment when nothing never occurs [1].

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

fluffiac 4 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 4 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.)

wpollock 2 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?

einpoklum 1 hour 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.

Sol- 1 hour ago||
Do language features still matter except insofar as they make the LLM verification loop better?
yodsanklai 42 minutes 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.
shevy-java 2 hours ago||
> The never type, spelled ! in code

Is that the raven that says Ni?

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

fallingmeat 5 hours ago||
wait other things not named jensen happened today? whoa
nazgulsenpai 5 hours ago|
once outlook broke we can't even share jensen memes
theapiartist 5 hours ago|
[dead]
More comments...