3 ms·
Ah, I see. I'm assuming then that Rust generics are not generative templates like C++/D, but closer to Java/C#.
by EvenThisAcronym 11y ago
Ah, I see. I'm assuming then that Rust generics are not generative templates like C++/D, but closer to Java/C#.
- comex 11y agoThey're like Java/C# syntactically. Implementation-wise, they're monomorphized (code is generated for each specialization at compile time) like C++.