I made a complex hand detection software and it totals only around 28KB storage. I have around 600 lines of code and only have 28KB. How do other software programs manage to get so big (i.e. couple of Gigabytes). I mean I understand why games are big, but I couple of days ago I found a simple picture viewer that was around 50MB. How did it manage to take up so much space? I am taking about storage not RAM
What I am basically wondering is how do programs manage to need so much storage space?
It depends – what they were made with, how efficient the programmer was, and probably most importantly, the resources. Your hand detection program is probably mostly algorithms, right? Common software might include things such as localization (I know Notepad++’s huge size owes mostly to its 72-or-some languages and various help files with images) as well as icons, large images, splash screens, custom-designed forms… they also might be written in .NET or something, which is IL and includes version-checking code and things… the list goes on and on.
Some applications might also include the libraries they use packaged within themselves so as to avoid “missing DLL” messages, or they might have static libraries included, and maybe they package fonts or things like that.
There are lots of different possibilities.