News for hackers. Stuff that matters.
Re:Midipix: Posix for Windows by userbinator on Wednesday June 03, 2015 @08:57AM (#9652159)
This is part of the reason why I don't think compatibility layers like this are worth bothering with if you're after performance - different OSs do things in different ways, and while it's possible to make one work like another, it's sub-optimal because that wasn't the use-case the OS was designed for.

It's really a high-level design decision: Applications originally designed for *nix will use fork(), while those for Windows will use something else - maybe threads, maybe CreateProcess().

Re:Midipix: Posix for Windows by pjmlp on Wednesday June 03, 2015 @09:44AM (#9652438)
Not only that, like Mac OS X, Windows is moving into another application model WinRT with containers. Just like Carbon, only selected Win32 APIs will survive in the long run.

Which leaves the question how much POSIX can be implemented on top of WinRT.

Similarly not all POSIX calls are allowed inside Mac OS X App Sandbox.

And if we restrain ourselves to POSIX there is little more than command line applications, TCP/IP headless servers and Motif GUIs.

Re:Midipix: Posix for Windows by cwyers on Wednesday June 03, 2015 @11:11AM (#9653127)
> Not only that, like Mac OS X, Windows is moving into another application model WinRT with containers. Just like Carbon, only selected Win32 APIs will survive in the long run.

Microsoft would still let you run 16-bit DOS apps on Windows if Intel hadn't dropped compatibility from their 64-bit processors. Both of us will be dead and buried before Win32 goes away.

Re:Midipix: Posix for Windows by pjmlp on Wednesday June 03, 2015 @11:25AM (#9653236)
Sure, but it doesn't change the fact that one day it will be gone, specially if Windows 10 becomes another 7.
Re:Midipix: Posix for Windows by netheril96 on Wednesday June 03, 2015 @10:36AM (#9652848)
> Which leaves the question how much POSIX can be implemented on top of WinRT.

> Similarly not all POSIX calls are allowed inside Mac OS X App Sandbox.

Except that WinRT as well as OS X Sandboxed App are all unpopular and therefore unlikely to replace the regular apps anywhere near in the future.

Re:Midipix: Posix for Windows by pjmlp on Wednesday June 03, 2015 @10:49AM (#9652955)
If you prefer another set of examples, iOS, Android, Arduino, HTML 5.

For me POSIX is a kind of unofficial C runtime.

Now with systems moving beyond C, POSIX matters much less.