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 remember intensional type analysis being a pretty painful mess in Rust; does Swift have characteristics that makes it easier or did they just do it anyway?
-
They did it anyway :) https://gankra.github.io/blah/swift-abi/
- Još 1 odgovor
Novi razgovor -
-
-
This has the advantage of being able to support polymorphic recursion and impredicative polymorphism, though.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Č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.