Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
omega_rythm
· 11y ago · 0 comments
You really should have a look at the rust code this guy wrote. I would not call that last optimization type safe.
Comments
[–]
the_mitsuhiko
11y ago
How so? The only unsafe part is the transmute which only saves 7 bytes anyways :P
[–]
exprL
11y 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.