https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
m

martmists

07/02/2021, 6:02 PM
I'm also interested in how these thread-safety features cause an impact on performance, as my application mostly interacts with live audio, and using mutexes or similar to sync threads is not a viable solution to keep up with performance.
k

kpgalligan

07/02/2021, 8:11 PM
Kind of a general question. I'd probably keep state to a single thread so you don't need to sync, then maybe have some kind of byte array that gets passed around threads if needed. How would you sync in other languages?
2 Views