Y
Hacker News
new
|
ask
|
show
|
jobs
by
omega_rythm
4178 days ago
You really should have a look at the rust code this guy wrote. I would not call that last optimization type safe.
1 comments
the_mitsuhiko
4178 days ago
How so? The only unsafe part is the transmute which only saves 7 bytes anyways :P
link
exprL
4177 days ago
Even that is still type safe, just not portable. After all, every part of the memory is a collection of bytes (that is, a slice of u8) – whether you can access them is another story.
link