Looks neat. Any notes on const generics e.g.`Array[T, N]`?
Rust's 2018 roadmap
11–20 of 253 posts
Re: Rust's 2018 roadmap
#12Go is making a large push to wasm as well. There is a branch/fork with a near complete wasm Go compiler. I'm interested in seeing how Rust and Go will compare in the future of the web. Who will win? ;)
Do they ship a GC with every webpage then or am I misunderstanding how it works?
In my experience, it's been easier to integrate two languages that have GC (JavaScript and Go) than two languages where only one is GC'd (JavaScript and Rust).
What will the interop with Rust and JavaScript look like? How will pointers be managed?
Re: Rust's 2018 roadmap
#13Re: Rust's 2018 roadmap
#14Looks neat. Any notes on const generics e.g.`Array[T, N]`?
The tracking issue for const generics is here: https://github.com/rust-lang/rust/issues/44580
Re: Rust's 2018 roadmap
#15Earlier quoted context omitted.
Do they ship a GC with every webpage then or am I misunderstanding how it works?
Each module has to have it's own GC. In my experience, it's been easier to integrate two languages that have GC (JavaScript and Go) than two languages where only one is GC'd (JavaScript and Rust). What will the interop with Rust and JavaScript look like? How will pointers be managed?
Re: Rust's 2018 roadmap
#16What I'm missing here is why we need to market it as a distinct Rust 2018 release. Do we have breaking changes that require a new epoch/edition? The "Language improvements" section doesn't clarify that. I just hope there is substance in this push, a real technical reason for a new release, not a marketing one.
Editions can do two things:
* add new keywords
* make lints go from warn to deny
Both of these things are "breaking." An example of the former is the "catch" keyword, allowing you to use ? inside a block rather than for the whole function body. An example of the latter is the module changes; the older style will be a warning in 2015 and an error in 2018.
Re: Rust's 2018 roadmap
#17You may have noticed a subtle change: what was previously called “epochs” is now “editions.” Lots of great stuff coming this year! As always, happy to answer any questions.
Re: Rust's 2018 roadmap
#18Looks neat. Any notes on const generics e.g.`Array[T, N]`?
Re: Rust's 2018 roadmap
#19Earlier quoted context omitted.
Each module has to have it's own GC. In my experience, it's been easier to integrate two languages that have GC (JavaScript and Go) than two languages where only one is GC'd (JavaScript and Rust). What will the interop with Rust and JavaScript look like? How will pointers be managed?
Since JS and Go do not have the same GC you have the same issue there.
Re: Rust's 2018 roadmap
#20What I'm missing here is why we need to market it as a distinct Rust 2018 release. Do we have breaking changes that require a new epoch/edition? The "Language improvements" section doesn't clarify that. I just hope there is substance in this push, a real technical reason for a new release, not a marketing one.
However, to be clear, editions are primarily a marketing/communication/project management tool. They give us a way to try to bring together a number of threads of work into a coherent whole, with a high level of polish across the board (including docs and tooling), and then to present that work to the world with a clear story.
It's worth comparing this to the recent Firefox Quantum release, which was likewise a singled out release on the normal train process that brought together a number of important changes, marketing/communication, and a high level of polish.