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".
-
-
People retweeting this like they think I’m kidding
- 7 more replies
New conversation -
-
-
Generics make me mad, as Guy Steele might have said.
-
Seriously though, not having generics doesn’t make the problem go away—it just makes you choose between monomorphization or vtables manually as a programmer instead of having it be the compiler’s problem
- 4 more replies
New conversation -
-
-
Nope
-
Maybe
@graydon_pub is right and nonuniform representation is bad though
End of conversation
New conversation -
-
-
I like Vec<T> but beyond that it's a slippery slope
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
OK, Go-er
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Rob Pike has a burner?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.