News for hackers. Stuff that matters.
Re:Is Rust web yet? by darthrupert on Friday October 30, 2020 @06:51AM (#24940965)
Rocket still requires nightly. Rust folks should stop normalizing the use of nightly. Rust was "stabilized" almost 9 (edit 5,5 actually) years ago!
Re:Is Rust web yet? by simias on Friday October 30, 2020 @06:56AM (#24940989)
I agree regarding the use of nightly Rust but fortunately it shouldn't be too long until a stable-compatible Rocket is released: https://github.com/SergioBenitez/Rocket/issues/19
Re:Is Rust web yet? by bschwindHN on Friday October 30, 2020 @06:54AM (#24940981)
Wasn't Rust "stabilized" with its 1.0 release in 2015?
Re:Is Rust web yet? by Ygg2 on Friday October 30, 2020 @07:44AM (#24941212)
Yes. But meta programming facilities aren't stabilized for obvious reasons (it ossifies the current implementation).
Re:Is Rust web yet? by paavohtl on Friday October 30, 2020 @08:02AM (#24941318)
Most meta programming facilities are stabilized, most importantly procedural macros.
Re:Is Rust web yet? by Ygg2 on Friday October 30, 2020 @08:25AM (#24941494)
I'm not up to date with Rust tbh. Last time I checked Rocket used proc macros which were nightly only. But maybe there is some other issue.
Re:Is Rust web yet? by paavohtl on Friday October 30, 2020 @08:34AM (#24941565)
Most procedural macros were stabilised in 2018, but some smaller features related to them were stabilised later. Rocket also used a ton of other nightly features beyond metaprogramming, which have either been stabilised by the compiler or replaced with stable solutions by Rocket.
Re:Is Rust web yet? by paavohtl on Friday October 30, 2020 @08:01AM (#24941314)
Technically speaking, stable Rocket requires nightly Rust, but nightly (master) Rocket runs on stable Rust. The compiler has finally stabilised all the necessary features for Rocket 1.0, it's just up to Rocket to finish their next release.
Re:Is Rust web yet? by jeltz on Friday October 30, 2020 @06:53AM (#24940974)
Do you have any idea why that is? I am pretty sure procedural macros in an expression context landed in stable 1 or 2 releases ago.
Re:Is Rust web yet? by mathstuf on Friday October 30, 2020 @07:12AM (#24941074)
I believe they are waiting for releases of dependencies to not declare feature requirements. There's an issue linked in this subthread already for tracking it.
Re:Is Rust web yet? by steveklabnik on Friday October 30, 2020 @10:53AM (#24942836)
That is already done, and master builds on stable. They haven't cut a release yet because there's more they want in the release than just "whatever is on HEAD when we compile on stable."
Re:Is Rust web yet? by nicoburns on Friday October 30, 2020 @07:16AM (#24941092)
Rocket's development process is quite slow, and they haven't but out a release since then.