tiny alternative to std library

Anthony Quizon anthoq88 at gmail.com
Wed Mar 3 03:52:13 UTC 2021


On Monday, 1 March 2021 at 08:52:35 UTC, Imperatorn wrote:
> On Thursday, 25 February 2021 at 22:39:11 UTC, Anthony wrote:
>> Hello,
>>
>> I noticed that importing some std libraries causes the build 
>> time to jump to around 1 - 3 secs.
>>
>> I started creating my own helper functions to avoid importing 
>> std for scripting and prototyping in order to keep the compile 
>> time at around 0.5 secs.
>>
>> I was wondering if anyone knows of any libraries that are 
>> geared towards something like this?
>>
>> Thanks
>
> What part of std? Have you tried selective imports?

Don't know specifically, but I tried doing this and it always 
eventually creeps over 2secs. Even with gold linker or rdmd.

Having a library with bare minimum meta programming would help 
with this I think. I'm willing to pay the cost of safety.


More information about the Digitalmars-d-learn mailing list