4 ms·
I’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.
by kuschku 10y ago
I’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]