News for hackers. Stuff that matters.
Re:Java at 30: The Genius Behind the Code That Changed Tech by sigzero on Friday May 16, 2025 @04:05PM (#44009322)
> I can run THE SAME CODE on DOS, BeOS, Amiga, Atari ST, any of the BSDs, Linux distros, macOS, OS X, Windows, HP/UX, SunOS, Solaris, IRIX, OSF/1, Tru64, z/OS, Android, classic Mac, and more.

No, you really can't. Not anything significant anyway. There are too many deviations between some of those systems to all you to run the same code.

Re:Java at 30: The Genius Behind the Code That Changed Tech by maxlybbert on Friday May 16, 2025 @04:25PM (#44009506)
Honestly, the main difference I run into is just file paths, and that’s easy to sidestep ( https://perldoc.perl.org/File::Spec ).

There are differences, but they’re usually esoteric ( https://perldoc.perl.org/perlport#PLATFORMS ).

Re:Java at 30: The Genius Behind the Code That Changed Tech by cestith on Tuesday May 20, 2025 @03:11PM (#44044848)
Yes, I really can, and with the same number or fewer OS-specific checks than the equivalent C program.