Re:Go 1.18
by zozbot234 on Tuesday March 15, 2022 @08:34PM
(#30693795)
A bit offtopic here, but it's a bit weird to see this argument that using .clone() in Rust is "littering" the code. The feature is there for a reason, and using it will still give you vastly more efficient code than in most other languages; quite possibly including Go.
[ Parent
| on HN ]
Re:Go 1.18
by zinclozenge on Thursday March 17, 2022 @04:54PM
(#30715787)
Sure it very possibly might outperform Go, and almost undoubtedly outperform python and ruby, but it might also make refactoring for further performance down the road very difficult. When I reach for Rust, it's because I want maximum performance right off the bat. Otherwise I'd just use go, or even java/c#.