On Wednesday, 5 June 2013 at 00:58:02 UTC, Walter Bright wrote:
On 6/4/2013 5:13 PM, Marco Leise wrote:
Actually, I've often thought of making dmd able to read everything it needs out of a zip file.

I support that. It would make distributing source code cleaner. Most of the time you don't need to look at the code, just compile it, while still knowing that you have it available in an archive if you need it.

Maybe that kind of support could improve the distribution of closed-source libraries, too: the generated .di files and the binaries could be packaged together in a zip file.

More, the zip file could be really easy tested for self-containment. It happens sometime that a folder of code compiles, then when you package the whole thing and ship it, you discover that you forget to package inside some kind of file/dependency, and the customers are complaining about it.

With a zip file, you just do a compile-check on the final package and, if ok, then it is ready for shipment.

Btw, I cannot not resist, just adding here my favorite quote in software development:

"It compiles. Let's ship it!" :)

Reply via email to