Re:How generics are implemented in Go 1.18
by pjmlp on Tuesday March 01, 2022 @03:45PM
(#30519759)
D, Ada, Eiffel, Delphi go as counter example, and C++ modules are already proving a much better experience in VC++.
[ Parent
| on HN ]
Re:How generics are implemented in Go 1.18
by FooBarWidget on Wednesday March 02, 2022 @06:06AM
(#30526020)
Delphi didn't have generics. Not sure about more modern versions, but the power of the generics also impacts compile times. Java generics barely impact compile times at all but they're also nowhere as powerful as Rust and C++ ones.
Re:How generics are implemented in Go 1.18
by pjmlp on Wednesday March 02, 2022 @07:50AM
(#30526760)
You stop using Delphi long time ago, I would say.
To pick one of my examples, D templates and compile time metaprogramming are even more powerfull than Rust and C++ ones, yet it compiles just as fast.