SERVING THE QUANTITATIVE FINANCE COMMUNITY

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

Re: Random quotes

June 15th, 2019, 6:43 pm

Unless one is just a sucker for C++, it needs to be considered that the C++ code development time is several times longer than in the case of Python.
Probably until your Python code base reaches the tipping point and then get Big Ball of Muds.

C# is 3 times more productive than C++.
Chips chips chips Du du du du du Ci bum ci bum bum Du du du du du Ci bum ci bum bum Du du du du du
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
Collector
Posts: 4769
Joined: August 21st, 2001, 12:37 pm

Re: Random quotes

June 15th, 2019, 6:53 pm

Unless one is just a sucker for C++, it needs to be considered that the C++ code development time is several times longer than in the case of Python.
Probably until your Python code base reaches the tipping point and then get Big Ball of Muds.

C# is 3 times more productive than C++.
yes C# is the Thing!!
 
User avatar
ISayMoo
Posts: 2368
Joined: September 30th, 2015, 8:30 pm

Re: Random quotes

June 15th, 2019, 6:54 pm

Not my field, but I thought that a lot of the action in this space had moved to FPGAs. 
Iterative development on FPGAs is a pain. And there are many trades which don't really need an FPGA.
 
User avatar
ISayMoo
Posts: 2368
Joined: September 30th, 2015, 8:30 pm

Re: Random quotes

June 15th, 2019, 6:54 pm

Unless one is just a sucker for C++, it needs to be considered that the C++ code development time is several times longer than in the case of Python.
Probably until your Python code base reaches the tipping point and then get Big Ball of Muds.

C# is 3 times more productive than C++.
Why 3?
 
User avatar
Cuchulainn
Topic Author
Posts: 63239
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Random quotes

June 15th, 2019, 6:55 pm

Unless one is just a sucker for C++, it needs to be considered that the C++ code development time is several times longer than in the case of Python.
Probably until your Python code base reaches the tipping point and then get Big Ball of Muds.

C# is 3 times more productive than C++.
yes C# is the Thing!!
Indeed, such a great language.
Chips chips chips Du du du du du Ci bum ci bum bum Du du du du du Ci bum ci bum bum Du du du du du
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
Cuchulainn
Topic Author
Posts: 63239
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Random quotes

June 15th, 2019, 7:04 pm

Unless one is just a sucker for C++, it needs to be considered that the C++ code development time is several times longer than in the case of Python.
Probably until your Python code base reaches the tipping point and then get Big Ball of Muds.

C# is 3 times more productive than C++.
Why 3?
We wrote several own applications in both language (e.g. CAD libraries and optical holography ... stuff) as well as >> 20 years training developers ("time and motion" observations). The main reasons for us are:

1. .NET has many great libraries
2. It has Reflection, you can generate code. C++ concepts will not be in our lifetime.
3. Easy debugging
4. No header file; just chunder your .cs files into the project
5. C++ has no support for modules/assemblies, which is awful (dlls are not self-referencing)
6. C# interoperates with native C++ via C++/CLI
7. For risk apps, there is (P)LINQ.

Python is probably in the same boat as C++ looking downstream but too early to say. Who is maintaining  > 10 KLOC Python code base?
The show-stoppers are 2 and 5.


On the other hand, C++ is the best and most intellectually stimulating language ever. It's Turing complete, i.e. template mechanism. C# generics choke when you want to do similar things. Try CholeskyDecomposition<[$]\mathbb {F}[$]>, [$]\mathbb {F}[$] is a field; in C# you  have to write/emit 2 or more separate classes for [$]\mathbb {R}[$] and [$]\mathbb {C}[$]. Operator overloads +, * break down. Then you have to write/emit code for them for each class...
Last edited by Cuchulainn on June 15th, 2019, 7:44 pm, edited 12 times in total.
Chips chips chips Du du du du du Ci bum ci bum bum Du du du du du Ci bum ci bum bum Du du du du du
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
Cuchulainn
Topic Author
Posts: 63239
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Random quotes

June 15th, 2019, 7:12 pm

Imagine maintaining code like this in the same scope. Does it even run??
x = pi #yes, the famous pi 
f,i = modf(x)
print(f,i) # 0.14159, 3.0

x = "abc"
f,i = modf(x)
Chips chips chips Du du du du du Ci bum ci bum bum Du du du du du Ci bum ci bum bum Du du du du du
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
katastrofa
Posts: 9665
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Random quotes

June 15th, 2019, 7:50 pm

Unless one is just a sucker for C++, it needs to be considered that the C++ code development time is several times longer than in the case of Python.
Probably until your Python code base reaches the tipping point and then get Big Ball of Muds.

C# is 3 times more productive than C++.
If C++ is fast enough for running my simulations, but Java isn't, can you tell if C# is for me?
How much less flexibility in the code design does it give than C++?
 
User avatar
Cuchulainn
Topic Author
Posts: 63239
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Random quotes

June 15th, 2019, 8:16 pm

Unless one is just a sucker for C++, it needs to be considered that the C++ code development time is several times longer than in the case of Python.
Probably until your Python code base reaches the tipping point and then get Big Ball of Muds.

C# is 3 times more productive than C++.
If C++ is fast enough for running my simulations, but Java isn't, can you tell if C# is for me?
How much less flexibility in the code design does it give than C++?
Java sucks. AFAIR C# is even faster than C++ in some cases (JIT).

Depends on what you do. You could try a test 

https://en.wikipedia.org/wiki/Microsoft ... ve_Toolkit

C# has everything C++ has and more. And you can embed native C++ in .NET, i.e. not a binary choice (many do it, wrap C++ and call from C#).m A piece of cake.
Last edited by Cuchulainn on June 15th, 2019, 8:23 pm, edited 1 time in total.
Chips chips chips Du du du du du Ci bum ci bum bum Du du du du du Ci bum ci bum bum Du du du du du
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
katastrofa
Posts: 9665
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Random quotes

June 15th, 2019, 8:20 pm

Thanks, sounds cool. I'm quite good with C++, but I don't want to go rusty.
 
User avatar
Cuchulainn
Topic Author
Posts: 63239
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Random quotes

June 15th, 2019, 8:31 pm

Thanks, sounds cool. I'm quite good with C++, but I don't want to go rusty.
Here's a hello whirlpool example of a wrapper for native C++. Easy. So you could offer your products as .NET assemblies! 
Attachments
17 - Legacy Code.ppt
(228 KiB) Downloaded 133 times
Chips chips chips Du du du du du Ci bum ci bum bum Du du du du du Ci bum ci bum bum Du du du du du
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
Collector
Posts: 4769
Joined: August 21st, 2001, 12:37 pm

Re: Random quotes

June 15th, 2019, 10:21 pm

" AFAIR C# is even faster than C++ in some cases (JIT)."
Confirmed in our testing (well naturally also depends on how code is written), I was first shocked !

also DNA is awesome together with C#
 
User avatar
katastrofa
Posts: 9665
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Random quotes

June 15th, 2019, 10:52 pm

Fast hash-mapping your DNA. You want to clone Collector?!
Image
 
User avatar
Cuchulainn
Topic Author
Posts: 63239
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Random quotes

June 16th, 2019, 11:32 am

Anyone can do DNA, but you need DNA on steroids

https://excel-dna.net/
Chips chips chips Du du du du du Ci bum ci bum bum Du du du du du Ci bum ci bum bum Du du du du du
http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
tagoma
Posts: 18382
Joined: February 21st, 2010, 12:58 pm

Re: Random quotes

December 8th, 2019, 8:28 pm

"If this ain't playing in my funeral, I ain't coming"
ABOUT WILMOTT

PW by JB

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


Twitter LinkedIn Instagram

JOBS BOARD

JOBS BOARD

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


GZIP: On