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
Thread |
---|
• STL, C++, Mysql Development? | Patrick Lau | 29 Jan |
• Re: STL, C++, Mysql Development? | MARK CALLAGHAN | 29 Jan |
• Re: STL, C++, Mysql Development? | Chad MILLER | 29 Jan |
• Re: Re: STL, C++, Mysql Development? | Eric Prud'hommeaux | 29 Jan |
• Re: STL, C++, Mysql Development? | Brian Aker | 29 Jan |
• Re: STL, C++, Mysql Development? | Kesava Poyyale | 30 Jan |
• Re: STL, C++, Mysql Development? | Patrick Lau | 30 Jan |
• Re: STL, C++, Mysql Development? | Vladimir Shebordaev | 31 Jan |