Y
Hacker News
new
|
ask
|
show
|
jobs
by
loeg
1299 days ago
Yes, exactly. I was using this for zero-copy serialization into a buffer. At the time, I don’t believe that API had been stabilized yet.
1 comments
estebank
1299 days ago
That method has been around since 1.0 (as documented in the source code). Were you using Rust before 2015? If so,
a lot
has changed :)
link
loeg
1299 days ago
No, post-1.0. I don't remember exactly why I had to roll my own with unsafe, but it was essentially the same thing.
link