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've been thinking for a while that this could just be a lint: "changing this generic bound to `dyn` will cause X% compilation speedup and Y% reduction in binary size with ~Z% performance impact". There's no reason for every Swift implicit change cannot be an explicit Rust lint.
-
Using trait objects is way more valid than the current usage in the ecosystem implies.
- 2 more replies
New conversation -
-
-
beginnings of cranelift interpreterhttps://github.com/bytecodealliance/cranelift/pull/1351 …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.