May 12, 2012
Is anyone here familiar with the XOMB operating system?
   http://wiki.xomb.org/index.php?title=Main_Page


It appears to be written in D.
   http://wiki.xomb.org/index.php?title=History_of_XOmB

"XOmB originally came about as a joke. Our group wanted to learn
the D Programming Language, and so we decided to do a project
together. While discussing what kind of project we should
undertake, someone suggested an operating system. We then had
several discussions about how we would implement it, if we would
actually go through with it, and realized that we had several
interesting ideas. "


I am wondering which language features they used and which ones
they stayed away from. This would be useful information if
someone wanted to use D for embedded programming.
May 12, 2012
"tim krimm" <twkrimm@gmail.com> wrote in message news:yrxopyridbcfflrgpslp@forum.dlang.org...
> Is anyone here familiar with the XOMB operating system?
>    http://wiki.xomb.org/index.php?title=Main_Page
>
>
> It appears to be written in D.
>    http://wiki.xomb.org/index.php?title=History_of_XOmB
>
> "XOmB originally came about as a joke. Our group wanted to learn the D Programming Language, and so we decided to do a project together. While discussing what kind of project we should undertake, someone suggested an operating system. We then had several discussions about how we would implement it, if we would actually go through with it, and realized that we had several interesting ideas. "
>
>
> I am wondering which language features they used and which ones they stayed away from. This would be useful information if someone wanted to use D for embedded programming.

Anytime someone says "D isn't a systems language because nobody's written an OS in it", XOMB gets mentioned ;)

I admit I don't know anything else about XOMB ATM, though :(


May 14, 2012
On 2012-05-12 21:37, tim krimm wrote:
> Is anyone here familiar with the XOMB operating system?
> http://wiki.xomb.org/index.php?title=Main_Page
>
>
> It appears to be written in D.
> http://wiki.xomb.org/index.php?title=History_of_XOmB
>
> "XOmB originally came about as a joke. Our group wanted to learn
> the D Programming Language, and so we decided to do a project
> together. While discussing what kind of project we should
> undertake, someone suggested an operating system. We then had
> several discussions about how we would implement it, if we would
> actually go through with it, and realized that we had several
> interesting ideas. "
>
>
> I am wondering which language features they used and which ones
> they stayed away from. This would be useful information if
> someone wanted to use D for embedded programming.

They need to be very careful with anything that uses the runtime, since they don't have a runtime to relay on. They need to build their own runtime. So anything related to the GC, threads so on.

-- 
/Jacob Carlborg
May 15, 2012
Ping: Are there any XOMB developers out there reading this?
May 15, 2012
On Tuesday, 15 May 2012 at 02:06:24 UTC, tim krimm wrote:
>
> Ping: Are there any XOMB developers out there reading this?

Jarrett Billingsley, Brian Madden, and Kelly Wilson all
contributed to the XOMB project. I haven't seen anything from
them for years now. Don't know if they just lurk in the shadows
or have completely given up on D.
May 15, 2012
On 15/05/2012 03:36, Tyro[17] wrote:
> On Tuesday, 15 May 2012 at 02:06:24 UTC, tim krimm wrote:
>>
>> Ping: Are there any XOMB developers out there reading this?
>
> Jarrett Billingsley, Brian Madden, and Kelly Wilson all
> contributed to the XOMB project. I haven't seen anything from
> them for years now. Don't know if they just lurk in the shadows
> or have completely given up on D.

Probably not, but you could try and contact them. You can get a list of them here:

https://github.com/xomboverlord/xomb

Doesn't look like it's been updated in a year or so though - there may be a more recent branch somewhere though. Note it's written in D1.

-- 
Robert
http://octarineparrot.com/
May 26, 2012
On Tuesday, 15 May 2012 at 09:38:13 UTC, Robert Clipsham wrote:
> On 15/05/2012 03:36, Tyro[17] wrote:
>> On Tuesday, 15 May 2012 at 02:06:24 UTC, tim krimm wrote:
>>>
>>> Ping: Are there any XOMB developers out there reading this?
>>
>> Jarrett Billingsley, Brian Madden, and Kelly Wilson all
>> contributed to the XOMB project. I haven't seen anything from
>> them for years now. Don't know if they just lurk in the shadows
>> or have completely given up on D.
>
> Probably not, but you could try and contact them. You can get a list of them here:
>
> https://github.com/xomboverlord/xomb
>
> Doesn't look like it's been updated in a year or so though - there may be a more recent branch somewhere though. Note it's written in D1.

I tried contacting them almost a week ago and I have not heard back.
May 31, 2012
I have been looking at the xomb bare bones (XBB) source code.
It looks like they have a bare bones library, no Phobos.
They used ldc for their compiler.

1) Can the same things be done with the DMD version 2 compiler?

2) Will DMD work without the Phobos library?

3) What minimal set of modules do you need for DMD?
May 31, 2012
On 2012-05-31 05:04, tim krimm wrote:
>
> I have been looking at the xomb bare bones (XBB) source code.
> It looks like they have a bare bones library, no Phobos.
> They used ldc for their compiler.
>
> 1) Can the same things be done with the DMD version 2 compiler?

Maybe, I don't know if it has the correct flags. One don't want to link to the standard library (which dmd does by default) and the runtime library when building a kernel.

> 2) Will DMD work without the Phobos library?

Yes, it only needs the runtime. What's needed from the runtime depends on what the code does.

> 3) What minimal set of modules do you need for DMD?


-- 
/Jacob Carlborg
May 31, 2012
On Thursday, 31 May 2012 at 03:04:58 UTC, tim krimm wrote:
>
> I have been looking at the xomb bare bones (XBB) source code.
> It looks like they have a bare bones library, no Phobos.
> They used ldc for their compiler.
>
> 1) Can the same things be done with the DMD version 2 compiler?
>
> 2) Will DMD work without the Phobos library?
>
> 3) What minimal set of modules do you need for DMD?

GDC has the -nophoboslib flag. So you can write a D file that doesn't use druntime or phobos:

extern(C) int puts(const char *);

extern(C) int main()
{
    puts("Hello world!");
    return 0;
}

and compile it with:

gdc -nophoboslib hello.d

The linker will complain about undefined reference to _Dmodule_ref. So you need to write a c file like with just "void* _Dmodule_ref;" in it and compile it to object file with gcc -c dummy.c. Then you can do

gdc -nophoboslib hello.d dummy.o

And it works.

« First   ‹ Prev
1 2
Top | Discussion index | About this forum | D home