News for hackers. Stuff that matters.
Re:Oracle’s Java 11 trap by StreamBright on Wednesday September 26, 2018 @09:11AM (#18075536)
Right, what is the equivalent of the following in Go?

import org.apache.hadoop.*;

import org.rapidoid.net.Server;

In case you are wondering people not only using languages for language features but also for the quality/quantity of libraries available in those languages. This is why is very hard to bootstrap a new language. Java has a ton of great libraries that are essential to big data and high performance backend services that you do not have in Go. I could mention tooling as well but we can skip it for now, the aforementioned library situation is enough to not to consider go already. Btw. the new OpenJDK releases are just fine for running Java and many companies use it extensively already (like AWS EMR for example) to run production code.

Re:Oracle’s Java 11 trap by ofrzeta on Wednesday September 26, 2018 @09:32AM (#18075709)

  import (
  	"net/http"
  	"github.com/labstack/echo"
  )
For Hadoop I guess it depends on what you want to do. For instance there are modules for HDFS but also several module by Hortonworks: https://de.hortonworks.com/blog/go-hadoop-err-hadoop-and-go/
Re:Oracle’s Java 11 trap by dig1 on Wednesday September 26, 2018 @10:12AM (#18076105)
But you still need jre/jdk to serve HDFS ;) Also, there are tons of other missing products like ElasticSearch, Kafka, Spark...
Re:Oracle’s Java 11 trap by bborud on Wednesday September 26, 2018 @11:42AM (#18077077)
Sure, but fight the battles you can win. The database I use wasn't written in C. That doesn't mean I have to write applications in C.
Re:Oracle’s Java 11 trap by bborud on Thursday October 04, 2018 @06:56AM (#18138750)
*was written in C
Re:Oracle’s Java 11 trap by ofrzeta on Wednesday September 26, 2018 @10:50AM (#18076498)
Yeah, I don't doubt that there are many more Java libs. But for most uses cases today there are Golang libs as well. There's a Kafka client by Confluent, Elasticsearch client etc.
Re:Oracle’s Java 11 trap by VLM on Wednesday September 26, 2018 @10:07AM (#18076036)
We used the same argument a decade ago with Perl, look where that got us.

Java in 2018 is Perl in 2008, roughly.

Re:Oracle’s Java 11 trap by StreamBright on Wednesday September 26, 2018 @10:48AM (#18076479)
Actually I never used this argument for Perl. Perl was not really used for things like big data or high performance backend applications. You can use this reasoning for C++ or C# on the other hand and it stands. Many "big data" things re in C++ and a lot of high performance projects out there.

If you want to compare nifty scripting languages than you can compare Perl with Ruby or Python. In 2008 I was happily using Ruby for most of things we used to do in Perl, a bit slower yes, but who cared and it was much more readable.

Re:Oracle’s Java 11 trap by lizmat on Wednesday September 26, 2018 @07:37PM (#18081155)
> If you want to compare nifty scripting languages than you can compare Perl with Ruby or Python.

Perhaps even compare with Perl 6 :-)