News for hackers. Stuff that matters.
Re:Rust 1.21 by jnordwick on Thursday October 12, 2017 @01:32PM (#15459634)
No matter how bad those Learn X in 21 Days books were, I really wish there was something for Rust. Sometimes it seems like Rust moves too fast and docs are always quickly out if date or fail to inclusive enough to be useful.

I often hear "since 1.x you should be doing y with z feature now but that is only in current and the rust book doesn't have a section on it yet"

Rust to me is still very much feels to me a moving target.

Re:Rust 1.21 by steveklabnik on Thursday October 12, 2017 @01:33PM (#15459650)
These days, new features are required to be documented before they're stabilized, so you shouldn't be running into that anymore.

Plus, even with that advice, you can still do y the old way; we don't break things, we add new ones. Idioms are always evolving in every language, though it's true that in new ones, they evolve faster.

Re:Rust 1.21 by Animats on Thursday October 12, 2017 @01:58PM (#15459841)
At the moment, there are two versions of the Rust book online. One is obsolete and the other is unfinished.[1]

[1] https://doc.rust-lang.org/book/

Re:Rust 1.21 by steveklabnik on Thursday October 12, 2017 @02:05PM (#15459890)
To be clear about the unfinished status of the new book, it's just becuase we have much, much higher standards this time around. All of the chapters have a draft of some kind, and are basically in various stages of editing, plus I need to finish the appendix. That editing is "by the professional editors at No Starch", so it's a bit of a higher bar than most docs included with open source projects.

The old book is not so much "obsolete" as it is "has significant weaknesses as a text so we re-wrote it"; everything in there still applies, and still works.

Re:Rust 1.21 by vanderZwan on Thursday October 12, 2017 @03:47PM (#15460746)
> That editing is "by the professional editors at No Starch", so it's a bit of a higher bar than most docs included with open source projects.

How is your experience with No Starch, if I may ask? I have a few eBooks by them that I got in various humble bundles; they're usually decent enough introductions to the subject matter at hand.

Re:Rust 1.21 by steveklabnik on Thursday October 12, 2017 @04:21PM (#15460997)
I have generally enjoyed the experience. I own a lot of their books. They were one publisher that generally aligned with our open source values. The book is much better because of them.
Re:Rust 1.21 by biokoda on Thursday October 12, 2017 @01:42PM (#15459730)
That is entirely untrue. Releases are regular, big changes are anything but.
Re:Rust 1.21 by kbenson on Thursday October 12, 2017 @04:01PM (#15460863)
Responding "this is entirely untrue" to someone who is saying how something feels to them is not only overly harsh, but entirely inappropriate. You cannot dictate people's feelings. You might think they have misconceptions that are leading to how they feel, but that doesn't make how they feel untrue.

I can understand if you feel frustrated because you don't think this feeling is warranted, but this is not a constructive way to express that, nor fix the problem.

Re:Rust 1.21 by Nomentatus on Friday October 13, 2017 @01:05AM (#15463392)
I think there was just enough content in his reply to escape the accusation that he was merely gainsaying (which would be dictating feelings, as opposed to providing information that might dispel them.)
Re:Rust 1.21 by kibwen on Thursday October 12, 2017 @01:45PM (#15459748)
Depending on how you define "big changes". For example, I consider the static reference convenience feature described in the 1.21 release announcement to be a small new feature, but it does affect how people write code (that's kind of the point! :P ).
Re:Rust 1.21 by biokoda on Thursday October 12, 2017 @01:55PM (#15459826)
> Depending on how you define "big changes".

The way every reasonable person would. This release being the obvious example.

Re:Rust 1.21 by valarauca1 on Thursday October 12, 2017 @01:56PM (#15459829)

     Rust to me is still very much feels to me a moving target. 
This is FUD mostly, Rust uses the same release model as Go, or Linux.

1.X is backwards compatible to 1.(X-N), and the releases are on a regular cycle... like Go and Linux (well minus semvar stuff, linux just doesn't break userland). Each release _does_ add new things, but they don't do _break_ old things.

Re:Rust 1.21 by majewsky on Thursday October 12, 2017 @05:46PM (#15461575)
I think that's missing the point. A language can be a moving target while still being backwards-compatible. The textbook example is C++: A C++17 compiler can compile C++03 code, C++11 code and C++14 code [1], so the language is backwards-compatible. Meanwhile, each new release seems to add so many new features to the language and stdlib that idiomatic C++17 code can be wildly different from idiomatic C++11 code and even more so from idiomatic C++03 code.

[1] Except, probably, for corner cases that I'm not aware of because I don't do C++ anymore.

Re:Rust 1.21 by rkangel on Friday October 13, 2017 @04:37AM (#15464019)
It's not quite like that in Rust though - in C++ modern features replace older features but in Rust that only happens in the detail. There isn't often an equivalent to unique_ptr/shared_ptr changing how you should to all pointer work.
Re:Rust 1.21 by ben0x539 on Thursday October 12, 2017 @03:43PM (#15460724)
its not just the lang. can't use two random libraries together because one still uses old hyper and another uses new hyper.
Re:Rust 1.21 by valarauca1 on Monday October 16, 2017 @06:03PM (#15487009)
DLL hell is far older then Rust.