~crc_/retroforth#67: 
nga-c: reduce global state

There is currently a lot of global state in the Nga C implementation. To facilitate some things (better multitasking, cleaner internal api), it would be beneficial to reduce this.

Status
RESOLVED IMPLEMENTED
Submitter
~crc_
Assigned to
No-one
Submitted
3 years ago
Updated
3 years ago
Labels
No labels applied.

~rickcarlino 3 years ago

As multitasking becomes more integrated, there may be a need for "task local" variables. This is something I've been thinking a lot about lately, especially with regard to how hooks would work in a heavily multitasked VM.

~crc_ REPORTED IMPLEMENTED 3 years ago

The global state is now removed, and all state is in a single struct which is passed between functions.

Register here or Log in to comment, or comment via email.