3 ms·
Ah, the sweet smell of language wars in the morning. Seriously, though, I wonder how much of golang adoption is due to it being a shiny new thing relative to J
by mooreds 7y ago
Ah, the sweet smell of language wars in the morning.
Seriously, though, I wonder how much of golang adoption is due to it being a shiny new thing relative to Java and how much is due to it actually solving a problem. Bray outlines several areas where golang functionally outperforms Java (deadlocks, truly WORA).
I have used golang a bit and found it ok. Because of my background I'd prefer to write code in a dynamic language but I get that there are times when you need to have better performance, and you may want that without the baggage of the JVM.
- dunk010 7y agoI didn't find the article all that convincing. Just a general FOMO smell, and not much substance to back it up. Nothing deep.
- erik_seaberg 7y agoJava is prone to deadlocks because "synchronized" makes locking very easy while proving exclusive ownership is still very hard without help from the language (linear types, unique types, borrow checking). If locking is harder in Go, that just turns some deadlocks into data races and crashes.