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