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".
-
Show this thread
-
I'm increasingly convinced that the interpreter solution is the only reasonable alternative for Rust.
6 replies 1 retweet 15 likesShow this thread -
Replying to @pcwalton
Have you considered what Swift does with generating vtables for the functionality required by the generic function?
1 reply 0 retweets 0 likes
Replying to @NikolaiVazquez
Yes, see other replies
10:38 PM - 30 Jan 2020
0 replies
0 retweets
1 like
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.