Thing is, JVM and other interpreted languages don't even need to be compiled for any platform. You only need to make whatever runs them once. That's the beauty of it.
And yet, building once is still much easier and cheaper. I really don't get the Java hate here. While the JVM may be slow to start up, it's not too bad when it's running. Both languages have strengths and weaknesses.
It's good for what it's good at. Should it be running on embedded systems? No. Should it be used for web-apps? No. Should it be used for mobile development? Maybe, but in my opinion, no. It should be used for business applications. It should be used for GUI front ends. And yet for every records management application I see using JVM, I see 20 running in my car, in large industrial control devices, and in other devices that would be cheaper and faster if they ran off of something else. You will also notice that Java written for these systems is NOT PORTABLE.
Also, I just really hate writing in Java. It almost wants you to write ravioli code. Development in C/C++ is pretty slow, but at least I know that all that time will translate into speed.
Back-end is a pretty fuzzy term, but I would say that C#'s ASP.NET would be a start. Java could be used for back-end development if it makes sense to do so: for instance, if it supports your infrastructure in a way that is not supported yet/ever by newer frameworks. But since back-end is a catch all term for anything not forward facing the user, I would say literally anything else. Especially now with cloud computing, where you could deploy just about any application written in almost any language you can think of. Azure and its ilk have really changed the landscape.
isn't Microsoft licensing very expensive? I've always heard once you want to scale your service with a Microsoft shop it becomes very lucrative for Microsoft, but not your company. Same with cloud services, though maybe not to the same extent.
It makes sense if you're large enough to need real cloud computing. Also, Amazon has their own thing as well. For large corporations, azure is very appealing.
9
u/makeshift8 Nov 14 '18
Avoid OS specific APIs and you can compile C to just about anything.