Serving the Quantitative Finance Community

 
User avatar
Cuchulainn
Posts: 20255
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

C++11

October 26th, 2011, 10:58 am

QuoteOriginally posted by: renormLet's be conservative and stick to C++03 for a while (next 2-3 years?).I second that. Any other views? It may take years before all platforms are using lambda as mainstream?
 
User avatar
Hansi
Posts: 41
Joined: January 25th, 2010, 11:47 am

C++11

October 26th, 2011, 11:17 am

I'd say target C++03 but with boost etc. If anyone prefers coding in C++11 then provide a working C++03 version too so it can be escaped to.
 
User avatar
Cuchulainn
Posts: 20255
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

C++11

October 26th, 2011, 11:25 am

QuoteOriginally posted by: HansiI'd say target C++03 but with boost etc. If anyone prefers coding in C++11 then provide a working C++03 version too so it can be escaped to.Good proposal.C++ 11 is 'nice to have' but not on the critical path.
 
User avatar
quartz
Posts: 3
Joined: June 28th, 2005, 12:33 pm

C++11

November 16th, 2011, 1:53 pm

QuoteOriginally posted by: HansiI'd say target C++03 but with boost etc. If anyone prefers coding in C++11 then provide a working C++03 version too so it can be escaped to.Perfectly reasonable! I'd keep it forward looking though...E.g. it seems that (the freshly released) boost 1.48 has nice stuff such as move semantics :-)And one might use the alternative TR1/C++11 syntax for random numbers too... thoughts on this?
 
User avatar
Cuchulainn
Posts: 20255
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

C++11

November 16th, 2011, 4:13 pm

QuoteOriginally posted by: quartzQuoteOriginally posted by: HansiI'd say target C++03 but with boost etc. If anyone prefers coding in C++11 then provide a working C++03 version too so it can be escaped to.Perfectly reasonable! I'd keep it forward looking though...E.g. it seems that (the freshly released) boost 1.48 has nice stuff such as move semantics :-)And one might use the alternative TR1/C++11 syntax for random numbers too... thoughts on this?Where can these features be used in QFCL? Are they 'must have' or 'nice to have' at this moment?
Last edited by Cuchulainn on November 15th, 2011, 11:00 pm, edited 1 time in total.
 
User avatar
Polter
Posts: 1
Joined: April 29th, 2008, 4:55 pm

C++11

November 16th, 2011, 4:32 pm

Boost.Container looks pretty cool!
 
User avatar
hamster
Posts: 1
Joined: October 12th, 2008, 3:51 pm

C++11

August 6th, 2012, 5:09 pm

Lucky me. I can use C++11 at work (GCC compiler/Debian; Rule 1: Maintain good relationship to BOFHs). My approach is that I go for C++11 as long as there is no other own existing code that used the boost sibling/predecessor (or anything else). I am always favor an ISO standard over a custom lib (mature vs. experimental). If I write a project from the scratch and everything is covered in C++11, then I go for C++11. If I need to extend an existing program fully packed with boost features, then I stick to boost/C++03. http://stackoverflow.com/questions/8851 ... s-vs-c11As far as I see most code depends on boost, thus stick to it. Be pragmatic, not religious.
 
User avatar
Cuchulainn
Posts: 20255
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

C++11

August 22nd, 2012, 5:26 am

This is a nice overview of C++ 11 etc.