News for hackers. Stuff that matters.
Re:The Finder’s GUI tax can be very expensive by Someone on Thursday December 08, 2016 @06:02PM (#13135126)
Windows also always unzips to a fixed scratch directory before creating the real files.

That scratch directory is %TMP% or %TEMP%, I think, but it definitely always is on the same disk, typically C:

If you unzip files to another disk than where that directory lives, it unzips to its scratch directory, then _copies_ the extracted files to their destination, and finally deletes the scratch files.

That's bad in itself, but doubly so if the disk where it unpacks doesn't have room for the unzipped files.

Mac OS had a system call "Give me the temp directory on this disk" (FindFolder) that made it possible to extract to a temp directory and then move the result to the destination. That call made it into Carbon. I don't think macOS still has it, but it seems UnArchiver does the right thing, anyways.

Re:The Finder’s GUI tax can be very expensive by aidenn0 on Thursday December 08, 2016 @11:53PM (#13136761)
Internet explorer did the same thing with downloads; I discovered this when I had a 1GB C: drive and a 6GB D: drive and tried to download something that was too large to fit on the C: drive.
Re:The Finder’s GUI tax can be very expensive by theandrewbailey on Friday December 09, 2016 @08:43AM (#13138672)
For the longest time, I searched for a GUI archiver that didn't use temp directories at all.