proposal: lazy compilation model for compiling binaries

Jacob Carlborg doob at me.com
Tue Jun 25 02:35:51 PDT 2013


On 2013-06-24 23:33, JS wrote:

> Having one file to share is better than many. It makes it easier to
> version, easier to maintain, and easier to distribute.
>
> It is better than just zipping the collection of files, e.g. jar's,
> because it allows for better structural encoding but is effectively the
> same. Utilities can be used to extract/view specific information if needed.
>
> The main benefit is versioning. One never has to worry about different
> parts of the library being out of sync because *everything* is compiled
> to one file. There is nothing to maintain except the source code.

Are you meaning we should put all the source code/.di files into the 
libraries? The library will then both provide the API and the 
implementation.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list