News for hackers. Stuff that matters.
Re:Cruz: I Never Put Java in My Resume No Matter How Much Ex... by theandrewbailey on Wednesday October 05, 2022 @01:39PM (#33098716)
> and requires its interpreter (JVM) to be present on the machine.

That's hardly a drawback. If every Electron app can get away with shipping a Chromium instance with every installer, you can ship a JVM with your app.

Re:Cruz: I Never Put Java in My Resume No Matter How Much Ex... by edflsafoiewq on Wednesday October 05, 2022 @02:49PM (#33099694)
I look forward to living long enough to see the monstrosity that will have people convinced Electron is small and reasonable.
Re:Cruz: I Never Put Java in My Resume No Matter How Much Ex... by int_19h on Wednesday October 05, 2022 @05:17PM (#33101336)
The logical next step is to ship apps as Docker containers, with the UI being a VNC or RDP viewport inside.

Of course, it's not an either-or - I'm sure many of those containers would have Electron inside...

Re:Cruz: I Never Put Java in My Resume No Matter How Much Ex... by jalcazar on Wednesday October 05, 2022 @02:28PM (#33099386)
With GraalVM it is possible to build native binaries, so no need for JVM to run programs written in Java
Re:Cruz: I Never Put Java in My Resume No Matter How Much Ex... by PaulHoule on Wednesday October 05, 2022 @01:45PM (#33098803)
In windows you need to have the right version of the C++ library installed. (Linux doesn’t even try to be binary compatible over time.)
Re:Cruz: I Never Put Java in My Resume No Matter How Much Ex... by susam on Wednesday October 05, 2022 @03:36PM (#33100297)
Indeed! Back in the days when I used to develop software using C++ on Windows, I have had my own fair share of dealing with "SideBySide" errors because I had the wrong version of runtime library on the target system where my software would run.

I have a Stack Overflow question at https://stackoverflow.com/q/8913543/303363 which taught me how to identify the right version of the runtime library and how to fetch it. I don't do software development for Windows in C++ these days but once in a while I do look back at this question to fondly remember the days of C++ programming on Windows.

Except for the tiny "SideBySide" glitch (which was quite confusing at first), software development with C++ on Windows using Visual Studio as the IDE was a pleasant experience. Backward compatibility was (probably still is?) a strong suit of Windows. A software written in the 1990s worked fine all the way up to 2015 or so, often with no changes or no recompile/rebuild required. The binaries and DLLs would just work fine without issues on newer versions of Windows as long as the CRT the software was built with is also packaged in the software distribution.

Re:Cruz: I Never Put Java in My Resume No Matter How Much Ex... by int_19h on Wednesday October 05, 2022 @05:21PM (#33101376)
That depends on how the native app is packaged, as it is possible to bundle the Visual C++ runtime. It's not recommended for obvious security reasons, but licensing allows it.