News for hackers. Stuff that matters.
Re:Homebrew: AVX instructions in Big Sur bottles crash when ... by chrisseaton on Saturday December 26, 2020 @10:01PM (#25548439)
Why aren't they checking if the CPU supports AVX before using it?!
Re:Homebrew: AVX instructions in Big Sur bottles crash when ... by lights0123 on Saturday December 26, 2020 @10:54PM (#25548675)
Because all Intel Macs that support Big Sur have AVX, so the Homebrew team enabled it globally. It allows for "things like small memset() operations [to get] inlined as AVX instructions" as the compiler knows that an AVX operation is faster than a function call.
Re:Homebrew: AVX instructions in Big Sur bottles crash when ... by bodyfour on Sunday December 27, 2020 @02:03AM (#25549405)
It was just a (short-lived) bug, not a conscious decision to break anything. Not sure why this got so much traction on HN.