Posix vs. Windows

Paulo Pinto pjmlp at progtools.org
Fri May 18 12:44:14 PDT 2012


Am 18.05.2012 21:11, schrieb Sean Kelly:
> On May 18, 2012, at 9:42 AM, "H. S. Teoh"<hsteoh at quickfur.ath.cx>  wrote:
>
>> On Fri, May 18, 2012 at 09:37:23AM -0700, Sean Kelly wrote:
>> [...]
>>> If you're targeting Windows then use Windows APIs, if Posix then
>>> Posix.  Windows does claim Posix support, but it's really pretty
>>> terrible and Druntime doesn't have declarations for the Posix Windows
>>> interface anyway.
>>
>> Does Windows conform to the Posix spec at all? I highly doubt it, esp.
>> some parts that just goes against how Windows works.
>
> It's called SUA these days and I believe is Posix compliant. The problem is more that the Posix spec is so loose that Posix compliance alone doesn't mean very much. Tons of stuff is isn't implemented or is implemented badly, and the command shell is just a train wreck.

Developing software for multiple comercial UNIX systems has its own 
share of pains.




More information about the Digitalmars-d mailing list