Daniel Green Wrote: > The Windows driver module, possibly others I'm just familiar with that > one, may be a good way to think of the problem. Essentially one has > layers that would give access to an increasing subset of D until you > reach the full capabilities offered. > > bare-metal : D subset WYSIWYG. D requires no support functions. Outputs > minimal extra code. > kernel : Basic support functions. > driver(low): Kernel allocated objects. Maybe GC. > driver(high): Templates, GC, TLS, basically full D at this point. > user: Phobos or equivalent runtime.
Such feature would be fantastic. Where belong asserts and bound checks?