5 When I tried to type `zs` I instead typed `xz`.
9 I believe for this instance of the interpreter, instead of passing the thread I
10 will instead have a thread map which can be looked up. So there will
11 essentially be a map of threads where I can use Thread.currentThread() to get
12 the associated virtual machine thread. This would be far easier to maintain.
13 If a program is also single threaded, then no other threads are created and
14 everything just is based on the main thread.
18 Well, it would be easier to create a main thread instead of having it part of
19 the actual main entry.
23 Also hopefully the interpreter callstacks are much simpler since it would be
24 executing the direct code representation the compiler would interpreter.
28 For cooperatively tasked systems, I should have `Thread.yield` compile to a
29 special instruction so that when it is called it could be done in a single
30 instruction instead of a method call.