-
Notifications
You must be signed in to change notification settings - Fork 262
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
Possibility of non-u128 implementation of BigInteger #578
Comments
And it seems that, even if two backends support u64 natively, whether or not they have "carry" would make things different. |
We can implement a new arithmetic backend for our prime field elements which should make different backend possible. |
Hello. I found that using Edit: I just realized that there is a possible mitigation awaiting to be released: algebra/ff/src/biginteger/arithmetic.rs Lines 92 to 103 in b33df5c
|
Yes, we need to make a release with the new code! |
this is great! what's the status of upstreaming these changes? |
In ZPrize submission for the WASM tracks, people have been using different ways to improve the WASM efficiency. There is a common thesis: people use other languages, such as C or JS, to implement 30-bit limbs.
One possible reason: is it a side effect of using u128 if the target is WASM?
Note: uint128 even in x86-64 always is complied into a few instructions over uint64.
We need more experiments to see if the use of u128 as the intermediate is the issue.
The text was updated successfully, but these errors were encountered: