www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Enhancement idea

reply "Koroskin Denis" <2korden gmail.com> writes:
Some guy in a Tango forum complained that he has to keep lots of .d files  
on his HDD. I agree that this is a bit annoying, my D import (not source)  
files take up more than 30 mb. While this is not a big problem, it should  
be taken into consideration, especially once our standard library (be it  


So here comes an enhancement proposal: Let DMD compiler automatically  
pickup .zip files in treat (virtually mount) them as a folder.
What do you think?
Jul 03 2008
next sibling parent BCS <ao pathlink.com> writes:
Reply to Koroskin,

 Some guy in a Tango forum complained that he has to keep lots of .d
 files  on his HDD. I agree that this is a bit annoying, my D import
 (not source)  files take up more than 30 mb. While this is not a big
 problem, it should  be taken into consideration, especially once our
 standard library (be it  Tango, Phobos or any other) overgrows Boost,

 
 So here comes an enhancement proposal: Let DMD compiler automatically
 pickup .zip files in treat (virtually mount) them as a folder.
 What do you think?
You will have a better case if you use gzip as IIRC DMD already uses the gzip library for symbol compression. Other than that, a neat idea.
Jul 03 2008
prev sibling parent Era Scarecrow <rtcvb32 yahoo.com> writes:
 Reply to Koroskin,
 
 Some guy in a Tango forum complained that he has to
keep lots of .d
 files  on his HDD. I agree that this is a bit
annoying, my D import
 (not source)  files take up more than 30 mb. While
this is not a big
 problem, it should  be taken into consideration,
especially once our
 standard library (be it  Tango, Phobos or any other)
overgrows Boost,

 
 So here comes an enhancement proposal: Let DMD
compiler automatically
 pickup .zip files in treat (virtually mount) them as a
folder.
 What do you think?
You will have a better case if you use gzip as IIRC DMD already uses the gzip library for symbol compression. Other than that, a neat idea.
Slightly off topic, But it is in the same general direction. If you happen to be using a GNU/Linux, you can patch and put on SquashFS, and then simply mount the volume using a loopback device. (I've had wonderful success using the FS). For Windows Users, there's 2 approaches that might be usable. Using Gzip compression (zlib) you can simply compress all files, and then in the compiler, decompresses it if it happens to be compressed on each run. A second option, this i've seen in Java is there's a library for accessing zip files, allowing you to open the zip file and cycle through all the files one by one, or look it up in a directory structure. Following the same train of thought, you could add support for 7zip file compression. (whole archive compression rather than individual file compression) and yields very good results. Era
Jul 05 2008