Announcing Rust 1.3
blog.rust-lang.org
blog.rust-lang.org
For the past few cycles we've been speaking to production users of Rust and determining what features were keeping them on nightly builds rather than stable releases, and have been gradually stabilizing those APIs and features. Rust 1.4 (due October 29) will be the first release with the aforementioned stable items. So if your company is currently using Rust in production and you've been tracking the nightly builds, instead of updating to 1.5-nightly today I heartily encourage you to upgrade to 1.4-beta instead and help us test the next release. If you have any trouble, let us know at rust-community@googlegroups.com (or at the email address in my HN profile) and we'll look into getting what you need stabilized in time for Rust 1.5. :)
"Porting Rust on Windows from the GNU toolchain to MSVC continues (https://github.com/rust-lang/rust/pull/26569, https://github.com/rust-lang/rust/pull/26741, https://github.com/rust-lang/rust/pull/26741, https://github.com/rust-lang/rust/pull/27210). It is still not recommended for use in 1.3, though should be fully-functional in the 64-bit 1.4 beta (https://static.rust-lang.org/dist/rust-beta-x86_64-pc-window...)."
https://github.com/rust-lang/rust/blob/master/RELEASES.md#mi...
http://netmarketshare.com/operating-system-market-share.aspx...
The only change between the Windows/Linux was modifying the paths from " / " to " \\ ". I could just git clone, and pass all tests out of the box.
This is also my experience moving a code base from Linux x86_64 to ARMv7.
None of these we're dipping heavily into unsafe code, so ymmv.
I've started using the build.rs capabilities of Cargo recently and between the solid implementation of Process(including pipes) and general robust-ness it's been refreshing.
https://static.rust-lang.org/dist/rust-beta-x86_64-pc-window...
Note, this requires Visual Studio 2013 or 2015.
(Not that this decision was just because of Firefox, mind you. Users ask for it.)
> Is a large portion of your contributors from China?
I don't know about a 'large portion' exactly, but yes, there is a lot of attention, interest, usage, and contributors from China.Is that simply because of the larger population, or is it actually more popular among developers in percentages? If the later, any idea why?
The argument frequently used is if supported platforms were decided by userbase size there would be no reason to support FreeBSD or Linux.
I don't know where it is on the stabilization timeline but it would be nice to see the ability to move a heap value out of a Box<T> without using the stable APIs.
I've a few use cases where another languages is calling Rust and I want to return an allocated struct over FFI but std::mem::transmute(Box<T>) has a size mismatch and std::boxed::from_raw/into_raw are unstable.
FYI, Box::into_raw will be stable in Rust 1.4, next release.
This sounds like trying to fit a fat pointer in a regular one. into_raw won't help with that.