Skip to content

Rename stdlib's bigint as altfield #5349

@Savio-Sou

Description

@Savio-Sou

Problem

There is currently the bigint.nr library in the standard library suite, which is an implementation of fixed modulo integers sized to a set of elliptic curves (e.g. BN254, secp256k1).

The library is also documented as "Big Integers" here: https://noir-lang.org/docs/noir/standard_library/bigint/

This has been confusing to Noir developers, who often misinterpret it as an arbitrarily-sized large integer type given how that the term "BigInt" is more commonly understood in other programming languages:

Happy Case

The library and the corresponding documentation should be renamed to something less confusing per general software development intuitions.

I am suggesting altfield but not necessarily feeling strongly about it, open to suggestions.

Project Impact

Nice-to-have

Impact Context

The confusing name have been inducing additional education and ecosystem frictions.

Would you like to submit a PR for this Issue?

None

Support Needs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionstdlibStandard library shipped with Noir tooling

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions