I have my answer: cAPI is fine: https://gitlab.haskell.org/ghc/ghc/-/issues/23599
Thank you, that’s indeed a reasonable suspicion. I haven’t tried because this is for a PR that’s been submitted to me and I actually have no idea how this could blow up in my face later (or even worse, not blow up an silently corrupt stuff)
Why must FinalizerPtr take a foreign function that uses the ccall
calling convention? Is there a concrete thing preventing GHC from accepting capi
?
I’m Kleidukos, interested in production Haskell, with a focus on developer experience, web services, accessibility and building community spirit. Glad to join the party here!
and much more!