GNU version 0.18

Anders F Björklund afb at algonet.se
Thu Mar 30 02:44:31 PST 2006


Brad Roberts wrote, in response to Dave:

>> Can someone explain to me again the why behind this issue anyway? Are names
>> really that important? I mean I think it should be std.c.posix.posix, but I'll
>> settle for either one of the others. It's way to early to start forking the
>> 'standard' runtime lib. for D <g>
> 
>>Why linux? Marketing - because this will make the most sense to the most users.
>>
>>Why unix?  Because this is more widely understood than linux as a 'type' of
>>operating system.
>>
>>Why posix? Because naming issues for API's like this are the reason POSIX was
>>created in the first place. http://en.wikipedia.org/wiki/Posix
>>
>>POSIX to me really makes the most sense, but it seems to have the least
>>support.. Why?

Note that "std.c.linux" and version(linux) are both still used in GDC.
Just that "std.c.unix" and version(Unix) are now a *superset* of them...

See http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/Version
(where "X86_64" should probably change *again*, to X64 <sigh>)


The Windows version of DMD uses both of "Windows" and "Win32",
but GDC only uses "Unix" at the moment - and not any "Posix".
(You can still add this version yourself of course - I believe
that both Ares and Mango has done so in the past, for instrance)

I recall this thread http://dsource.org/forums/viewtopic.php?t=681


> I'd vote for 'std.c.posix'.  I don't see why there's two levels there, 
> though I admit to not having searched for a justification.  The problem, 
> as you pointed out, is one of recognition.  Though I'd just point to 
> correctness over branding as a justification for using posix.  Given that 
> D is all about presenting a unified and consistent interface and that's 
> what posix is all about, it just seems right.

It's not really a vote, David made the std.c.unix decision _long_ ago ?
See this thread: http://www.digitalmars.com/d/archives/D/gnu/1208.html

Compared to all the other problems that D is facing, I don't think that
changing "Unix" over to "Posix" is something that is worth fighting for.

--anders



More information about the D.gnu mailing list