Is Java the be all end all best programming language to use if you want to develop desktop applications/automation...

is Java the be all end all best programming language to use if you want to develop desktop applications/automation scripts that can work on both windows and linux?

Attached: Java-logo-490x301.jpg (490x301, 14K)

okay then vishnu

>automation scripts
>Java
hmmmm

>what is javascript

that was a legitimate question, not a statement

Java isnt used for scripting, because it isnt a scripting language. Yes its the be all end all portable application software, currently

Rust.

kek

Java startup time and general memory heaviness means it probably shouldn't be your first choice for either of those objectives. It works best as a server that is up for long periods of time, and thus the memory overheard and startup time is negligible.

Python has interpreters for all major OS, Go can be a good cross platform option if you compile for each one although it doesn't have good GUI libraries. The truth is your "automation scripts" will be fairly different between windows and gnu+Iinux, so you may want to separate unix-based and not into the languages most appropriate for each platform.

Attached: 50C981DA88E4473BBE2FB4498803D51B.jpg (1188x716, 133K)

>server
>memory overhead
You don't need instruction set portability if you're on a server. What else are you running on, PowerPC?

Rust is the future. Accept your fate.

It's allocated/reserved heap memory for a spike in load, that typically is unnecessary on desktop, you can tune it out, but it's just the intended environment of java, desktop applications have moved on, java was only a thing for this in the mid 00s at times and earlier.

Just don't do it.

Rust! Rust! RUST!

everyone have to take a shit, everyone needs to take a java. So yeah, it is.

If you need it in production at a major company: Java
If not: .NET Core

Is it true that if I learn the basics/intermediates of C# I've also learnt equal knowledge of Java?

Desktop Qt, scripting anything you want

You haven’t heard of GraalVM or Quarkus then have you?

yes

no, e.g async/await, properties, Expression, closures, value tuples, generators, events, and inheritance either differ from or don't exists first-class in Java.
but they do share common syntax for declaring interfaces, classes, methods and variables.

Pretty much

an entirely separate, different language?