5 ms·
Java was and is wasteful. Some of us remember something very similar to this Electron mess happening in the Distant Past when Java fans tried to convince everyo
by ashark 10y ago
Java was and is wasteful. Some of us remember something very similar to this Electron mess happening in the Distant Past when Java fans tried to convince everyone that UI slowness and general system-wide performance issues when Java programs were running were just in our heads, and to just get over it because Java was the Way of the Future™.
Of course now computers are so fast that no-one much minds Java anymore. So we had to invent web apps and Electron to make sure desktop computing doesn't actually become pleasant. That'd simply be unacceptable.
- kuschku 10y agoI’m just wondering why the fuck we don’t simply just use Java, and get exactly the same advantages as electron provides, while still getting better performance. An argument can be made that devs might want to not care about memory allocation or anything, but Java does that just as well as JS, with a better build system, better community tools, better speeds, easier UI tools, and better dependency management.
- ashark 10y agoI think the main driver is that a lot of developers are really not comfortable manually juggling types. Seriously.
- kuschku 10y agoThat’s... You’re serious? I’m not quite sure what to answer. On the one hand, that’s embarrassing (and tells tales of the quality of compsci education), on the other hand, there’s Groovy, I guess?
- vorg 10y agoBad example. Apache Groovy has the downsides of both Java (e.g. requiring the memory hogging JVM) and JS (e.g. errors arising from dynamic typing, like one-char strings auto-converted to chars).
- deleted 10y ago[deleted]