Speeding up importing Phobos files

Jacob Carlborg doob at me.com
Mon Jan 21 11:50:38 UTC 2019


On 2019-01-21 11:21, Adam Wilson wrote:

> I notice a trend here. You eventually end up at the Java/JAR or 
> .NET/Assembly model where everything need to compile against a library 
> is included in a single file. I have often wondered how hard it would be 
> to teach D how to automatically include the contents of a DI file into a 
> library file and read the contents of the library at compile time.
> 
> Having studied dependencies/packaging in D quite a bit; a readily 
> apparent observation is that D is much more difficult to work with than 
> Java/.NET/JavaScript in regards to packaging. Unified 
> interface/implementation would go a LONG way to simplifying the problem.
> 
> I even built a ZIP based packing model for D.

For distributing libraries you use Dub. For distributing applications to 
end users you distribute the executable.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list