Bingdom
Googledom
For the longest time, I was under the impression that GMS2 was multithreaded comprising of the main game loop, audio and at some point, asynchronous events.
However, I have been picking up an understanding of Coroutines and Async in other languages recently and it all has a common ground (at least the languages I worked with) to run on the same thread.
This made me question my assumption about asynchronous behaviour in GM.
Information about this is rather scarce and old (1, 2)
In addition, this blog seems to indicate that the GC runs on multiple threads.
So the question is- what exactly is threaded in GMS? Would the documentation be improved to include these details?
I'm also curious about how many threads the GC takes up, and what influences it to use more threads?
However, I have been picking up an understanding of Coroutines and Async in other languages recently and it all has a common ground (at least the languages I worked with) to run on the same thread.
This made me question my assumption about asynchronous behaviour in GM.
Information about this is rather scarce and old (1, 2)
In addition, this blog seems to indicate that the GC runs on multiple threads.
So the question is- what exactly is threaded in GMS? Would the documentation be improved to include these details?
I'm also curious about how many threads the GC takes up, and what influences it to use more threads?
Last edited: