Easy to say "monomorphization is awful and Rust should never have done it", harder to say "I want all generic functions to be compiled to bytecode and to embed a Rust interpreter in every binary".
-
-
I guess I'm confused about why the dictionary wouldn't just be able to handle the difference.
-
It can, but it turns into a huge mess because there are all sorts of problems. e.g. you have to be able to create dictionaries at runtime because of types like tuple types like (T,T) and you have to make functions like “copy these bits”, “get the alignment of this type”, virtual.
- 1 more reply
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.