Re:The Next Step for Generics
by jasonhansel on Tuesday June 16, 2020 @05:31PM
(#23544465)
But then you have compile time overhead (an issue Rust and C++ have faced). One of Go's design goals was to have very fast compile times, which might be in doubt if they take the monomorphization approach.
Re:The Next Step for Generics
by entha_saava on Wednesday June 17, 2020 @12:15AM
(#23547717)
Is rust's slow compile time because of poor LLVM IR generation or just because monomorphization? D has generics and compiles fast. I guess Nim compile times are okay, too..
1. https://arxiv.org/abs/2005.11710 2. https://news.ycombinator.com/item?id=23368453