Skip to content
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

RFC-3: Change data and libs segment requirements #3

Open
dr-orlovsky opened this issue Jul 4, 2021 · 0 comments
Open

RFC-3: Change data and libs segment requirements #3

dr-orlovsky opened this issue Jul 4, 2021 · 0 comments
Assignees
Labels
proposal Proposal with specification enhancement S-implemented The change is implemented in the reference implementation but not yet a part of the specification
Milestone

Comments

@dr-orlovsky
Copy link
Member

In order to allow better AluVM support & operations on low-memory hardware devices the following changes are proposed:

  1. The data segment maximum length should be decreased to 2^16 (the same as code segment). If program needs more data, it should use special "data libraries".
  2. The maximum number of used libraries per single library must be decreased to 256.
  3. A new limit of "total libraries" is introduced and this amount should not exceed 1024.

This will allow to limit the size of a single library to just 136 kB (139520 bytes) and provide a restriction on total size of any program (some library + all of its tree descendant dependencies) at 136 MB, with the ability of having up to 64 MB of data.

@dr-orlovsky dr-orlovsky added proposal Proposal with specification enhancement S-accepted The protosal is accepted labels Jul 4, 2021
@dr-orlovsky dr-orlovsky added this to the ALU/1 milestone Jul 4, 2021
@dr-orlovsky dr-orlovsky self-assigned this Jul 4, 2021
@dr-orlovsky dr-orlovsky added this to Backlog in AluVM via automation Jul 4, 2021
@dr-orlovsky dr-orlovsky changed the title Change data and libs segment requirements RFC-3: Change data and libs segment requirements Jul 4, 2021
@dr-orlovsky dr-orlovsky added S-implemented The change is implemented in the reference implementation but not yet a part of the specification and removed S-accepted The protosal is accepted labels Jul 27, 2021
@dr-orlovsky dr-orlovsky removed this from Backlog in AluVM Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal with specification enhancement S-implemented The change is implemented in the reference implementation but not yet a part of the specification
Projects
None yet
Development

No branches or pull requests

1 participant