Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
blog:cpgf-version-160-released-cpp11.html [2017/03/25 06:50]
qi created
blog:cpgf-version-160-released-cpp11.html [2017/03/25 06:57] (current)
qi [Now cpgf embraces C++ 11!]
Line 1: Line 1:
 +~~NOTOC~~
 +
 ====== cpgf version 1.6.0 is released, after 3.5 years since previous version ====== ====== cpgf version 1.6.0 is released, after 3.5 years since previous version ======
  
Line 7: Line 9:
 The previous version 1.5.6 was released in Jul. 2013, 3.5 years ago. So why did the new version take so long time? The previous version 1.5.6 was released in Jul. 2013, 3.5 years ago. So why did the new version take so long time?
  
-The reason was simple, because I was busy (or, lazy). In the past year, not only was I very busy in my previous job (developing game with a lot of overtime), but also I was working on my proprietary Forex back testing/​optimizing/​live trading system which was another large project with more 100K lines of C++ code.+The reason was simple, because I was busy (or, lazy). In the past years, not only was I very busy in my previous job (developing game with a lot of overtime), but also I was working on my proprietary Forex back testing/​optimizing/​live trading system which was another large project with more 100K lines of C++ code.
  
 Now and hope in the future I will have plenty of free time in my open source projects. Now and hope in the future I will have plenty of free time in my open source projects.
Line 17: Line 19:
 ==== Now cpgf embraces C++ 11! ==== ==== Now cpgf embraces C++ 11! ====
  
-cpgf was developed since about 2010, at the time that the latest C++ standard ​is C++03 and TR1. After C++11 was approved in 2012 (Wikipedia said it was Aug. 2011), I still refuse to use C++11 in cpgf. The reason is simple, at the time not all compilers (such as Visual C++ 2008, 2010) supported C++11 well. cpgf must be compiled happily on all "​modern"​ C++ compilers.+cpgf was developed since about 2010, at the time that the latest C++ standard ​was C++03 and TR1. After C++11 was approved in 2012 (Wikipedia said it was Aug. 2011), I still refuse to use C++11 in cpgf. The reason is simple, at the time not all compilers (such as Visual C++ 2008, 2010) supported C++11 well. cpgf must be compiled happily on all "​modern"​ C++ compilers.
  
-Now it's 2017, even the lazy VC++ 2015 supports almost all C++11 features. It's time to embrace C++11!+Now it's 2017, even the laziest ​VC++ 2015 supports almost all C++11 features. It's time to embrace C++11!
  
 Another reason I love C++11 is that in my proprietary financial trading system, I used a lot of C++11 features, and I really think C++11 is a new era of C++! Another reason I love C++11 is that in my proprietary financial trading system, I used a lot of C++11 features, and I really think C++11 is a new era of C++!