3 ms·
> 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 instan
by theandrewbailey 4y ago
> 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.
- PaulHoule 4y agoIn windows you need to have the right version of the C++ library installed. (Linux doesn’t even try to be binary compatible over time.)
- susam 4y agoIndeed! 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 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.
- int_19h 4y agoThat 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.
- jalcazar 4y agoWith GraalVM it is possible to build native binaries, so no need for JVM to run programs written in Java
- edflsafoiewq 4y agoI look forward to living long enough to see the monstrosity that will have people convinced Electron is small and reasonable.
- int_19h 4y agoThe 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...