-
Notifications
You must be signed in to change notification settings - Fork 6
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
Current status of this library - ghc 8 support #8
Comments
Current status is that it is incomplete. The library has a full implementation of addition and subtraction that is complete and performs pretty well in comparison to libgmp. Unfortunately multiplication is still about 5x slower and I haven't found a way to improve that yet. This library is however significantly faster than integer-simple in just about all tests. The README was incorrect. GHC 8.0 and later should work. The Readme has been updated. As for help, there is nothing easy left to do. I need a faster way of doing multiplication. |
Okay. Incomplete in terms that it's not yet a viable vs gmp, or that something is missing? As we are currently on integer-simple, everything slightly faster is already great for us! I'll give it a try with 8.2 on Monday
|
In its present state, it is not ready as a drop in replacement for integer-simple. In addition integer-simple and integer-gmp are pretty much baked into the GHC compiler. I do not think its easy to just drop in a replacement. |
Hello, I successfully tested the pacakge on ghc-8.0.2 and ghc-8.2.1. The performance increase looks promising to us, but after more detailed investigation (in fact, only after I was already compiling this for ghc stage1) I realized that you use So I guess this is what you meant with your last comment that it is not ready to integrate with What resources did you use when developing the implementation? I saw the code has some similarities with Thanks for your comments so far! |
The use of The main resource I used was the arithmetic I learned in school, Wikipedia and just general Haskell resources like Stackoverflow etc. There really isn't anything in this code that is very complicated. I may well have started with |
Hello,
finding this repo is really a relief to me, as there seems to be some progress on the no-libgmp haskell front. In the project I am currently working for we can't use LGPL licensed libraries and thus need to make do with
integer-simple
. I am currently building this and trying to get this working with our projects, but thought I might ask via an issue what the current status of your big-integer-experiment is? The readme states that only ghc-7.10.3 would work - is ghc-8.0.2 also possible? Are there things which are known to be not working? Is there something my team and I could help with?The text was updated successfully, but these errors were encountered: