Re: [Cppcms-users] booster roadmap
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2013-04-04 19:45:12
|
----- Original Message ----- > From: Markus Raab <us...@ma...> > To: cpp...@li... > Cc: > Sent: Thursday, April 4, 2013 9:52 PM > Subject: [Cppcms-users] booster roadmap > > Hello Artyom! > > Is it always safe to use boost::bind together with cppcms? > If yes, I do not exactly understand why Yes, it is safe, cppcms does not use anything in boost namespace and any binder would work fine std::bind, boost::bind or anything else. > "Extract/Reimplement boost::bind in Booster." > is on the roadmap, even though boost::bind is obsoleted by std::bind anyway? > I don't think it would actually be implemented with C++11 lambdas the boost::bind is quite absolete. > Have you ever asked on the boost mailing list if they want to have an > "official" stable boost release branch? Maybe more people would > contribute > to it. > Ohhhhhh If it was the case I would not start booster in first place > Actually I think booster is a good idea and I am sure some/many people > inside boost think that too. Only some boost libraries have problems with > continous API/ABI breakage, most do not (although mainly because they do not > change at all). It requires forking Boost and maintaining it and supporting it. Also it requires many changes. For example booster::shared_ptr supports both atomic operations (if not avalible) and mutexes using the same ABI, all the code is havily "pimpl"-ed and having "d" pointers for extensions, using as few inline code as possible. > > Additionally I would be interested how the C++11 roadmap is. I think on a > platform providing e.g. std::shared_ptr, booster::shared_ptr should not be > used anymore. Do you have or plan some macros to switch between them? > CppCMS currently targets C++03 compatible compilers, more than that C++11 and C++03 compiled modes are ABI/API compatible, so I can't switch using a macro between std::shared_ptr and booster::shared_ptr. Some future version (that is not planned yet) would explore fully C++11 including stuff like rvalue references and many things in standard library but at this point were many users still use older compilers I can't do it. > best regards > Markus > Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |