home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c++.moderated      Moderated discussion of C++ superhackery      33,346 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 32,888 of 33,346   
   Seungbeom Kim to Thomas Richter   
   Re: C++11 multithreading support obsolet   
   02 Mar 13 04:22:14   
   
   From: musiphil@bawi.org   
      
   On 2013-03-01 09:45, Thomas Richter wrote:   
   >   
   > Allow me to explain: The way our software works is that it consists   
   > of modules that require *no* operating system support. All services   
   > they need from the Os they get through an interface from a support   
   > layer, which forwards requests to the Os. [...]   
   >   
   > That of course means that any type of hidden support by the   
   > operating system in such modules is not possible: No memory   
   > allocation (thus, we use "new with parameters"), no exceptions (they   
   > require under windows Os support, thus we use a hand-rolled   
   > construction with SetJmp, and no RAII - sigh - and thus no STL), and   
   > also finally, no explicit use of threads, mutexes, semaphores,   
   > etc.. only functions that *call out* to the service layer, and   
   > perform the necessary actions.   
      
   Doesn't the C++ implementation already provide such a support layer   
   for the standard language facilities, such as memory allocation or   
   exceptions (or threads, from C++11 on)?   
      
   When you rule out even such a fundamental concept as RAII and parts of   
   STL that made it into the standard library, I can imagine the   
   resulting language would be quite different from what many people   
   think what C++ is.   
      
   --   
   Seungbeom Kim   
      
      
         [ See http://www.gotw.ca/resources/clcm.htm for info about ]   
         [ comp.lang.c++.moderated.    First time posters: Do this! ]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca