News for hackers. Stuff that matters.
Re:A comparison of Rust's borrow checker to the one in C# by Clubber on Thursday October 31, 2024 @04:38PM (#42011261)
>a massive mistake to let double.ToString() use the current culture rather than the invariant culture.

I would imagine that's a carryover from the Win32/Client-Server days when that would have been a better choice.

Is that annoying? Yea. Is that annoying enough to force companies to collectively spend billions to look through their decades old codebases for double.ToString() and add culture arguments? Also keep in mind, this is a runtime issue, so the time to fix would be much more than if it were a compile issue. I would say no.

Re:A comparison of Rust's borrow checker to the one in C# by neonsunset on Thursday October 31, 2024 @04:46PM (#42011337)
Nowadays you just apply https://learn.microsoft.com/en-us/dotnet/core/runtime-config... and call it a day. It is also added as a default to all AOT templates.
Re:A comparison of Rust's borrow checker to the one in C# by alkonaut on Thursday October 31, 2024 @05:02PM (#42011476)
That's a great idea (and after the fact, much better than changing the API). On day 1 it should have been easy though.