DMD on Haiku?

Paulo Pinto pjmlp at progtools.org
Tue Oct 30 06:53:50 PDT 2012


On Tuesday, 30 October 2012 at 13:46:22 UTC, Isak Andersson wrote:
>> Based on my experience POSIX compliance is like any standard.
>>
>> You end up getting lots of #ifdef for each POSIX system 
>> anyway. The only people that think POSIX is a standard without 
>> any issues, only know GNU/Linux.
>>
>> One thing missing from the list which costs a lot of effort, 
>> is code generation.
>>
>> Based on my toy Solaris experience with DMD, I think it is 
>> easier to use LDC or GDC for bringing D to other platforms.
>>
>> --
>> Paulo
>
> Yeah, it seems like POSIX kind of failed in the sense that you 
> can't just have a simple posix makefile that works for any 
> posix compliant os.
>
> The problem with using those is that most D libraries are built 
> with DMD in mind, like Vibe.d. DMD is pretty much setting the 
> standard for how D behaves.

Yeah there are two main issues with POSIX:

- versions, which means you never know how compliant a given 
system is

- like C, the standard allows for implementation defined behaviors

In the end #ifdef all the way, no different than using a 
non-POSIX system.

--
Paulo


More information about the Digitalmars-d mailing list