News for hackers. Stuff that matters.
Re:Safe C++ proposal is not being continued by tialaramex on Saturday September 13, 2025 @05:03PM (#45235284)
You can write your "r64" type today. You would need a perma-unstable compiler-only feature to give your type a huge niche where the missing bit patterns would go, but otherwise there's no problem that I can see, so if you don't care about the niche it's just another crate - there is something similar called noisy_float
Re:Safe C++ proposal is not being continued by zevets on Saturday September 13, 2025 @06:07PM (#45235717)
I can do it, and I do similar such things in C++ - but the biggest benefit of "safe defaults" is the standardization of such behaviors, and the resultant expectations/ecosystem.