News for hackers. Stuff that matters.
Re:Ask HN: If I only learn one static typed language, which ... by cdnsteve on Thursday April 20, 2017 @11:56AM (#14157822)
Golang is focused on scaling/concurrency, is very compact and fairly quick to learn. You can compile a single binary and deploy it anywhere. You can build a web server in a few lines of code. It's really strong for processing tons of requests, web API's and backend code.

Java requires a whole app server which is more of a pain to setup. (generally speaking for web dev, think Tomcat, JBoss). It's way more verbose and you really need to rely on the power of an IDE to help code for you, importing class libraries, etc.

Spend a few hours with each, they're very different. Coming from Node/PHP you should be able to pickup Golang faster.

Re:Ask HN: If I only learn one static typed language, which ... by adl on Thursday April 20, 2017 @12:12PM (#14157996)
In the JVM ecosystem you can use Jetty and have a simple embedded App Server. No need to install or configure Tomcat/JBoss, etc.

Spring Boot and Dropwizard makes this dead simple, a single .jar file with everything you need to run your app.

Re:Ask HN: If I only learn one static typed language, which ... by BlueMatador on Thursday April 20, 2017 @12:03PM (#14157893)
Agreed. If your speciality is in DevOps, it's probably going to be golang for you. We wrote a blog post about it here: https://blog.bluematador.com/posts/mini-guide-google-golang-...
Re:Ask HN: If I only learn one static typed language, which ... by darreld on Thursday April 20, 2017 @12:40PM (#14158274)
I can set up a basic Tomcat instance, ready for a deployment, in a couple minutes. Weblogic or JBoss is more pain but you don't necessarily need that.
Re:Ask HN: If I only learn one static typed language, which ... by saryant on Thursday April 20, 2017 @12:51PM (#14158379)
Java definitely does not require an app server.

I'd also submit that few concurrency libraries are as battle-hardened as java.util.concurrent.* at this point.