5 ms·
> Rust-only: it doesn't sacrifice simplicity and performance for cross-language compatibility A serialization format for one language only? That's pretty rich.
by eeZah7Ux 6y ago
> Rust-only: it doesn't sacrifice simplicity and performance for cross-language compatibility
A serialization format for one language only? That's pretty rich.
- Macha 6y agoPython's Pickle, java.io.Serializable, Ruby's marshal, plenty of examples of this, though pretty much all of them come with the caveat that they are _not_ for untrusted data sources, or even really data sources other than the application that produced them in the first place.
- taintegral 6y agoYou can also turn on the `strict` feature for C compatibility, but without any way to get the type definitions into a C header it's kind of pointless. I'm not interested in adding C compatibility because I don't want to write C, but I also won't go out of my way to impede others who might want to.