[Semi-OT] I don't want to leave this language!

Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 7 05:24:14 PST 2016


On Wednesday, 7 December 2016 at 13:14:52 UTC, Kagamin wrote:
> On Monday, 5 December 2016 at 20:25:00 UTC, Ilya Yaroshenko 
> wrote:
>> Good D code should be nothrow, @nogc, and betterC. BetterC 
>> means that it must not require DRuntime to link and to start.
>
> Without runtime you won't have asserts (C has them), bounds 
> checking, array casts, string switch. Doesn't sound good to me.

All this can be done without runtime. It is weird that we need 
runtime for now for this features.

> And why is it a requirement at all? C and C++ already depend on 
> their quite huge runtimes already. Why D shouldn't?

Exactly, C already has a runtime. We can reuse it instead of 
maintaining our own.

I never said we must delete DRunime. I just need an 
infrastructure without runtime. And I am working on it.

Ilya



More information about the Digitalmars-d-learn mailing list