[HN Gopher] C++ Workflow: C++ Parallel Computing and Asynchronou...
       ___________________________________________________________________
        
       C++ Workflow: C++ Parallel Computing and Asynchronous Networking
       Engine
        
       Author : Barenboim
       Score  : 49 points
       Date   : 2021-05-23 17:15 UTC (5 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | _huayra_ wrote:
       | What are the advantages of this engine over Boost Beast (and
       | Asio)?
        
         | Barenboim wrote:
         | No template in user interfaces.
        
           | jcelerier wrote:
           | How is that an advantage ? either you have N overloads doing
           | manually what templates do automatically, or you have
           | indirection and the implied performance loss
        
             | 10000truths wrote:
             | Have you ever compiled a project using ASIO? The template
             | crap everywhere makes build times miserable.
        
               | jcelerier wrote:
               | I use asio in all my network-using projects. It doesn't
               | particularly bother me, the files that use asio take a
               | few seconds to build ?
        
               | 10000truths wrote:
               | Those few seconds can add up very quickly when you're
               | making incremental changes and have to keep recompiling.
               | I ended up having to write non-template wrappers for all
               | my ASIO stuff and compile them as a separate object file,
               | in order to keep my workflow manageable. Building that
               | one object file would double my total build time.
        
       | hun-nemethpeter wrote:
       | Why do you use sometimes pthread primitives from <pthread.h>
       | instead of standard <thread>, <mutex>, ... objects?
       | 
       | For example src/manager/DNSCache.h use std::mutex but
       | src/kernel/Executor.h use pthread_mutex_t?
        
       | winrid wrote:
       | Looks very nice to use, but curious, is there anything here that
       | isn't in the Java stdlib + something like the Spark web
       | framework?
        
         | derefnull wrote:
         | The first thing that comes to mind is its c++ implementation,
         | which sets it far far apart from the java project you mentioned
        
           | winrid wrote:
           | C++ impl of what? It has like four different things.
        
       | Barenboim wrote:
       | An awesome-cpp framework.
        
         | IChooseY0u wrote:
         | Will definitely check this out; looks good.
        
       | [deleted]
        
       | mlang23 wrote:
       | Hmm, seeing Parallel computing, I wonder why the difference
       | tosay, HPX, is.
        
         | Barenboim wrote:
         | We try to solve problem very complex relationship between
         | computing and networking. In an efficient way.
        
       ___________________________________________________________________
       (page generated 2021-05-23 23:01 UTC)