LWN: Comments on "Rust 1.50.0 released" https://lwn.net/Articles/845748/ This is a special feed containing comments posted to the individual LWN article titled "Rust 1.50.0 released". en-us Sat, 30 Aug 2025 23:12:14 +0000 Sat, 30 Aug 2025 23:12:14 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Symmetric integer type https://lwn.net/Articles/846844/ https://lwn.net/Articles/846844/ david.a.wheeler <div class="FormattedComment"> I like this idea!<br> <p> I wonder about the name. s32 might be confused with signed 32 (i32 in Rust, but &quot;signed int&quot; is a thing in C/C++). m32 (symMetric 32) might be safer?<br> </div> Sat, 20 Feb 2021 01:00:42 +0000 Niches and Option<File> https://lwn.net/Articles/846221/ https://lwn.net/Articles/846221/ mathstuf <div class="FormattedComment"> How about s32 (for symmetric 32-bit integer)? Extrapolate as needed. Sounds like a useful crate (though I don&#x27;t know how easy it is to declare a niche for a non-stdlib crate) to use as an experiment to see how it works out.<br> </div> Sun, 14 Feb 2021 22:27:55 +0000 Niches and Option<File> https://lwn.net/Articles/846212/ https://lwn.net/Articles/846212/ JoeBuck Using a niche to say that a File can never be -1, and -1 is used as the "null" value is an interesting idea. This reminds me that the most common integer overflow bug I've had to deal with has been related to the handling of -x where x is a signed integer type and x is the most negative value (INT_MIN in C and C++). Maybe it would have been better to have the valid range of signed integer types exclude the problematic value that is its own negative, and treat that as the niche. Then Option&lt;i32&gt; could fit in four bytes. Of course, it's too late to do that now, so we would need new, symmetric signed integer types to allow this. <p> Perhaps it's already been done? Sun, 14 Feb 2021 19:54:05 +0000 Rust 1.50.0 released https://lwn.net/Articles/845947/ https://lwn.net/Articles/845947/ mathstuf <div class="FormattedComment"> I use Fedora&#x27;s Rust package pretty much all the time, but I have rustup to test my minimum Rust versions. CI is using nightly clippy, so being able to iterate with that locally is nice too. It&#x27;s really handy even if you&#x27;re using the distro packages by default.<br> </div> Fri, 12 Feb 2021 14:08:11 +0000 Rust 1.50.0 released https://lwn.net/Articles/845918/ https://lwn.net/Articles/845918/ dcz <div class="FormattedComment"> Do you know what you&#x27;re missing out on though? Bevy doesn&#x27;t publish benchmarks done on the stable Rust version, and I took your statement to mean you haven&#x27;t tried stable yet, whereas I never tried nightly.<br> <p> Of course, this depends on how much you value staying on the stable compiler. To me, as someone using the Debian package, taking a speed hit is worth it if I don&#x27;t have to use rustup.<br> </div> Fri, 12 Feb 2021 08:33:51 +0000 Rust 1.50.0 released https://lwn.net/Articles/845907/ https://lwn.net/Articles/845907/ kragil <div class="FormattedComment"> Sure, but some docs say you should use the nightly compiler for bevy because the fast compilation is one of bevys features. So every time you comple your game you think: I am missing out. <br> <p> Not great.<br> </div> Fri, 12 Feb 2021 05:18:23 +0000 Rust 1.50.0 released https://lwn.net/Articles/845904/ https://lwn.net/Articles/845904/ dcz <div class="FormattedComment"> Bevy hasn&#x27;t required the nightly Rust compiler since at least Bevy 3.0. Nightly can supposedly provide faster compilation, but I&#x27;ve never tried that.<br> </div> Fri, 12 Feb 2021 04:32:48 +0000 Rust 1.50.0 released https://lwn.net/Articles/845849/ https://lwn.net/Articles/845849/ josh <div class="FormattedComment"> At this point, all the features that Rocket needs are in the stable compiler, and the next stable release of Rocket should work on stable Rust. Work on the next Rocket release is ongoing.<br> </div> Thu, 11 Feb 2021 20:57:01 +0000 Rust 1.50.0 released https://lwn.net/Articles/845823/ https://lwn.net/Articles/845823/ kragil <div class="FormattedComment"> I just started with Rust (mostly because of the Bevy game engine) and besides the slow compile times it is fairly nice so far.<br> I hope this release will lessen the reliance on the nightly compiler for all the projects I care about (rocket and bevy). That was a bit offputting.<br> </div> Thu, 11 Feb 2021 19:29:56 +0000