www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - OT: HelenOS 0.6.0 released

reply "Suliman" <evermind live.ru> writes:
It's not related with D topic, but maybe it would be interesting 
for some programmers.

Could anybody explain would it hard to create port DMD to 
HelenOS, and what needed for it?

http://www.helenos.org/node/139
image to play http://www.qemu-advent-calendar.org/#day-20
Dec 27 2014
next sibling parent reply "Joakim" <dlang joakim.fea.st> writes:
On Saturday, 27 December 2014 at 16:39:44 UTC, Suliman wrote:
 It's not related with D topic, but maybe it would be 
 interesting for some programmers.

 Could anybody explain would it hard to create port DMD to 
 HelenOS, and what needed for it?

 http://www.helenos.org/node/139
 image to play http://www.qemu-advent-calendar.org/#day-20
It depends on how Posix-compliant it is. D is mostly run on Posix-ish systems, like linux, OS X, or BSD, and on Windows. I don't know how much dmd itself relies on such OS APIs, but druntime/phobos certainly do.
Dec 27 2014
parent reply "Suliman" <evermind live.ru> writes:
Helen OS do not have Posix-compatibility.
Dec 27 2014
parent "Joakim" <dlang joakim.fea.st> writes:
On Saturday, 27 December 2014 at 17:53:08 UTC, Suliman wrote:
 Helen OS do not have Posix-compatibility.
It may not be certified as fully Posix-compliant, but it certainly seems to have some support. The open question is how much it supports the parts that dmd/druntime/phobos use.
Dec 27 2014
prev sibling parent ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Sat, 27 Dec 2014 16:39:43 +0000
Suliman via Digitalmars-d <digitalmars-d puremagic.com> wrote:

 Could anybody explain would it hard to create port DMD to=20
 HelenOS, and what needed for it?
i don't remember if it has proper TLS support. and what the state of posix emulation libraries there. the basic questions are TLS support and threading support (how easy it will be to support pause semantics required by current GC implementation). everything other is a tedious work of writing wrappers for "traditional" system calls, boring but doable. i believe that is shouldn't be very hard though.
Dec 27 2014