3 ms·
No. THe fundamental difference is that rust traits cannot convey structural information , classes (java and c++ can)
by soulbadguy 10y ago
No. THe fundamental difference is that rust traits cannot convey structural information , classes (java and c++ can)
- steveklabnik 10y agoThere's an open (and desired) RFC for this. It's not likely to happen soon since it's not a super high priority, but I'd be willing to bet it gets merged in the future.
- soulbadguy 10y agoFair enough, as long as we agree that classes/struct in C++/java a quite a different beast than just monomorphic traits.
- steveklabnik 10y agoAbsolutely, you're totally right with regards to today.