Hacker News new | ask | show | jobs
by the_mitsuhiko 4180 days ago
How so? The only unsafe part is the transmute which only saves 7 bytes anyways :P
1 comments

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.