Concurrency Solution in Haxe

Hi I am a new, novice user looking at Haxe. I would like to know what is the concurrency solution used in Haxe when targeting C and C++? What concurrency model is used and how deeply is it built into the language?

Thanks

A couple of haxe target (including c++) provide an api for threads, which I find quite easy to use, even if they are limited:
https://api.haxe.org/cpp/vm/Thread.html
https://api.haxe.org/neko/vm/Thread.html
https://api.haxe.org/java/vm/Thread.html
The language doesn’t have anything built in for concurrency.

Some form of async support is planned to be added right into the language, but the details are still in progress and it’ll take a lot of implementation. So it’s probably not going to be in the next version.

2 Likes