Speeding up importing Phobos files
Adam Wilson
flyboynw at gmail.com
Mon Jan 21 13:03:02 UTC 2019
On 1/21/19 3:50 AM, Jacob Carlborg wrote:
> 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.
>
DUB does nothing to solve the file lookup problem so I am curious, how
does it apply to this conversation? I was talking about how the files
are packaged for distribution, not the actual distribution of the
package itself.
And don't even get me started on DUB...
--
Adam Wilson
IRC: EllipticBit
import quiet.dlang.dev;
More information about the Digitalmars-d
mailing list