A betterC modular standard library?

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 19 11:54:54 PST 2016


On Monday, 19 December 2016 at 19:52:43 UTC, Ilya Yaroshenko 
wrote:
> On Monday, 19 December 2016 at 19:48:39 UTC, Guillaume Piolat 
> wrote:
>> On Monday, 19 December 2016 at 19:42:42 UTC, Ilya Yaroshenko 
>> wrote:
>>> No,
>>> 1. DRuntime has not fixed API
>>
>> Can't you static link with it? If you static link with it, 
>> your client don't deal with DRuntime.
>>
>>
>>> 2. It has not backward binary compatibility
>>
>> Ditto. If you static link with it, your client don't deal with 
>> binary compatibility.
>>
>>
>>> 3. It has not cross-compiler binary compatibility.
>>
>> Mandate that every D code in the project is built with the 
>> same compiler, which is realistic.
>
> How this can work for libraries? Please read this thread.
> This is not realistic. This a huge constraint for D libraries 
> to be modular, replaceable and distributed in binary form.

To be more precise: I do not build library exclusively for D. 
They should be easily interacted with other languages.


More information about the Digitalmars-d mailing list