Fixing ekg-core #41 #13
TravisWhitaker
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi @TravisWhitaker I sent you an ownership invitation for this org, so now you can merge PRs and publish that package. @L0neGamer has been working on the ekg family of packages recently so maybe he has an opinion on that issue and would discuss it with you. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings,
I am interested in finally resolving haskell-github-trust/ekg-core#41 . As it stands, ekg is essentially unusable on aarch64 platforms because of an incorrect C implementation of atomic operations that happens to work on certain architectures (aarch64 is not one of them). When I opened this issue four years ago, my colleagues and I were probably among the only people who cared about Haskell on aarch64. Hopefully with the proliferation of Apple Silicon there are now more people in the wider community who are interested in things working well on aarch64.
Based on my measurements, the best (or at lest the best performance) way forward is to use GHC's primops to replace the C implementations: haskell-github-trust/ekg-core#42 . However, this PR didn't seem to gain any traction, so I'm curious to get others' opinions on the right way forward. I think what we should not do is continue to leave the broken implementations in place, as the library will appear to work on aarch64 but will give incorrect results.
Beta Was this translation helpful? Give feedback.
All reactions