Twitter | Pretraživanje | |
Patrick Walton 30. sij
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".
Reply Retweet Označi sa "sviđa mi se"
Joe Groff 30. sij
Odgovor korisniku/ci @pcwalton
turning a big dial taht says "bytecode" and "monomorphization" and constantly looking back at the audience for approval like a contestant on the price is right
Reply Retweet Označi sa "sviđa mi se"
Slava Pestov
Maybe the real problem is that generics are actually bad
Reply Retweet Označi sa "sviđa mi se" More
Slava Pestov 31. sij
Odgovor korisniku/ci @jckarter @pcwalton
People retweeting this like they think I’m kidding
Reply Retweet Označi sa "sviđa mi se"
Sam Tobin-Hochstadt 31. sij
Odgovor korisniku/ci @slava_pestov @pcwalton @jckarter
Generics make me mad, as Guy Steele might have said.
Reply Retweet Označi sa "sviđa mi se"
Patrick Walton 31. sij
Odgovor korisniku/ci @samth @slava_pestov @jckarter
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
Reply Retweet Označi sa "sviđa mi se"
Joe Groff 31. sij
Odgovor korisniku/ci @slava_pestov @pcwalton
Nope
Reply Retweet Označi sa "sviđa mi se"
Joe Groff 31. sij
Odgovor korisniku/ci @slava_pestov @pcwalton @graydon_pub
Maybe is right and nonuniform representation is bad though
Reply Retweet Označi sa "sviđa mi se"
Cameron Hart 31. sij
Odgovor korisniku/ci @slava_pestov @pcwalton @jckarter
I like Vec<T> but beyond that it's a slippery slope
Reply Retweet Označi sa "sviđa mi se"
Rustacean::from("") 31. sij
Odgovor korisniku/ci @slava_pestov @jckarter @pcwalton
OK, Go-er
Reply Retweet Označi sa "sviđa mi se"
simple complex Lie algebra 31. sij
Odgovor korisniku/ci @slava_pestov @jckarter @pcwalton
Rob Pike has a burner?
Reply Retweet Označi sa "sviđa mi se"