5 ms·
Thanks! I encountered Ngaro shortly after I started designing Mako. Aside from I/O functionality they are fairly similar, but I think storing the stacks and reg
by RodgerTheGreat 15y ago
Thanks! I encountered Ngaro shortly after I started designing Mako. Aside from I/O functionality they are fairly similar, but I think storing the stacks and registers in addressable memory is a more flexible design than keeping them separate as Ngaro does. For one thing it means it's possible to remap the stacks at runtime and easily implement cooperative multitasking.[1] Games of the type I'm writing don't really need Ngaro's file I/O capabilities, but they could be very useful if I wanted to make a bootstrapped version of my Forth compiler.
Trying to recompile Ngaro bytecode to run on Mako could be an interesting weekend project...
[1] https://github.com/JohnEarnest/Mako/blob/master/examples/Threads.fs https://github.com/JohnEarnest/Mako/blob/master/examples/Thr...