News for hackers. Stuff that matters.
Re:GHC 9.4.2 regresses being able to do math on aarch64 by axman6 on Thursday October 13, 2022 @03:01AM (#33188080)
Put simply: No. The native code generator for aarch64 is relatively new, and is bound to have bugs in it that haven't been caught, as others have mentioned, because no one thought to test for this specific thing. There's already a patch for this bug, and a new regression test to catch it. These things happen in all compilers, and all software, relatively often.

I don't understand how a bug in GHC has blown up more than any bug in any recent GCC or clang - probably because the bug reporter decided that hyperbole was going to be their tool of choice instead of behaving like an adult.

Re:GHC 9.4.2 regresses being able to do math on aarch64 by protomikron on Thursday October 13, 2022 @03:47AM (#33188363)
> I don't understand how a bug in GHC has blown up more than any bug in any recent GCC or clang - probably because the bug reporter decided that hyperbole was going to be their tool of choice instead of behaving like an adult.

It didn't blow up more or less than bugs in other language implementations. When there are serious bugs in GCC, LLVM the JVM, etc. it always goes to HN's front page.

Re:GHC 9.4.2 regresses being able to do math on aarch64 by account42 on Thursday October 13, 2022 @08:25AM (#33190026)
Most (even serious) bugs don't even get submitted here not to mention reaching the front page.
Re:GHC 9.4.2 regresses being able to do math on aarch64 by whateveracct on Thursday October 13, 2022 @04:05AM (#33188473)
Also, aarch64 Haskell is almost exclusively not in production (although there's probably some iOS/macOS apps out there - very cool if so!). This bug shows up on devs' M1 MBPs and the CI used to build their Nix cache.

It's a nasty bug, but in reality it isn't some P0 monstrosity despite how "eXtReMeLy aLaRmInG" it seems.