5 ms·
> Tips for stable and portable software I think a more accurate title would be "Tips for stable and portable C programs"
by kasperni 6y ago
> Tips for stable and portable software
I think a more accurate title would be "Tips for stable and portable C programs"
- Cthulhu_ 6y agoThe author lists a number of languages considered stable, C being one of them because of widespread support and portability. Java isn't portable for example because it depends on the JVM (and I know GraalVM is a thing but will you still be able to use it in ten years?).
- brabel 6y agoThe argument against Java is weak... You can take the latest JVM and run any jar from 1999. Also, Java has had jlink in the latest versions which compiles a runtime that does not require a JVM installation, you don't need GraalVM for that.
- kasperni 6y agoShow me a JavaScript developer that cares deeply about POSIX or the operating system they are running on. And what about Windows? It is still used on 80% on all computers? So why is POSIX essential?
- Shared404 6y agoHaven't done much work with servers I take it. Almost any OS running on a server is going to be POSIX, probably Linux or BSD.
- nicoburns 6y ago> Java isn't portable for example because it depends on the JVM By that logic C isn't portable because it relies on libc.
- AtlasBarfed 6y agoThe JVM has multiple implementations across a huge range of architectures. Java is managed by a standards process. Once excluded, the article goes into depth on a range of things that one could argue Java specifically addresses and in a better, more portable way. One could argue about GUIs, but the portability of GUIs is not just a Java/Swing problem.
- deleted 6y ago[deleted]