SERVING THE QUANTITATIVE FINANCE COMMUNITY

 
User avatar
Cuchulainn
Topic Author
Posts: 53307
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

C++20

October 6th, 2017, 3:44 pm

http://www.datasimfinancial.com

“Sir Walter Scott created rank & caste in the South and also reverence for and pride and pleasure in them"

Mark Twain
 
User avatar
katastrofa
Posts: 4963
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: C++20

October 9th, 2017, 1:20 am

 
User avatar
Grodesby
Posts: 2
Joined: August 15th, 2010, 4:07 pm

Re: C++20

October 11th, 2017, 1:38 pm

Nice rant on the state of the Modules Tech Spec:
https://izzys.casa/posts/millennials-ar ... es-ts.html
 
User avatar
Cuchulainn
Topic Author
Posts: 53307
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: C++20

October 11th, 2017, 8:11 pm

Grodesby wrote:
Nice rant on the state of the Modules Tech Spec:
https://izzys.casa/posts/millennials-ar ... es-ts.html

Means it's not shipping any time soon.
C# has got its act together, C++ muddling along.
https://msdn.microsoft.com/en-us/library/ms973231.aspx
http://www.datasimfinancial.com

“Sir Walter Scott created rank & caste in the South and also reverence for and pride and pleasure in them"

Mark Twain
 
User avatar
ExSan
Posts: 4464
Joined: April 12th, 2003, 10:40 am

Re: C++20

October 12th, 2017, 11:09 pm

 
User avatar
katastrofa
Posts: 4963
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: C++20

October 12th, 2017, 11:21 pm

All I understood from that rant is that (C++?) modules are not what I (a millennial) think they are :-) So I checked again and, as I thought, C++ modules obviously don't require headers, and consequently give considerable compile time improvement (which also saves development and debugging time) and don't use preprocessor, which translates to neater and more transferable code (not perfect, but always something). I'm sometimes curious what kind of a job and code some people do that they seem to be affected by every possible flaw of the C++ features... Luckily, I'm not one of them.

I had a chance to appreciate the effectiveness of using modules in Fortran in my old research institute, when I and my colleagues were able to import over 10-year-old code written by people we hadn't even met, and re-use it in a straightforward manner. I've heard that large firms have decisive power in the C++ standard development. Since modules are perfect for large projects (i.a. for the above reasons) I'm surprised that they didn't materialise in earlier versions.
 
User avatar
Cuchulainn
Topic Author
Posts: 53307
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: C++20

October 14th, 2017, 1:40 pm

Are modules self-describing and capable of reflection?
http://www.datasimfinancial.com

“Sir Walter Scott created rank & caste in the South and also reverence for and pride and pleasure in them"

Mark Twain
 
User avatar
Cuchulainn
Topic Author
Posts: 53307
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: C++20

October 14th, 2017, 4:46 pm

PPL and TBB already support C++ multitasking, parallel design patterns and more.
The standard has to catch up..

Parallel ST:L algorithms in C++17.
http://www.datasimfinancial.com

“Sir Walter Scott created rank & caste in the South and also reverence for and pride and pleasure in them"

Mark Twain
ABOUT WILMOTT

PW by JB

Wilmott.com has been "Serving the Quantitative Finance Community" since 2001. Continued...


JOBS BOARD

JOBS BOARD

Looking for a quant job, risk, algo trading,...? Browse jobs here...