List:Internals« Previous MessageNext Message »
From:Chad MILLER Date:January 29 2009 5:52pm
Subject:Re: STL, C++, Mysql Development?
View as plain text  
On 29 Jan 2009, at 11:10, Patrick Lau wrote:

> Hi all,
> Is it possible to use STL for mysql development? I tried to use
> std::map, but it fails everytime during compilation...

Mark's answer should help.

We don't use enough of the C++ ecosystem in MySQL, I sqy.  I'd love to  
use the STL* and exceptions**, and probably more.  We usually think we  
can do it better than the implementors of libraries and compilers,  
which leads us down some strange paths.  It's not specific to C++,  
either; we even have (not well substantiated) reports that our custom  
memcpy that's optimized for specific sized blocks is slower than plain  
memcpy, on some architectures***.

- chad

* sql/sql_list.h ?
** check_stack_overrun() ?!
*** Bug#19975
STL, C++, Mysql Development?Patrick Lau29 Jan
  • Re: STL, C++, Mysql Development?MARK CALLAGHAN29 Jan
  • Re: STL, C++, Mysql Development?Chad MILLER29 Jan
    • Re: Re: STL, C++, Mysql Development?Eric Prud'hommeaux29 Jan
      • Re: STL, C++, Mysql Development?Brian Aker29 Jan
        • Re: STL, C++, Mysql Development?Kesava Poyyale30 Jan
          • Re: STL, C++, Mysql Development?Patrick Lau30 Jan
            • Re: STL, C++, Mysql Development?Vladimir Shebordaev31 Jan