libgdx / ashley

A Java entity system inspired by Ash & Artemis.
Apache License 2.0
871 stars 144 forks source link

Kotlin coroutine support #283

Closed ronjunevaldoz closed 4 years ago

ronjunevaldoz commented 4 years ago

Everything now is using kotlin+coroutine, which we could concurrently execute process.

mgsx-dev commented 4 years ago

Ashley is not thread safe and no plan to migrate to kotlin. You can implement some multi threading system in your code if needed but that's a highly edge case.

cypherdare commented 3 years ago

You might be interested in the Ktx async library, which provides coroutine support for libGDX. It allows coroutines to be used for asynchronous tasks and provides a main game thread dispatcher. There are no plans to convert any of libGDX to Kotlin, as that would break GWT and RoboVM compatibility, and I don't think the team wants to take on maintenance of Kotlin extensions.