I think processes are too OS-specific and should not be included in C++.
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/cd06020d-157b-4bda-826b-3aa2c3d59782%40isocpp.org.
At least file systems tend to be fairly consistent between systems.
Threading is pretty basic.
But process management? That's a new can of worms.
How do we deal with differing contexts?
Systems where the process doesn't have the authority to generate new processes?
Just because we added filesystem support (a terrible idea, at least the way it was implemented) doesn't mean we need to adopt more terrible ideas.
Although threading has many OS specific aspects, there is enough commonality between threading environments that it usually works out. In order to start a process we'd need an executable, which is very OS-specific by definition.
And what happens when we don't have execute permission?
Are you suggest we add support for Unix specific file system permissions?
And what about windows? It's too complicated to do it in a cross platform way.
On Wednesday, August 23, 2017 at 8:34:55 PM UTC-4, Nicol Bolas wrote:On Wednesday, August 23, 2017 at 7:30:20 PM UTC-4, Ryan Nicholl wrote:I think processes are too OS-specific and should not be included in C++.
Like graphics. And networking. And filesystems. And threading. And file access. And `std::system`, from the C runtime library.
Sorry, but the "OS-specific" ship sailed long ago. That's not to say that I agree with this specific proposal (which is not a proposal; it's an idea at best), but your argument against it just doesn't hold water.
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.