4 ms·
Depends who Scala was a competitor to. If you viewed Scala as a competitor to Java, then Go is a competitor to Scala and not Rust; because Go is a competitor t
by ashtonkem 7y ago
Depends who Scala was a competitor to.
If you viewed Scala as a competitor to Java, then Go is a competitor to Scala and not Rust; because Go is a competitor to Java in my opinion.
- pjmlp 7y agoGo is a competitor to Java 1.0, it still needs to grow a bit more if it wants to compete with Java 14 and its 25 years of tooling and libraries. If Go 2.0 ever happens, it will be a competitor to Java 5.
- ashtonkem 7y agoSo, it depends on what you’re talking about; language or organizational need. Go is an imperfect match for Java The language, largely because of the whole Generics thing. But if you’re talking about how teams use Java and Go, they’re a good match now. Go was designed for large companies like Google to have a huge number of engineers and produce consistent, quality code, all while constantly on boarding people and moving them around. From an organizational perspective there are a ton of Java shops that use Java for similar reasons, plus the ability to cheaply and quickly acquire contractors who know Java.
- pjmlp 7y agoBoth, people comparing Go to Java apparently lack a complete understanding of the Java universe. If you are talking about doing REST APIs, talking to Postgres in Java 1.0 servlets style code, yeah Go is a replacement for Java. Except that is like 1% of everything that is currently being done in Java.
- twic 7y agoGo is a competitor to Java in that most of the things people do with one, they could do with the other. As a Java guy, i would agree that Go is not actually competitive with Java. But then, a Go guy would probably say the opposite.
- pjmlp 7y agoReally? Where are the Go versions of Spring, JEE, Android, Solr, Liferay, Kafka, Gemalto, microEJ, PTC, Aicas, Ricoh, Kyocera, Java Card, VisualVM, JFR, JMX and plenty of other stuff I haven't bothered to type?
- AzzieElbab 7y agoYou really should not have started with spring and jee
- pjmlp 7y agoNot understanding why they exist is the first error trying to sell to enterprise.
- maddening 7y agoSeeing how .Net is being sold to enterprises without such libraries I would say that they exist because business happily buys into any promise that something increases productivity even if that is just salesmen's lies. But it requires good salesmen not good engineers.
- pjmlp 7y agoActually it does have many of those libraries, they just come with a different name, or in commercial only form, without the FOSS variants from Java.
- twic 7y agoIsn't Kyocera, like, a printer company?
- pjmlp 7y agoYes it is, and those printers support Java for customised enterprise solutions.
- geodel 7y agoGood. Here I was thinking Java 17 to be released in 2021 will be competitor to Go 1.0 when it finally have value types.
- pjmlp 7y agoYeah, meanwhile Gonuts will still be discussing what is the best way to add generics, while it's users on Hacker News keep telling us that it isn't political and there is a working prototype at Google. So where is the EA for generics like the value types EA I can download today from OpenJDK repository?
- pjmlp 7y agoTo be fair, apparently this appears to be the current internal prototype, https://go-review.googlesource.com/c/go/+/187317 https://go-review.googlesource.com/c/go/+/187317 It still appears quite far from being done in 2021, though.