Re: [Maria-developers] Using C++ features in MariaDB

2013-02-19 Thread Christian Convey
Thanks Sergei, I'll keep that in mind. On Tue, Feb 19, 2013 at 12:49 AM, Sergei Golubchik wrote: > Hi, Christian! > > On Feb 18, Christian Convey wrote: >> >> The reason I'm asking is that, while I'm generally cautious about new >> C++ features, there are some features in C++11 which I'm pretty h

Re: [Maria-developers] Using C++ features in MariaDB

2013-02-18 Thread Sergei Golubchik
Hi, Christian! On Feb 18, Christian Convey wrote: > > The reason I'm asking is that, while I'm generally cautious about new > C++ features, there are some features in C++11 which I'm pretty happy > about. For example, class enumerations and nullptr ( > http://www.cprogramming.com/c++11/c++11-nul

Re: [Maria-developers] Using C++ features in MariaDB

2013-02-18 Thread Christian Convey
Hi Sergei, The reason I'm asking is that, while I'm generally cautious about new C++ features, there are some features in C++11 which I'm pretty happy about. For example, class enumerations and nullptr ( http://www.cprogramming.com/c++11/c++11-nullptr-strongly-typed-enum-class.html ). I'm trying

Re: [Maria-developers] Using C++ features in MariaDB

2013-02-18 Thread Sergei Golubchik
Hi, Christian! On Feb 18, Christian Convey wrote: > While we're on the topic, how does MariaDB decide which language > features are mature enough to use in the software? > > For example, do you look at a list of supported operating systems, and > for those operating systems, look at whether or no

Re: [Maria-developers] Using C++ features in MariaDB

2013-02-18 Thread Christian Convey
While we're on the topic, how does MariaDB decide which language features are mature enough to use in the software? For example, do you look at a list of supported operating systems, and for those operating systems, look at whether or not the supplied version of g++ supports a given language featu

Re: [Maria-developers] Using C++ features in MariaDB

2013-02-18 Thread Sergei Golubchik
Hi, Christian! On Feb 18, Christian Convey wrote: > Thanks Sergei. So why is it used in some places, but not in the > server code? STL is pretty much ok starting from 10.0. Exceptions - they aren't used in the server yet, we'd need to make a decision that they're ok to use. And we haven't discu

Re: [Maria-developers] Using C++ features in MariaDB

2013-02-18 Thread Christian Convey
Thanks Sergei. So why is it used in some places, but not in the server code? On Mon, Feb 18, 2013 at 3:00 AM, Sergei Golubchik wrote: > Hi, Christian! > > On Feb 17, Christian Convey wrote: >> I just read in Pachev's "MySQL Internals" book that C++ STL and >> exceptions aren't allowed in the MyS

Re: [Maria-developers] Using C++ features in MariaDB

2013-02-18 Thread Sergei Golubchik
Hi, Christian! On Feb 17, Christian Convey wrote: > I just read in Pachev's "MySQL Internals" book that C++ STL and > exceptions aren't allowed in the MySQL code. > > Are those restrictions also in effect for MariaDB? If so, can anyone > explain the reason for them? The reason is historical. Wh

[Maria-developers] Using C++ features in MariaDB

2013-02-17 Thread Christian Convey
I just read in Pachev's "MySQL Internals" book that C++ STL and exceptions aren't allowed in the MySQL code. Are those restrictions also in effect for MariaDB? If so, can anyone explain the reason for them? Thanks, Christian ___ Mailing list: https://