Re:Go Protobuf: The New Opaque API
by tsimionescu on Tuesday December 17, 2024 @09:48AM
(#42441755)
Doesn't Rust have explicit support for uninitialized memory, using the borrow checker to make sure you don't access it before initializing it? Or does that just work for local variables, not members of structs?
[ Parent
| on HN ]
Re:Go Protobuf: The New Opaque API
by steveklabnik on Tuesday December 17, 2024 @11:32AM
(#42442732)
You can’t do the “declare before initializing” thing with structs, that’s correct.