3 ms·
C has been invented when CPUs, those few available, were just single cored and single threaded. Wanna SMP? Use multi-thread libreries. Wanna SIMD/MIMD? Use (in
by notorandit 2y ago
C has been invented when CPUs, those few available, were just single cored and single threaded.
Wanna SMP? Use multi-thread libreries.
Wanna SIMD/MIMD? Use (inline) assembler functions.
Or design your own language.
- LiamPowell 2y agoThat's missing the point of the article, but it's also not true, at least not at the time of C89. This can be easily verified by a Google search. As an aside, Ada also had multi-threading support before C89 was released, but this article is about SIMD, not multi-threading.
- johnnyjeans 2y agoc89 is 19 years into c's life
- LiamPowell 2y agoYes, but before standardisation there were many implementations all doing different things based on a book with no particularly formal specifications, so picking 1989 makes more sense than 1970 in my opinion. Multi-threading also existed in 1970 but wasn't as widespread.
- pjmlp 2y agoYou had plenty of places outside Bell Labs doing concurrency stuff, Concurrent Pascal and Solo OS is one example among many.
- dragontamer 2y agoFortran is older but it's array manipulation maps naturally to SIMD.