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,625 of 33,346   
   Dave Abrahams to All   
   Re: Platform issues with STL?   
   31 Oct 12 17:19:11   
   
   From: dave@boostpro.com   
      
   on Fri Oct 26 2012, Zeljko Vrba  wrote:   
      
   > On 2012-10-25, agents@andrewpetermarlow.co.uk  wrote:   
   >   
   >> The STL has taken years to work out and bugs still remain in several   
   implementations.   
   >   
   > But your own replacement implementation will have the SAME bugs on   
   > every platform!   
      
   ....but those bugs may still *behave* differently due to underlying   
   platform and compiler differences.   
      
   > This in itself may be a good reason not to use it, or at least use   
   > something like STLPort on every platform (instead of vendor-provided   
   > STL).   
      
   Not good enough, IMO.  The same arguments go for C++ compilers too.   
   They're different on every platform.  In fact, the STL is part of the   
   language definition just like your compiler is, and just like the core   
   language, the STL can vary across implementations, both   
      
    * legally, due to different expressions of intentionally undefined,   
      implementation-defined, or unspecified behavior, and   
      
    * illegally (in practice), due to bugs in the implementation   
      
   --   
   Dave Abrahams   
   BoostPro Computing                  Software Development        Training   
   http://www.boostpro.com             Clang/LLVM/EDG Compilers  C++  Boost   
      
      
         [ 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