Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
floofy222
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
floofy222
8y ago
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, and people make use of
2.
▲
by
floofy222
8y ago
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 project, and run your
3.
▲
by
floofy222
8y ago
> 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 more context:
4.
▲
by
floofy222
8y ago
> 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 become compromised? If
5.
▲
by
floofy222
8y ago
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 you just do n
6.
▲
by
floofy222
8y ago
> 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 phr
7.
▲
by
floofy222
8y ago
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 thi
8.
▲
by
floofy222
8y ago
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 "u
9.
▲
by
floofy222
8y ago
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 pret
10.
▲
by
floofy222
8y ago
You don't need destructors to release resources if you never release them.
11.
▲
by
floofy222
8y ago
> 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 one
12.
▲
by
floofy222
8y ago
> 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 car of e
13.
▲
by
floofy222
8y ago
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: #[rustc_layout_scalar_valid_range_end(254)] str
14.
▲
by
floofy222
8y ago
Where do you live? And why isn't this the norm everywhere ?
15.
▲
by
floofy222
8y ago
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 experien
16.
▲
by
floofy222
8y ago
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 "Sunday mara
17.
▲
by
floofy222
8y ago
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 somewhere that the ba
18.
▲
by
floofy222
8y ago
Is there a good read somewhere about Travis CI vs Circle CI vs gitlab ?
19.
▲
by
floofy222
8y ago
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 EU's politici
20.
▲
by
floofy222
8y ago
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 EU. After a no deal Br
21.
▲
by
floofy222
8y ago
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.
22.
▲
by
floofy222
8y ago
> How do Rust programmers deal with this? You compile with -C opt-level=1.