I'm reading a journal article about Real-Time Concurrent C, and it mentions in the abstract (so any of you can see the context through that link as well) that "Concurrent C, is a parallel superset of C (and of C++)".
Now I know what a superset is, but what do they mean by a "parallel superset" when referring to programming languages?
A set A is a superset of another set B if all elements of the set B are elements of the set A. The superset relationship is denoted as A⊃B. For example, if A is the set {♢,♡,♣,♠} and B is the set {♢,♣,♠}, then A⊃B but B⊅A.
Parallelism is a subset of concurrency. Concurrency refers to trying to do multiple things at once while parallelism refers to doing many things at once. Even on a single core processor concurrency is possible by switching among the threads.
C++ is a superset of C. All your C programs will work without any modification in this environment. However, we recommend that you get accustomed to new styles and techniques of C++ from day one.
They're claiming two things, not one thing that is "modified". It's like saying "a quick red car"; the car is quick and red, it's not having a fast color.
That's a bit weird too, since not every valid C program is a valid C++ program.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With