Re:24-core CPU and I can’t move my mouse
by codedokode on Monday July 10, 2017 @07:16AM
(#14734897)
C has the same problem because it relies on includes and does not have modules.
Re:24-core CPU and I can’t move my mouse
by raverbashing on Monday July 10, 2017 @07:22AM
(#14734921)
Yes, however that was acceptable at the scale C was used and given its origins. Not good, but acceptable
Pascal could have been a better choice (sigh)
C without typedefs also compiles faster
C++ is like plugging an engine to a skateboard to make it run faster
Re:24-core CPU and I can’t move my mouse
by frankzinger on Thursday July 13, 2017 @12:09AM
(#14758623)
Sure, but it still compiles much faster than C++, and that's due to language differences.
And luckily Java is now also trying to fix modules. Maybe, someday, those concepts will arrive over in C++ land, too.
Re:24-core CPU and I can’t move my mouse
by frankzinger on Thursday July 13, 2017 @12:05AM
(#14758603)
They've been working on modules for C++ for a long time. It's coming.
Then we tried to attach the OO paradigm to it and we got the monstrosity that is C++ (and as a consequence of that - Java - which has fixed some issues but still suffers)
And don't get me started on templates
I'm so glad that paradigm is starting to die out and hopefully Rust, Go and others will take over (their object model still doesn't get around my head but it will eventually)