Re:Improving Interoperability Between Rust and C++
by Ericson2314 on Monday February 05, 2024 @04:29PM
(#39267485)
Erased is how types in Haskell work. Type classes are compiled as "dictionaries": structs of methods. Sometimes they can specialize them (just pull the thing out of the dictionary statically), but in general they become that extra parameters at run time.
[ Parent
| on HN ]
There are no comments on this comment yet.