4 ms·
I don’t think the issue is even even a lack of knowledge. I don’t fault a C developer for not knowing and appreciating the intricacies of a superscalar pipelin
by BobbyTables2 2y ago
I don’t think the issue is even even a lack of knowledge.
I don’t fault a C developer for not knowing and appreciating the intricacies of a superscalar pipelined processor using out of order execution.
But when a C developer writes a multithreaded program they need to really understand why multiple threads are necessary, proper use of locking, and how it will impact the overall application. They need to look beyond their tiny bit of code and the assigned task.
Unfortunately a number of developers fully expect to drive on a busy street blindfolded and successfully reach their destination.
- aidenn0 2y ago> But when a C developer writes a multithreaded program they need to really understand why multiple threads are necessary, proper use of locking, and how it will impact the overall application. They need to look beyond their tiny bit of code and the assigned task. Not really, just add the "volatile" keyword to global variables at random until the bugs go away!