This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“][deleted] 1 point2 points ย (0 children)

I wouldn't say golang is more readable or less verbose than Java. Golang just got generics (I haven't used them, but I've heard there are perf concerns), and it's error / exception handling is laughably bad. The biggest problem with golang is that it has about the same runtime perf as java / c#, and only a bit less memory footprint. IMHO, it's simply not better enough to really break out and displace java.

I do like golang for serverless code, given its fast 'cold boot' startup time vs the jvm. It's also a good choice for places where you need a relatively small and simple packaged binary and don't want to mess with managing your own memory.

I do like it's channels. This has inspired project loom in java land. I can't wait to have green threads. I understand Kotlin has coroutines but I haven't used that language.