🆕🦀 Just moments ago, @rustlang 1.63.0 was released! 🎉
It's quite a big release, with even more exciting new features than usual!
Here's a thread with some of the highlights. 🧵
1/16
blog.rust-lang.org
It's quite a big release, with even more exciting new features than usual!
Here's a thread with some of the highlights. 🧵
1/16
blog.rust-lang.org
One of the features I'm most excited about is scoped threads! (Although I'm obviously biased, since I worked on this myself.)
As of today, you can use std::thread::scope() to spawn threads that borrow local variables, reducing the need for Arc! ✨
doc.rust-lang.org
2/16
As of today, you can use std::thread::scope() to spawn threads that borrow local variables, reducing the need for Arc! ✨
doc.rust-lang.org
2/16
Another major addition are types and traits for the native file descriptors/handles/sockets of various platforms.
E.g. OwnedFd represents a Unix file descriptor that should be closed, while BorrowedFd borrows a file descriptor using a lifetime.
See doc.rust-lang.org
4/16
E.g. OwnedFd represents a Unix file descriptor that should be closed, while BorrowedFd borrows a file descriptor using a lifetime.
See doc.rust-lang.org
4/16
The old borrow checker is now completely phased out, leaving only the "non-lexical lifetimes" (NLL) borrow checker. This shouldn't change anything for you, other than some differences (hopefully improvements) in how lifetime errors are reported.
See blog.rust-lang.org
9/16
See blog.rust-lang.org
9/16
Initial support for the Nintendo 3DS has been added to the Rust standard library. It's not an officially supported platform, so no guarantees, but this should make it easier to develop Rust software for this platform.
github.com
14/16
github.com
14/16
In addition, the Rust compiler can now target Apple's watchOS. This is also an unsupported platform, so no guarantees, but it should now be possible to compile (no_std) Rust code for watchOS. ⌚️
(Support for `std` ships in the next release, 1.64.)
github.com
15/16
(Support for `std` ships in the next release, 1.64.)
github.com
15/16
And that's the end of today's Rust release thread. 🏁
For a more complete list of changes in Rust 1.63, check out the release notes:
Rust: #version-1630-2022-08-11" target="_blank" rel="noopener" onclick="event.stopPropagation()">github.com
Cargo: #cargo-163-2022-08-11" target="_blank" rel="noopener" onclick="event.stopPropagation()">github.com
Clippy: #rust-163" target="_blank" rel="noopener" onclick="event.stopPropagation()">github.com
Enjoy! ✨🦀
16/16
For a more complete list of changes in Rust 1.63, check out the release notes:
Rust: #version-1630-2022-08-11" target="_blank" rel="noopener" onclick="event.stopPropagation()">github.com
Cargo: #cargo-163-2022-08-11" target="_blank" rel="noopener" onclick="event.stopPropagation()">github.com
Clippy: #rust-163" target="_blank" rel="noopener" onclick="event.stopPropagation()">github.com
Enjoy! ✨🦀
16/16
Loading suggestions...