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".
-
Prikaži ovu nit
-
I'm increasingly convinced that the interpreter solution is the only reasonable alternative for Rust.
6 replies 1 proslijeđeni tweet 15 korisnika označava da im se sviđaPrikaži ovu nit -
Odgovor korisniku/ci @pcwalton
Have you considered what Swift does with generating vtables for the functionality required by the generic function?
1 reply 0 proslijeđenih tweetova 0 korisnika označava da im se sviđa
Odgovor korisniku/ci @NikolaiVazquez
Yes, see other replies
22:38 - 30. sij 2020.
0 replies
0 proslijeđenih tweetova
1 korisnik označava da mu se sviđa
Č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.