Go is said to be good for distributed systems. (Co...
# random
m
Go is said to be good for distributed systems. (Compiling to binaries, concurrency primitives etc). I hope Kotlin is equally suitable. What can make it the lesser favourite?
g
K/N is not so mature as Go yet (performance, binary size, GC etc)
Go has much better set of ready to use libraries, K/N can use most many using C bindings, but they not so pleasant to use as standard Kotlin code and there are not so many pure Kotlin libraries
👍 1
🙂 1
m
Thanks @gildor
g
But I think JVM is actually not worse choice than Go, but it’s debatable of course
m
Of course, there's no end to language/framework debates
😁 1
m
kotlin native is missing too many libraries to compete with Go right now
in order to do things like file access you have to resort to c libraries like fopen()
and it looks like the work to add that still has a long way to go: https://github.com/Kotlin/kotlinx-io
though kotlinx-datetime is complete now so its moving along
e
Actually, orders of magnitude more real-life complex distributed systems are written on top of JVM as opposed to Go. Using Kotlin/JVM makes it even better - you have access to all the libs and frameworks plus a modern and concise language to use them from.
m
Interesting to hear that, can you please provide some examples? Would like to explore. @elizarov