Big Integers?

Python integers are arbitrary precision by default. Is that planned for Mojo as well... or is that expected to be a user land implementation. Thanks.
2 Replies
Nick!
Nick!12mo ago
Mojo's BigIntegers will definitely be implemented as a library. But all of Mojo's data types are libraries. Check out the third paragraph here. So you can just choose whatever integer type you need for your application. There will be no blessed type.
Hypercubed
HypercubedOP12mo ago
Good to hear. I'm a little obsessed with benchmarking bigint implementation. Recently rolled my own for AssemblyScript.

Did you find this page helpful?