Why there are no keywords for synchronization/concurrency?
So far my research gives me one solution, you wrap some high level classes and use them to handle concurre
I'll answer my own question since actual answer to my question was somewhere deep in kotlin discussions.
What confused me at the time comming from java was that concurrency keywords were not language keywords they were annotations? to me it seemed strange that important concepts like synchronization were handled trough annotation, but now it makes perfect sense. Kotlin is going in the direction of being platform agnostic language, its not going to only work on jvm but pretty much anything. So synchronized and volatile were very specific to jvm, they might not be needed in javascript for example.
In a nutshell kotlin has everything java has (except package visibility) and much more, a huge difference that no other language has is coroutines. But there is nothing you can write in java that you cant do in kotlin... (as far as i am aware)