Results 1 to 10 of 72

Thread: LLVM's Clang Compiler Is Now C++11 Feature Complete

Threaded View

  1. #14
    Join Date
    Nov 2007
    Posts
    1,353

    Default

    Quote Originally Posted by DeepDayze View Post
    Thanks for the clarification, but can using threads rather than separate processes also be useful for parallel operations?
    I'm certain that it can be done, but it just isnt easy. It's very difficult to code for even just 8 threads, but it is relatively simple to spawn 8 processes. The same goes for compilers. C/C++ is simply not suitable for parallel workloads. I don't think it ever will be. I don't think we'll see commonplace massively parallel code bases until c/c++ gets displaced. It trains people to think in serial. There are workloads that are inherently parallel but that you see is written in a very serial way. And it is commonplace. It's because it just isnt made for parallelism. and people get so used to the concepts that it enforces that they can't think any other way.
    Last edited by duby229; 04-21-2013 at 02:56 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •