Open stevehalliwell opened 2 years ago
Being able to do something akin to c style, here is a func, go run it on another thread would be useful. If we couple this with, here is the working set, I have made it, but promise not to use it until you say you are done, we get something that seems very workable.
At the same time, one of the most time expensive things we have encountered in usage is a verlet sim, which should be embarrassingly parallel, moving all of it to another thread doesn't actually help that much, we want to go wide on the problem immediately.
While it does have cooperative elements via yeilding sub vms, the language has no concept of threads or parallelism.
How might such a thing be possible or beneficial in ulox?