News for hackers. Stuff that matters.
Re:Rust is a hard way to make a web API by BobbyJo on Friday January 15, 2021 @11:08PM (#25799937)
I can't speak for present day, but, while I was still working there a few years ago, they were pushing Golang pretty hard. They weren't being hard-lined, so I'm sure a lot is still done in other languages, but I wouldn't be surprised if Go rivals at least C++ in terms of service count at this point.

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.

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.
Re:Rust is a hard way to make a web API by BobbyJo on Monday January 18, 2021 @12:09AM (#25818391)
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...
Re:Rust is a hard way to make a web API by pjmlp on Saturday January 16, 2021 @05:13AM (#25801328)
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.

Re:Rust is a hard way to make a web API by kaba0 on Saturday January 16, 2021 @05:41AM (#25801437)
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.
Re:Rust is a hard way to make a web API by pjmlp on Saturday January 16, 2021 @05:57AM (#25801484)
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.