←back to thread

304 points mooreds | 1 comments | | HN request time: 0s | source
Show context
dusted ◴[] No.42170325[source]
Raymond Chens blog and book (The Old New Thing) is an absolute delight! I always had a big respect for how intuitive the Windows 95 GUI is, and reading his description of the thoughts and methods behind its inception, it's no surprise that it became so good. It seems like Microsoft was extremely pragmatic and reasonable in many of their endeavors back then. It's a wonder how it degenerated into the absolute unit of sh*t that is modern Windows (even if the filesystem and kernel is arguably a lot better, everything on top seems to be developed by an army of interns)
replies(5): >>42171191 #>>42171616 #>>42171979 #>>42172243 #>>42174602 #
andai ◴[] No.42171616[source]
>filesystem is a lot better

In my tests it was 6-7x slower than on Linux (in VirtualBox on Windows). I assume by better you mean more features?

On a related note I used one of those system event monitor programs (I forget the name) and ran a 1 line Hello World C program, the result was windows doing hundreds of registry reads and writes before and after running my one line of code.

Granted it doesn't take much time but there's this recurring thing of "my computer being forced to do things I do not want it to do."

I also — and this is my favorite, or perhaps least favorite one — ran Windows XP inside VirtualBox (on Windows 10). When you press Win+E in XP, an Explorer window is shown to you. It is shown instantly, fully rendered, in the next video frame. There is no delay. Meanwhile on the host OS (10), there is about half a second of delay, at which point a window is drawn, but then you can enjoy a little old school powerpoint animation as you watch each UI control being painted one by one.

(Don't get me started on the start menu!)

Twenty years of progress!

replies(4): >>42171686 #>>42171830 #>>42172406 #>>42172567 #
jraph ◴[] No.42171830[source]
> I assume by better you mean more features?

I would guess better on current Windows than on Windows 95. I don't know about faster, but NTFS is most probably more reliable than FAT32. And also more features of course, and fewer limitations. At least the file size limit (4 Gb) and ownership / rights metadata (ACL).

replies(2): >>42171926 #>>42177699 #
PaulHoule ◴[] No.42171926{3}[source]
Depends how you use it.

If you are handling a stupendous number of small files (say doing an npm build) then metadata operations are terribly expensive on Windows because it is expensive to look up security credentials.

Maven is not too different from npm in how it works except instead of installing 70,000 small files it installs 70 moderate sized JAR files that are really ZIP files that encase the little files. It works better in Windows than npm. Npm got popular and they had to face down the problem that people would try building the Linux kernel under WSL and get awful times.

Microsoft knows it has to win the hearts and minds of developers and they believe in JS, TS and Visual Studio code so they’ve tried all sorts of half-baked things to speed up file I/O for developers.

replies(1): >>42172197 #
akx ◴[] No.42172197{4}[source]
No filesystem is great in the lots-of-small-files case, partly simply due to syscall overhead.

There's a reason https://www.sqlite.org/fasterthanfs.html , SquashFS, etc. are a thing, or why even Europe's fastestest supercomputer's admins admonish against lots of small files. https://docs.lumi-supercomputer.eu/storage/#about-the-number...

replies(4): >>42172253 #>>42173942 #>>42176439 #>>42181557 #
1. whoknw ◴[] No.42173942{5}[source]
The reason LUMI is advising against many files is that it uses the Lustre parallel filesystem, which is notoriously bad with small files. See here: https://www.lanl.gov/projects/national-security-education-ce... .