News for hackers. Stuff that matters.
Re:Std: Clamp generates less efficient assembly than std:min... by mhh__ on Tuesday January 16, 2024 @11:22AM (#39015114)
One of the things that you can do with D and as far as I know Julia is enable specific optimizations locally e.g. allow FMAs here and there, not globally.

fast-math is one of the dumbest things we have as an industry IMO.

Re:Std: Clamp generates less efficient assembly than std:min... by ChrisRackauckas on Wednesday January 17, 2024 @04:20AM (#39025348)
Totally agreed. In Julia we use https://github.com/SciML/MuladdMacro.jl all over the place so that way it's contextual and does not bleed into other functions. fast-math changing everything is just... dangerous.