3 ms·
from the linked microsoft store page, https://www.microsoft.com/en-us/p/sizebench/9ndf4n1wg7d6 https://www.microsoft.com/en-us/p/sizebench/9ndf4n1wg7d6: Appr
by 5- 5y ago
from the linked microsoft store page, https://www.microsoft.com/en-us/p/sizebench/9ndf4n1wg7d6 https://www.microsoft.com/en-us/p/sizebench/9ndf4n1wg7d6:
Approximate size: 276 MB
looks like they should try running this tool on itself?
- mwcampbell 5y agoIt's a .NET application using WPF, with the CLR bundled, as is the norm for .NET Core. The fact that the developers of SizeBench chose not to value small size above all else in the tool itself doesn't invalidate the work they've done on what looks like a useful tool.
- userbinator 5y agoIt's still incredibly ironic and a bit WTF. For contrast, the old WinDirStat disk space visualisation utility is a single binary around 600KB. Not tiny, but not elephantine either.
- zamadatix 5y agoI always liked Diskitude which was a 10k single binary, even supports hidpi! Author did go to town on the optimization though, it doesn't even use the c std library.
- 5- 5y agothat's pretty good! the equivalent on my system is a monster of more than 5x the size: $ yay -Qi xdiskusage|grep Size Installed Size : 54.77 KiB > it doesn't even use the c std library. isn't that expected of win32 applications? {kernel,user}32.dll typically provide the equivalent functionality.
- zamadatix 5y agoTypically applications still use some part of the c stdlib even if they use win32. In particular the diskitude site notes some of the math stuff took extra work.
- contextfree 5y agoPresumably that utility depended on OS APIs and libraries, though? My guess is this app would probably have been similarly small or at least much smaller if it had used a systemwide installed framework (i.e., Win32, systemwide .NET Framework, or System XAML/UWP) instead of bundling its own. But that approach is out of fashion because app and framework developers don't want to be tied to the OS, have to wait for their users to upgrade their OS before anyone can use new features, be tied to the OS support lifecycle, deal with compatibility issues and dependency conflicts, etc.
- userbinator 5y agoThat's... wow. A full install of Windows 95 with Office 95 is smaller than that.