On Thursday, 31 October 2013 at 02:25:11 UTC, Jonathan M Davis wrote:
Then you have to worry about which functions in a module work on which OS. It's generally a far cleaner separation to separate the OSes via the module
system, which is what druntime does for posix and windows.

posix and windows each end up as a soup of OS-specific feature sets too, and you still have to worry about which functions work on which OS. Is it a clear enough separation? And posix doesn't mean native, it means portable: windows implements it to some extent, so one might want to add windows support to posix modules or implement missing posix functions from scratch.

Reply via email to