DMD supports ranges, but druntime can't see them?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.com
Thu May 23 14:43:32 UTC 2019
On 5/23/19 5:46 AM, Timo Sintonen wrote:
> On Thursday, 23 May 2019 at 06:41:04 UTC, Mike Franklin wrote:
>
>>> Oh, and druntime must go.
>>>
>>> The whole distinction between the runtime library and the standard
>>> library is clowny and has more to do with poorly ported tradition
>>> from other languages, than with anything else.
>>>
>>> We need one standard library that is entirely pay-as-you-go (e.g.
>>> empty main() means no library file is ever needed for linking) and
>>> that offers an opt-in continuum.
>> ---
>>
>> So, the divide between druntime and phobos shouldn't even exist. But
>> what does a united druntime/Phobos look like? How do we organize it
>> logically, and modularly with clear boundaries, so it doesn't turn
>> into a tangled mess and users only pay for what they use? I don't
>> know, but I'm trying to figure that out.
>>
>
> We actually do need a runtime library. It should contain code for
> compiler generated runtime function calls. Nothing else.
Ideally all of those would be small function templates.
More information about the Digitalmars-d
mailing list