|
|
|
|
|
by Blunt
5144 days ago
|
|
I'm against this. They are trying to impose rules (threading concepts) into the C++ language where it ought not to be. Threads are platform specific (ARM, Intel) albeit with the same idea but underpinnings are different. They are arguing about thread local variables and concurrency issues in the context of the C++ language or standard libraries when really these things are dependent upon the application being written. We don't need all this garbage in the language and there are plenty of class libraries out there to deal with common hardware platforms already that do quite well. Trying to drive a design pattern from high atop ivory towers is stupid and you would think these people would have learned this by now. |
|
Of course, there are some things that are going to always be application-specific (not platform specific), and you should be able to get around the abstraction to fiddle with those. And one of the strong selling points of C and C++ is that they do expose the underlying platform so you can do "bare-metal" programming and platform-specific tricks. But if you need to do that, just don't using this part of the standard library! Adding more, better abstractions does not hurt anybody who doesn't want to use them, and helps everybody who does.