Multithreading
-
I'm well aware of the @administrators stance on this, but....
Would it be possible to use some sort of async, await, or multithreading? Optionally, of course.
I just feel like putting the bulk of a pathfinding AI on a separate thread, or downloading data asynchronously would be a LOT more battery and frame efficient than the current one-thread style.
Potentially to be added with the code blocks ("Functions") update, allow it to run async, and allow us to await completion.
I know it's another radioactive block added onto an already unstable house of cards, but with the demands of games and gamers, is it really going to stay an option if we as developers want to stay serious?
-
@Thecheater887 Here's a long read that's well worth your time: https://developer.apple.com/library/content/documentation/General/Conceptual/ConcurrencyProgrammingGuide/OperationQueues/OperationQueues.html