I feel that the quality of auto-generated docs is generally better for Rust than for other languages like C++ (e.g. via doxygen). This is because the tools make it trival to publish and distribute docs for your crate,…
Usually these inform tools that can be used to detect rule violations. For example, the rust constant evaluator can execute almost all Rust at run-time except for FFI. This allows you to write `cargo miri test` in your…
> We’ve had 2786 distinct people contribute. And that’s only to rust-lang/rust; not Cargo, not any of the libraries the team maintains, not any of the other kinds of work that doesn’t produce a commit. To put this into…
> What is to stop them from lying? Nothing, at the end of the day, whether giving someone else your data is a good idea or not remains a question of trust. Do you trust them to stop updating the canary in case they…
To make the path stop resolving, you'd have to perform an action (update the server, etc.). These canaries are not automatically updated: they are manually updated (that's the whole point). If you receive a gag order…
> Stuff that’s unstable isn’t in Rust; that’s why it can be changed or even wholesale removed at any time. The distinction is very important. I've seen you talk about "writing an OS kernel in Rust", but never heard you…
Most programming languages don't have a stable / unstable distinction at all, and unless one is "in the Rust loop", stating something like "_unstable_ Rust can do X" won't probably mean what the reader think it means.…
If they want to squeeze out the last ounce of performance out of the Rust toolchain it probably wouldn't make sense to use stable Rust anyways, so I don't think that's a big downside. Also, they are already relying on…
I see that you are using MMX intrinsics directly, like _mm_sub_pi8, but you are never calling _mm_empty (https://software.intel.com/sites/landingpage/IntrinsicsGuide...) as required by the SysV AMD64 ABI (and pretty…
You don't need destructors to release resources if you never release them.
> Following local news right now it seems people aren't even capable of "Rettungsgasse" (leaving a corridor for emergency vehicle access in traffic jams) anymore The problem with the Rettungsgasse is that you only need…
> t's totally OK however to not let into the lane people who're using an empty lane on purpose to pass by others and jump the queue In Germany, this behavior is explicitly forbidden by the law. If there is a merge, one…
The #[rustc_layout_scalar_valid_range_start(...)] and #[rustc_layout_scalar_valid_range_end(...)] attribute allows you to specify a niche, so you can build a Non255U8 if you want. For example:…
Where do you live? And why isn't this the norm everywhere ?
I can totally relate here. I remember that when I started running, "it's too cold", "it's too windy", "it's too dark", etc. were real issues. It was too dark and I didn't had enough experience running in the dark, and…
You don't have to pay 100$ to run a marathon. If you have a pair of running shoes and a normal running belt (for water and a gel) that will do. You just have to put them on and there you go. I've done a couple of…
I just think these captchas are broken in Chrome. Sometimes I use one of these operators by mistake and get instantaneously hellbanned from using google. The first time the captchas kept reappearing a whole day. I read…
Is there a good read somewhere about Travis CI vs Circle CI vs gitlab ?
Living in Germany, nobody here cares about Brexit. They don't show it in the news much. General opinion across my circles is that the UK should do whatever they want (leave or stay), but that they should stop wasting…
The amount of food the UK imports from the EU is irrelevant, the relevant question is how much food does the UK import ? This is because, as an EU member, the UK has trade agreements with many countries outside of the…
I don't think the OP literally meant that porting code was impossible, but rather, that it was very hard to do so and have the result run efficiently.
> How do Rust programmers deal with this? You compile with -C opt-level=1.
I feel that the quality of auto-generated docs is generally better for Rust than for other languages like C++ (e.g. via doxygen). This is because the tools make it trival to publish and distribute docs for your crate,…
Usually these inform tools that can be used to detect rule violations. For example, the rust constant evaluator can execute almost all Rust at run-time except for FFI. This allows you to write `cargo miri test` in your…
> We’ve had 2786 distinct people contribute. And that’s only to rust-lang/rust; not Cargo, not any of the libraries the team maintains, not any of the other kinds of work that doesn’t produce a commit. To put this into…
> What is to stop them from lying? Nothing, at the end of the day, whether giving someone else your data is a good idea or not remains a question of trust. Do you trust them to stop updating the canary in case they…
To make the path stop resolving, you'd have to perform an action (update the server, etc.). These canaries are not automatically updated: they are manually updated (that's the whole point). If you receive a gag order…
> Stuff that’s unstable isn’t in Rust; that’s why it can be changed or even wholesale removed at any time. The distinction is very important. I've seen you talk about "writing an OS kernel in Rust", but never heard you…
Most programming languages don't have a stable / unstable distinction at all, and unless one is "in the Rust loop", stating something like "_unstable_ Rust can do X" won't probably mean what the reader think it means.…
If they want to squeeze out the last ounce of performance out of the Rust toolchain it probably wouldn't make sense to use stable Rust anyways, so I don't think that's a big downside. Also, they are already relying on…
I see that you are using MMX intrinsics directly, like _mm_sub_pi8, but you are never calling _mm_empty (https://software.intel.com/sites/landingpage/IntrinsicsGuide...) as required by the SysV AMD64 ABI (and pretty…
You don't need destructors to release resources if you never release them.
> Following local news right now it seems people aren't even capable of "Rettungsgasse" (leaving a corridor for emergency vehicle access in traffic jams) anymore The problem with the Rettungsgasse is that you only need…
> t's totally OK however to not let into the lane people who're using an empty lane on purpose to pass by others and jump the queue In Germany, this behavior is explicitly forbidden by the law. If there is a merge, one…
The #[rustc_layout_scalar_valid_range_start(...)] and #[rustc_layout_scalar_valid_range_end(...)] attribute allows you to specify a niche, so you can build a Non255U8 if you want. For example:…
Where do you live? And why isn't this the norm everywhere ?
I can totally relate here. I remember that when I started running, "it's too cold", "it's too windy", "it's too dark", etc. were real issues. It was too dark and I didn't had enough experience running in the dark, and…
You don't have to pay 100$ to run a marathon. If you have a pair of running shoes and a normal running belt (for water and a gel) that will do. You just have to put them on and there you go. I've done a couple of…
I just think these captchas are broken in Chrome. Sometimes I use one of these operators by mistake and get instantaneously hellbanned from using google. The first time the captchas kept reappearing a whole day. I read…
Is there a good read somewhere about Travis CI vs Circle CI vs gitlab ?
Living in Germany, nobody here cares about Brexit. They don't show it in the news much. General opinion across my circles is that the UK should do whatever they want (leave or stay), but that they should stop wasting…
The amount of food the UK imports from the EU is irrelevant, the relevant question is how much food does the UK import ? This is because, as an EU member, the UK has trade agreements with many countries outside of the…
I don't think the OP literally meant that porting code was impossible, but rather, that it was very hard to do so and have the result run efficiently.
> How do Rust programmers deal with this? You compile with -C opt-level=1.