Developing a D Kernel
Mehrdad
wfunction at hotmail.com
Sat Jun 4 10:54:48 PDT 2011
On 6/4/2011 8:13 AM, Ben Grabham wrote:
> Hey,
>
> I'm trying to develop a kernel in D2. It works fine if I don't use
> classes but as soon as I try to use classes, it complains about the
> lack of object.d.
>
> So, I set out on a quest to develop a simple object.d that doesn't
> need to import anything to work apart from basic memory functions like
> malloc, etc (for now). I'm partially basing it off the one included in
> the D runtime. The problem is that I'm trying to find a minimal
> object.d that doesn't try to pull in too much. Has this been done
> before? Whenever I try to create one that is not the original one, I
> just make the compiler generate a segmentation fault.
>
> I've also been trying to find a kernel project that someones started
> with classes in D2 but have yet to find one. Does anyone know one?
>
> Thanks,
> Nebster
Yeah, I've tried this before and sorta failed. :(
http://stackoverflow.com/questions/4506335/my-os-kernel-in-d-some-embedded-strings-dont-work
More information about the Digitalmars-d
mailing list