Skip to content

Remove the BoundedStorable requirement #69

Closed
@lastmjs

Description

@lastmjs

Currently all values that are to be stored in a stable structure (as far as I know) require the BoundedStorable trait to be implemented. This requires the developer to reason about possible maximum and fixed sizes of all of their data types, recursively, and is a significant hurdle to the developer experience of stable structures.

At Demergent Labs we have exposed TypeScript and Python versions of the stable structures library to developers, and we plan to use stable memory, and hope to use stable structures, under-the-hood to implement our sudodb/sudograph databases. If we have to implement the BoundedStorable trait for the databases, we will be exposing significant complexity to our end users.

Not to mention the efficiency concerns. It would be great to have this requirement lifted in the future, which would be a boon to Azle, Kybra, and Sudograph.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions