Re:Rust is a hard way to make a web API
by high_density on Saturday January 16, 2021 @11:52AM
(#25803422)
> due to the Oracle litigation they were trying to get away from Java where possible.
not a lawyer here, but isn't the litigation related to Android Java-clone, not 'server-side' java-usage?
Re:Rust is a hard way to make a web API
by gher-shyu3i on Saturday January 16, 2021 @12:22PM
(#25803637)
Exactly. It seems many people conflate the issue.
I could definitely be wrong. That's how it was explained to me in passing by a co-worker.
Re:Rust is a hard way to make a web API
by high_density on Monday January 18, 2021 @04:49AM
(#25820053)
well it doesn't make sense... why move away even from server-side java? I mean, you guys can use kotlin which is a combination of all the goodies (functional + ergonomic + type-safer than java/go) that has good java interop... and kotlin's even the official language for android projects...
I guess paying for Go development resources is cheaper than having bought Sun when given the opportunity.
However, Koltin and Android depend heavily on the JVM eco-system, and Google is certainly not going to rewrite everything in Koltin/Native or start using ART outside Android.
Also, the OpenJDK is completely open source (even though it is primarily developed by Oracle employees), itβs not like there is any risk in using it.
Google is sued because it created a java-copy instead of buying a license from Sun which explicitly required one for mobile devices.
And since they doubled down on their Android Java flavour, it is now a major headache to produce modern Java libraries that work on Android.
Even if you castrate yourself to Java 7, whatever works depends pretty much on the Android version.
They realized C++ sucks for simple services and due to the Oracle litigation they were trying to get away from Java where possible.
Having written backends in C++, Java, Python, Rust, and Golang myself, Golang is far and away the best tool for the job in my opinion.