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".
-
-
Why can't you do dictionary passing?
-
Because we don't have a uniform value representation, so dictionary passing turns into intensional type analysis and it becomes a huge mess (trust me, I wrote a ton of that code back in the day).
- 3 more replies
New conversation -
-
-
seems like
@pcwalton’s point is that this can’t be done by the compiler, so it requires buy-in from the entire ecosystem - 3 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.