3 ms·
Golang is faster and use way less memory than Java, never wonder why you never see Kubernetes controller / sidecar is Java? As for Scala it's pretty much a dea
by Thaxll 12d ago
Golang is faster and use way less memory than Java, never wonder why you never see Kubernetes controller / sidecar is Java?
As for Scala it's pretty much a dead language, no one work with it and it's impossible to find dev for it.
10 years ago I was moving Scala code back to regular Java.
- deleted 12d ago[deleted]
- weego 12d agoIt's sad - I spent a good 12 years writing Scala every day and it was the ideal language for my brain. Until it wasn't - sbt got too complex for it's own good, everything became "very smart" developers over-using implicit conversions, you couldn't find a project that wasn't an opinion war on cats vs whatever. It collapsed on the weight of it's own smugness. go and kotlin aren't it, gleam scratches the itch but I can't justify writing code that would impossible to hire for. scala situation is a real shame.
- ndriscoll 12d agoEvery job I've has has used different languages so I don't really understand the need to find a dev for a specific language. I went from network firmware in C to banking application servers in Scala and it took like 2 weeks to ramp up. Not a big deal. Now I write lower level networking stuff again in Go, which seems like its just worse than e.g. C-with-templates (and occasional classes) style C++ so I don't really understand why people like it. I think it used to be common to just look for smart people and assume they can run with whatever stack. Wasn't that the point of abstract algorithm questions etc. (basically an IQ test)?
- logicchains 12d ago>I think it used to be common to just look for smart people and assume they can run with whatever stack. Wasn't that the point of abstract algorithm questions etc. (basically an IQ test)? Lots of companies where software isn't the focus see it as a cost center, so they'd prefer to hire lower-IQ specialists instead of higher-IQ generalists, because the latter are more expensive/have more options.
- ackfoobar 10d ago> it took like 2 weeks to ramp up I worked on a purely functional Scala codebase (Cats). I joined after the original authors were gone. Some new comers were not fluent in it after ~a year.
- jeffbee 12d agoJava is almost always significantly faster than Go because the Go runtime does a poor job of exploiting large memory page, doesn't support text-on-huge-pages, and barely supports profile-guided optimization. With HotSpot you get all of this and more for free. Go is fine but Java is peak.
- za3faran 11d agoGolang is not faster than Java, the opposite in fact. With native image, Java can be used for sidecar applications as well.