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

Remote arrays #223

Open
cardillan opened this issue Feb 17, 2025 · 0 comments
Open

Remote arrays #223

cardillan opened this issue Feb 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@cardillan
Copy link
Owner

cardillan commented Feb 17, 2025

An internal array could be implemented where the jump tables would be handled by a remote processor, while the variables would be held at a local processor, giving these benefits:

  • The jump table would be stored in the remote processor, not taking up instruction space in the local processor. Since variable initialization instructions wouldn't be needed in the remote processor, practically the entire instruction space of the remote processor could be used as a jump table.
  • When resolved to a specific index, the array access operation would be replaced with the local variable itself, allowing the same optimizations a local array.

Remote arrays where both the variables and the jump tables would be stored in a remote processor would be possible as well. Accessing a variable at a specific index could be resolved into read/write instructions, giving similar benefits to locally stored array elements.

@cardillan cardillan added the enhancement New feature or request label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant