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).
- Još 3 druga odgovora
Novi razgovor -
-
-
seems like
@pcwalton’s point is that this can’t be done by the compiler, so it requires buy-in from the entire ecosystem - Još 3 druga odgovora
Novi razgovor
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.