Something else I usually don't see: A system hitting a fail-safe is a lot easier to detect and handle from the outside than one that just enters an unknown invalid state. Like, if the rule were "Always-Keep-Running"…
I've felt kind of miffed in the past for not being able to join Discord communities. Discord always wanted my phone number, and I wasn't ready to share that. I am no longer miffed :)
Not only Trump. Without the rules, Musk or Putin could run as well, the latter even work-from-home style. Also, if justice being blind is so bad before an election, why not after? Figuring out who won shouldn't involve…
This just gives all the power to abusers. I'd rather fix the abuse (the cause of the particular burnout), because it impacts not only the Rust developers, but all current and future contributors, and indirectly us users…
You know, people outside the Rust community keep bringing this up as some kind of argument against it. But to me, it's one of the biggest points for it; because the important thing about `unsafe` encapsulation isn't…
Small nitpick: Fortunately, `Rc` and `Arc` actually don't require the nightly feature.
From the Linux Plumbers Conference from a couple days ago: https://www.youtube.com/watch?v=Xw9pKeJ-4Bw&t=8040s (Warning: It's a longer stream, but the timestamp should be where the driver is shown. There's a table of…
They're usually edge cases. For example let-chains changed the parsing logic for if-let constructs across all editions. I expect these to become even less frequent with ever rising amounts of Rust code that isn't on…
Just tried that command (wanted to give rebellion a bit of a go anyway) on my dual-core 4GB laptop with an SSD: real 5m18,721s; user 6m22,607s; sys 0m20,515s So, given that the SSD seems to make a difference, and…
Been here 12.5 years and have 439 points. So I'm _almost_ there :)
Honestly, after running into the phone number requirement it's gonna be hard to get back my trust. You required the phone number after you got all my account details. You wouldn't let me remove my account without first…
Yeah. I'd assume a 2018 specific one would show up below https://github.com/rust-lang/rust/tree/master/src/test/ui/ru... if needed.
It's the part of the Rust compiler test suite that makes sure odd syntactical combinations still behave as they are supposed to.
You can store it independently without it being borrowed. So your structs don't need lifetimes. I consider it a midpoint between `String` and `&str`. Most of the convenience of `String` (barring mutation) but less…
A `&str` is a borrow of the string slice data, and has borrowing semantics. An `std::sync::Arc<str>` on the other hand isn't borrowed but has shared ownership and is atomically reference counted. Does that answer the…
I usually just have a `type Text = std::sync::Arc<str>` at the root, specifically during prototyping :)
You might want to look into using `Arc<str>`. It's an immutable string slice that can have many owners and will be dropped once the last one is done with it.
> That last one is a common enough idea nowadays. Prominent people in every community advocate enforcing code style rules (Douglas Crawford's Javascript linter is famous as an early example and gofmt is practically…
From my perspective, I'd say it's because there isn't much talk about Ada as a technology. It comes up a lot when Rust is discussed, but I never see details besides built-in ranges for numbers. I can't even remember…
I actually tend to try and work with them. With this article as well, I tried to change my data settings instead of just leaving. But I gave up after following the 7th link without encountering a single setting, just…
An edition is just another word for version. If the language were truly backwards compatible, you wouldn't have to tell tools like `rustc` which version/edition your code is written in.
How do you square your interpretation with the comment I linked to above?
Where do you get that understanding? All the comments and the summaries I've seen by language team members on this give me a different impression. See this comment from Niko for example:…
Once again something is at odds here. You give resounding "Yes" comments, but in the backwards compatibility discussions I had with language team members, those "Yes" comments were actually "not really our problem"…
No, that wasn't for soundness fixes. This is from the discussion surrounding syntax changes like turbofish or chained if-let bindings. Can you point me towards an authoritative post in the turbofish discussion that says…
Something else I usually don't see: A system hitting a fail-safe is a lot easier to detect and handle from the outside than one that just enters an unknown invalid state. Like, if the rule were "Always-Keep-Running"…
I've felt kind of miffed in the past for not being able to join Discord communities. Discord always wanted my phone number, and I wasn't ready to share that. I am no longer miffed :)
Not only Trump. Without the rules, Musk or Putin could run as well, the latter even work-from-home style. Also, if justice being blind is so bad before an election, why not after? Figuring out who won shouldn't involve…
This just gives all the power to abusers. I'd rather fix the abuse (the cause of the particular burnout), because it impacts not only the Rust developers, but all current and future contributors, and indirectly us users…
You know, people outside the Rust community keep bringing this up as some kind of argument against it. But to me, it's one of the biggest points for it; because the important thing about `unsafe` encapsulation isn't…
Small nitpick: Fortunately, `Rc` and `Arc` actually don't require the nightly feature.
From the Linux Plumbers Conference from a couple days ago: https://www.youtube.com/watch?v=Xw9pKeJ-4Bw&t=8040s (Warning: It's a longer stream, but the timestamp should be where the driver is shown. There's a table of…
They're usually edge cases. For example let-chains changed the parsing logic for if-let constructs across all editions. I expect these to become even less frequent with ever rising amounts of Rust code that isn't on…
Just tried that command (wanted to give rebellion a bit of a go anyway) on my dual-core 4GB laptop with an SSD: real 5m18,721s; user 6m22,607s; sys 0m20,515s So, given that the SSD seems to make a difference, and…
Been here 12.5 years and have 439 points. So I'm _almost_ there :)
Honestly, after running into the phone number requirement it's gonna be hard to get back my trust. You required the phone number after you got all my account details. You wouldn't let me remove my account without first…
Yeah. I'd assume a 2018 specific one would show up below https://github.com/rust-lang/rust/tree/master/src/test/ui/ru... if needed.
It's the part of the Rust compiler test suite that makes sure odd syntactical combinations still behave as they are supposed to.
You can store it independently without it being borrowed. So your structs don't need lifetimes. I consider it a midpoint between `String` and `&str`. Most of the convenience of `String` (barring mutation) but less…
A `&str` is a borrow of the string slice data, and has borrowing semantics. An `std::sync::Arc<str>` on the other hand isn't borrowed but has shared ownership and is atomically reference counted. Does that answer the…
I usually just have a `type Text = std::sync::Arc<str>` at the root, specifically during prototyping :)
You might want to look into using `Arc<str>`. It's an immutable string slice that can have many owners and will be dropped once the last one is done with it.
> That last one is a common enough idea nowadays. Prominent people in every community advocate enforcing code style rules (Douglas Crawford's Javascript linter is famous as an early example and gofmt is practically…
From my perspective, I'd say it's because there isn't much talk about Ada as a technology. It comes up a lot when Rust is discussed, but I never see details besides built-in ranges for numbers. I can't even remember…
I actually tend to try and work with them. With this article as well, I tried to change my data settings instead of just leaving. But I gave up after following the 7th link without encountering a single setting, just…
An edition is just another word for version. If the language were truly backwards compatible, you wouldn't have to tell tools like `rustc` which version/edition your code is written in.
How do you square your interpretation with the comment I linked to above?
Where do you get that understanding? All the comments and the summaries I've seen by language team members on this give me a different impression. See this comment from Niko for example:…
Once again something is at odds here. You give resounding "Yes" comments, but in the backwards compatibility discussions I had with language team members, those "Yes" comments were actually "not really our problem"…
No, that wasn't for soundness fixes. This is from the discussion surrounding syntax changes like turbofish or chained if-let bindings. Can you point me towards an authoritative post in the turbofish discussion that says…