You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 3, 2020. It is now read-only.
This is the beginning of being able to have dynamically allocated objects in brain (instead of the static things we have now).
We need a malloc-esque API for memory allocation (without the downsides)
Once we have this kind of "heap" memory, not every type will be copy anymore. The code generation will need to be fixed to only copy when it is appropriate.
The heap could start at the index before 0 since all static allocation happens to the right of that and the Brainfuck tape is infinite in both directions.
This is the beginning of being able to have dynamically allocated objects in brain (instead of the static things we have now).
We need a malloc-esque API for memory allocation (without the downsides)
Once we have this kind of "heap" memory, not every type will be copy anymore. The code generation will need to be fixed to only copy when it is appropriate.
The heap could start at the index before 0 since all static allocation happens to the right of that and the Brainfuck tape is infinite in both directions.
Resources: