Replies: 1 comment
-
It could be interesting to have @AndrewWestberg shim in, as I understand he worked on the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
uplc
andamaru
need to deal with big integer. They both use different crates (num-bigint for amaru and rug foruplc
).It would makes sense to have both aligned, having in mind the following constraints:
wasm
andriscv
targets should be supportedrug
relies on native dependencies, failing those constraints.What others node are using
pallas is interesting as it switched between different crates over time. It first considered
rug
, switched to num-bigint, then to malachite and finally to dashu for licensing reasons.It looks like the status quo is
num-bigint
.rug
us probably not a great option as it is not well supported onwindows
and can't compile onwasm
/riscv
targets.Performance wise, it looks like
dashu
is good enough whilenum-bigint
is three times slower (according to those benchmarks)Both
dashu
andnum-bigint
have an acceptable license. Although they don't appear to have been audited.Lastly, crypto-bigint is an alternative that has been audited, used by risc0
Beta Was this translation helpful? Give feedback.
All reactions