Re:Five Years of Rust
by brutt on Friday May 15, 2020 @11:24AM
(#23193227)
It's good thing, but it leads to error in code which must talk to C or network, where enum's are not cast in stone.
[ Parent
| on HN ]
Re:Five Years of Rust
by CameronNemo on Friday May 15, 2020 @12:16PM
(#23193878)
You really should not be casting data structures sent over the network directly to local data structures, unless you are using capnproto or another zero copy protocol that does that safely.