2 ms·
> For instance, Rust has a pretty solid type system (not quite Haskell, but more intricate than Java) and lets you do things like generate serialization and des
by bradrn 3y ago
> For instance, Rust has a pretty solid type system (not quite Haskell, but more intricate than Java) and lets you do things like generate serialization and deserialization code for arbitrary structs at compile time, which most languages would do at runtime by inspecting fields or something similar.
For that matter, Haskell can do exactly the same thing, and as you note its type system is even more sophisticated than Rust’s.