News for hackers. Stuff that matters.
Re:C++ vs. Rust Build Times by IshKebab on Friday January 06, 2023 @12:30PM (#34277866)
Fair points. I especially agree about `dyn` being second class, and `Arc<Mutex<` being verbose.

Not exactly sure what you mean about functors though. Maybe an example would help.

No function overloading was definitely a good decision. You can emulate variadic functions by implementing traits for tuples.

Re:C++ vs. Rust Build Times by agubelu on Friday January 06, 2023 @01:06PM (#34278496)
I agree it's a little verbose, but in those cases I usually make my own type aliases:

type ArcWrap<T> = Arc<Mutex<Whatever<T>>>