News for hackers. Stuff that matters.
Re:The Git source code audit, viewed as a Rust programmer by brundolf on Tuesday January 24, 2023 @01:23PM (#34507699)
I'm sure it varies wildly by the type of program, and I'm sure much smarter people than me on the Rust team did their benchmarking homework when they originally made this choice. All I'm saying is that to me, it seems like a reasonable default
Re:The Git source code audit, viewed as a Rust programmer by throwaway81523 on Wednesday January 25, 2023 @12:11AM (#34514675)
It seems like a seriously wrong default for a language whose story is supposed to be safety. People wanting unsafe languages already have C and C++ for that :/.
Re:The Git source code audit, viewed as a Rust programmer by brundolf on Wednesday January 25, 2023 @02:29AM (#34515444)
Re:The Git source code audit, viewed as a Rust programmer by twic on Wednesday January 25, 2023 @09:44AM (#34518788)
To improve safety at large, Rust has to displace C++. People use C++ in part because of its speed (rightly or wrongly - but it is undeniably part of C++ culture). A language which is consistently slower than C++ will not displace C++. So, this was a point where the designers decided to hold their nose for now.