Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace all the bindings with a straight MPFR binding for GHC 7.10 #21

Closed
copumpkin opened this issue Jan 29, 2015 · 2 comments
Closed

Comments

@copumpkin
Copy link
Collaborator

All (or most?) of the GC-related shenanigans shouldn't be necessary anymore.

@claudeha
Copy link
Collaborator

claudeha commented Jun 8, 2015

I got straight bindings working with ghc-7.10 but am a bit concerned about performance - my attempt does a lot of allocaBytes and copyByteArray in case the ByteArray are moved by GC around the foreign calls. So maybe CMM wrappers would still be beneficial to avoid this extra work, perhaps along the lines of http://lpaste.net/7271992395112120320

@claudeha
Copy link
Collaborator

fixed by #27 merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants