3 ms·
Yeah but it's golang, so it's kinda like java, so I see no pros in it TBH.
by ddorian43 8y ago
Yeah but it's golang, so it's kinda like java, so I see no pros in it TBH.
- rakoo 8y agogolang isn't even close to using the same amount of memory as java, so at least there's that.
- hardwaresofton 8y agoThere are a lot of differences between Golang and Java. As much as I dislike writing Java when I have a choice, the JVM (with Java or whatever else on top) is a very capble tool... Could you explain what you mean by there being "no pros"? Are you maybe trying to get at the difficulty of tuning the JVM?
- ddorian43 8y agorust/c++/c has no gc and better performance/efficiency compared to java/golang. so you get excited for a library/db in those languages golang is kinda a java alternative. a db/search-engine in java/golang kinda sucks (it will under pressure)
- hardwaresofton 8y agoWhile I definitely agree with you on the broad strokes of the differences between rust/c++/c and java/golang (representing languages without runtimes and those with them respectively), I'd say that golang is a bit more than a java alternative if we consider more than whether a runtime is included or not. Of course, if the only consideration is whether a runtime is there or not, golang is identical to java but also identical to common lisp or maybe even interpreted languages like python. I do want to point out that it's possible to write horribly buggy code in c++/c (less so in rust :), which can tank performance/efficiency when compared to a java/golang program. All things considered though, the ceiling on performance and efficiency is of course higher in manual memory management land. Thanks for clarifying what you meant!