Evolution of a Rust Programmer
Junior: Static Types Only
Senior: Generic Types + Traits, maybe some Static Types
Ancient: littany of where clauses and Higher Ranked Trait Bounds
Eldritch: Box<dyn Any> 
-
Show this thread
-
Replying to @mgattozzi
What is taking `&dyn Any` and the casting it to a concrete type which was checked against a type id which came from a static array that was populated by linker hacks using the `.ctors` section?
2 replies 0 retweets 1 like -
Replying to @sgrif
Abyss Gazer also I've seen this
https://crates.io/crates/ctor 1 reply 0 retweets 2 likes
Replying to @mgattozzi
Yeah, this code uses https://crates.io/crates/inventory … which depends on it. https://github.com/sgrif/swirl/blob/2ded3b270a945cd763a762261ca560ced4c55694/swirl/src/registry.rs …
3:31 PM - 22 Jul 2019
0 replies
0 retweets
2 likes
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.