Re:I Bought Apple Silicon
by Apocryphon on Friday December 18, 2020 @05:52PM
(#25473069)
One wonders if VC-funded startups or "move fast and break things" firms like Facebook or Uber (as opposed to say '90s Microsoft or Sun or IBM or Bell Labs) becoming the vanguard advancing the cutting edge of some categories of software has created perverse incentives that reward this behavior. A cultural shift in Silicon Valley software development.
[ Parent
| on HN ]
People used to talk about Java in the same way people talk about electron now so I feel like that's a definite no.
Re:I Bought Apple Silicon
by nalekberov on Friday December 18, 2020 @07:04PM
(#25473621)
Programs written in Java runs on top JVM. On the other hand programs written for Electron comes bundled with Chromium. And we all know how it manages memory.
The JVM is fast today after 25 years of optimization and some serious improvements in the underlying processors (even with the Moore’s law failure of maybe half that period).
It was not fast at all when the Java hype was peaking in the late 90s. I knew a dotcom era startup that replaced a bunch of Perl with Java and my friends complained it had fewer features and was much slower.
Re:I Bought Apple Silicon
by nalekberov on Saturday December 19, 2020 @07:12AM
(#25476938)
Java's selling point was portability, and did it very well, it was faster than programs written in interpreted languages, well it was and still is slightly slower than programs written in C and likes.
Programs written on Electron rely solely on web technologies, I always avoid these programs, one simple chat application eats up to half a GB of memory, no I am not going to increase my machine's memory in order to run those programs.
Re:I Bought Apple Silicon
by Apocryphon on Friday December 18, 2020 @11:58PM
(#25475182)
One wonders how fast Electron will be in 25 years, if it lasts that long.
Re:I Bought Apple Silicon
by sudosysgen on Friday December 18, 2020 @08:10PM
(#25474021)
The relative penalty for using Java over C is so much smaller than Electron over Java or Electron over C
Re:I Bought Apple Silicon
by Turing_Machine on Friday December 18, 2020 @10:51PM
(#25474844)
For cases on the edge, the penalty for not using Electron is that you don't get to use the software at all, because the developer doesn't have the personnel or budget to port it to multiple platforms.
Real software that does a job you need it to do is much better than hypothetical software that will do the same job faster.
Re:I Bought Apple Silicon
by sudosysgen on Saturday December 19, 2020 @02:04PM
(#25480134)
That's not really true. There's very few software that wouldn't exist if it weren't for Electron.
You don't need to port Electron tier-software. This was a solved issue long ago. Code it in Java, Python etc... Or Use Rust/C/C++ and a cross platform toolkit.