d bare bones

Iain Buclaw ibuclaw at ubuntu.com
Sun Sep 8 06:04:13 PDT 2013


On 8 September 2013 13:00, Joseph Rushton Wakeling
<joseph.wakeling at webdrake.net> wrote:
> On 06/09/13 15:11, Iain Buclaw wrote:
>>
>> It has always been the case that if you want to enter kernel-space
>> with D, you have to drop phobos and implement a more low level
>> druntime.  For instance, the GC that comes with D is wholly infeasible
>> for use inside a kernel .
>
>
> To what extent can that situation be improved with respect to Phobos?  The
> ideal would be to make it non-GC-reliant and agnostic with respect to how
> the runtime manages memory.
>

Wouldn't want to change Phobos in any way really, it serves it's purpose.


> More generally, this makes a case for something like a well defined
> "dmicroruntime" which can be used as a general solution for embedded and
> low-level programming.

This could be done - don't like the name though. ;)


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list