r/programming • • Feb 22 '15

Java Makes Programmers Want To Do Absolutely Anything Else With Their Time

http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35 Upvotes

636 comments sorted by

View all comments

Show parent comments

3

u/btchombre Feb 22 '15

No wonder Windows is ~60GB installed.

Windows 8.1 minimum hardware requirements are 16 GB. Windows itself is less than 10 GB installed. Sometimes additional third party drivers are installed for convenience which take up a lot of additional space, but this is not required.

3

u/tetroxid Feb 22 '15

20GB for 64bit. No sane person would use a 32bit OS in 2015. And those 20GB will be almost full, making Windows complain about low disk space, and making it behave weirdly. There won't be enough space for system restore points for updates, breaking them. And so on and so forth. Most Linux distros are a few gigabytes installed, including applications that Windows lacks in the default install.

I'm not some idiot Linux diehard fan trying to bash Windows. From a technical perspective, this is simply ridiculous. Even if Microsoft included compatibility libraries for 32bit (as does my 64bit Debian installation by the way), and then several versions of each of those on top of all that, it shouldn't get bigger than 10GB. I just don't get it. Microsoft has some of the very best engineers and architects in the world, and they mostly write good code, as we have seen from the leaks of NT and of the open sourcing of .NET.

3

u/gschizas Feb 22 '15

The answer is simple:

  1. What you see is NOT what you get (a whole folder in Windows, WinSxS is mostly made out of smoke and mirrors).

  2. Consider having to include ALL versions of each library in Linux. That's effectively what Windows does. The reason: Backward compatibility. Yes, it sucks, but not being able to run that one program that an external consultant built for your company and no-one dares touch it code, this sucks way more than 20 GB of disk (which cost like 1$ or 10$ for SSD)

2

u/tetroxid Feb 22 '15
  1. I know what hardlinks are. I don't measure the size of a Windows installation by what explorer.exe tells me, but by the size of a VM. A RHEL 7 VM template is a few gigabytes in size, a Windows 2012 VM template is a few dozen gigabytes in size. Creating a new RHEL VM is done in seconds, and Puppet has installed, configured, integrated and started its services by the time the windows VM has finished cloning and is starting to boot.

  2. Windows is missing package management. These applications that depend on specific versions of specific libraries should inform Windows about them. Windows would then be able to build a tree of needed libraries and install those.

Actually, I think the one feature that Windows is missing is package management. Imagine a repository server (like WSUS, but for software and libraries) that the windows instances could pull their components from as needed.

1

u/[deleted] Feb 22 '15

In my experience, useful windows systems occupy twice the disk space of useful Linux or OS X systems.