News for hackers. Stuff that matters.
Re:Switching from C++ to Rust by alphanullmeric on Tuesday March 14, 2023 @11:17AM (#35152871)
Oh here we go again. “Everything rust can’t do is an antipattern” is not a valid argument. Tuples for instance are a library feature in C++ but have to be a language feature in rust. Plenty of other useful things that C++ can do and rust cannot.

https://youtu.be/gOdcNko2xc8

https://youtu.be/tiAVWcjIF6o

Re:Switching from C++ to Rust by pie_flavor on Wednesday March 15, 2023 @12:40AM (#35163960)
So, in response to 'templates are generics + things you shouldn't do', your counterargument is a video titled 'Code You Should Learn From & Never Write' and a video about introductory templates which doesn't actually contain any counterexamples?