Viewing profile — voorwerpjes
voorwerpjes
HN member- Joined
- Fri, Apr 02, 2021, 3:02 AM UTC
- HN karma
- 23
- Public activity
- 9 items
- HN profile
- View on Hacker News ↗
About voorwerpjes
Recent public activity
-
comment
Comment #34507159
I like how this highlights the pitfalls of using `as` to cast between types. The article says to prefer using `try_into()` instead of `as`, which is a good suggestion when availabl…
-
comment
Comment #33372987
These types of GRBs are caused by the death of massive stars with low metallicity, not active galactic nuclei. There absolutely could be a GRB inside of the milky way galaxy pointe…
-
comment
Comment #33091827
Very cool! I don't understand the motivation about lifetimes in sync rust not being able to be arbitrary. I'm also confused because most of the time went you want to send data arou…
-
comment
Comment #32966627
I agree with you but just for completeness the rust equivalent is unsafe { *ten_things.get_unchecked_mut(11) = blah } Which goes to show that usually the unsafe methods are more ve…
-
comment
Comment #32754811
This would be really cool! you should open up a RFC for it.
-
comment
Comment #32002549
Leaks can happen in rust. The guarantee safe rust makes is that memory leaks cannot result in undefined behavior.
-
comment
Comment #31436811
There are similar issues in Rust to the one Hickey talks about in Java, in terms of cognitive overload and difficulty in a human parsing the program. However, I've found rust large…
-
comment
Comment #30400130
Former academic scientist, now software engineer. I think this article misses the point that rarely in science is the code the actual product/deliverable. The way a scientific code…
-
comment
Comment #29167735
For a job interview I did the same parallelization of a`isPrime` in Rust, and it the basically as simple as the one for Julia, replacing a call of `into_iter()` with `into_par_iter…