Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DrMeepster
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
DrMeepster
2y ago
there's a wrapper type, AssertUnwindSafe to get around it. The whole concept of unwind safety was a mistake so don't worry about using it
2.
▲
by
DrMeepster
2y ago
please no. that article is nonsense. this is all nonsense.
3.
▲
by
DrMeepster
2y ago
Unsafe is one of the most important things in rust. The point is that you stick all the unsafety into well marked areas that can be more easily checked.
4.
▲
by
DrMeepster
3y ago
You don't actually explain why Mojo doesn't need Pin, you just say that it works. Does Mojo automatically fix up self referential pointers on moves or something?
5.
▲
by
DrMeepster
3y ago
See also https://doc.rust-lang.org/nightly/nomicon/leaking.html
6.
▲
by
DrMeepster
3y ago
Banning unsafe is actually really easy. Just one line `#![forbid(unsafe_code)]` at the start of your code.
7.
▲
by
DrMeepster
4y ago
Box operator isn't actually used in Box::new anymore. It's been replaced with a magic attribute, #[rustc_box]
8.
▲
by
DrMeepster
4y ago
Rust also tests all public rust code on github
9.
▲
by
DrMeepster
4y ago
So to be clear, you want it to be harder to update the compiler? I cannot interpret "rustup seems to encourage that behavior" as anything else but that.
10.
▲
by
DrMeepster
4y ago
"pronoun people" What, you cant handle queer people existing?
11.
▲
by
DrMeepster
5y ago
what does this mean? It sounds like you tried to make a funny programming insult, but it fell flat if that's what you were going for
12.
▲
by
DrMeepster
5y ago
This can never happen with regular string literals. String literals have the type `&'static str` but formatting returns a `String`.
13.
▲
by
DrMeepster
5y ago
this study is extremely flawed. It is impossible to tell if these results are from the garbage collection or how bronze violates rust aliasing
14.
▲
by
DrMeepster
5y ago
ok sure whatever but what does this have to do with the article?
15.
▲
by
DrMeepster
5y ago
that doesn't mean abuse isn't an asshole move
16.
▲
by
DrMeepster
5y ago
Would be a lot less work if he didn't do this package splitting nonsense
17.
▲
by
DrMeepster
5y ago
You can interpret its MIR (mid-level intermediate representation) like Miri or const evaluation does
18.
▲
by
DrMeepster
5y ago
or maybe it's because most people are not using tor browser and do not vote for links they can't open
19.
▲
by
DrMeepster
5y ago
RIP mutable noalias (again)
20.
▲
by
DrMeepster
6y ago
What is a custom lifetime?