in this Thread i want to discuss about: "Should OC switch over to Boost and C++11 (or even C++14)"?
If i put some References in here about TrinityCore then i wan't tell that we should do this because TC has done this, NO.
I put this only for more information or detailed discussions devs had made on TC on valid argumentes (Pro and Contra)!
First of all the Link to TC Forum with reference to github:
http://community.trinitycore.org/topic/ … nt-branch/
i could write 10 Pages about this, but noone would read this (i generaly write to long posts ) for this reason i keep it short!
* We can replace a lot of ACE stuff with native code (c++11) this will be faster and more stable
* Why we should use Boost for the rest of not native implemented stuff? because Boost uses the same patterns as c++11 (c++14 and future specs) will use so it's easyer to migrate from boost to native code later
* Boost will be developed more frequently than ACE (Last ACE Rev 6.2.4 (09.01.2014)) Latest Boost (1.58 (17.04.2015))
* According to TC Boost is running more stable then ACE was running
* I personaly like the boost pattern more then the ace one (code pattern style)
* at least it will make easyer to backport stuff from TC
* a lot of language features like auto, nullptr, lambda expressions, strongly typed enums, smart pointers, static_assert and many more
* faster compile cause boost is referenced as external lib and ACE is builded with the project by default in OC
* you need a up to date compiler for c++11 (should be no problem at unix systems, for windows with the free VS2015 should be no problem as well)
* not well mergable with old code (this is bad for people who have large branches with custom stuff
* certain code standards will change
for me this will open the possability to rewrite threading and many more parts to get ready to implement more nice stuff for the future like more multithreading, more memory management and better resource usage, but the most of all i would like to use the new stuff to save time on development, cause good patterns will improve productivity.