First class modules avoid some of the problems with protocols/typeclasses but it seems like it would be more verbose in many cases - what is the state of the art here?
-
-
Does Rust have dynamic casts (or trait lookup, whatever)?
-
It has opt-in dynamic_cast through Any: https://doc.rust-lang.org/std/any/ No QueryInterface-style trait lookup though.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.