2 ms·
I don't think I've ever come across a Windows API that was pleasant to use CreateProcess is probably my favourite example NT didn't inherit the problems of fo
by blibble 5y ago
I don't think I've ever come across a Windows API that was pleasant to use
CreateProcess is probably my favourite example
NT didn't inherit the problems of fork() with unix, but it's still a disaster of giant nested structures, combined with several different ways of creating lists of parameters (some params need quoting in weird ways, others need manual construction of arrays of null terminated strings)
whereas the POSIX APIs tend to be small, clean and simple
- kaba0 5y agoOther than creating a struct with shitty abbreviations and int values from god damn where. Don’t get me wrong, I really like linux. But I don’t think that posix syscalls are that simple.