SERVING THE QUANTITATIVE FINANCE COMMUNITY

 
User avatar
barny
Topic Author
Posts: 387
Joined: May 8th, 2007, 6:55 pm

Best general purpose programming language - not finance specific.

May 19th, 2011, 12:59 am

Say I wanted to learn a language which could simply do the most things fairly quickly and which is relatively easy to learn, so something that could do a bit of numerics, bit of graphing, maybe make GUI's and output good graphics etc. which langauge would you choose? Java? C#? Python?
 
User avatar
Alan
Posts: 10318
Joined: December 19th, 2001, 4:01 am
Location: California
Contact:

Best general purpose programming language - not finance specific.

May 19th, 2011, 1:15 am

Get Mathematica -- it does everything you need and you will be 50x more productive than using the languages on your list.The only exception to that, in my experience, is Monte Carlo's, which are better done in C/C++.
 
User avatar
katastrofa
Posts: 9575
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Best general purpose programming language - not finance specific.

May 19th, 2011, 5:32 am

I'd say Python or Java.
 
User avatar
ktang
Posts: 122
Joined: January 15th, 2010, 7:16 pm

Best general purpose programming language - not finance specific.

May 19th, 2011, 6:13 am

1) Matlab2) F#3) KDB/Q4) C++5) Java6) VBA/Excel
 
User avatar
DevonFangs
Posts: 3004
Joined: November 9th, 2009, 1:49 pm

Best general purpose programming language - not finance specific.

May 19th, 2011, 8:20 am

My vote is definitely for Python.I love Mathematica more than my mum, but unfortunately it's not free.
 
User avatar
dd3
Posts: 246
Joined: June 8th, 2010, 9:02 am

Best general purpose programming language - not finance specific.

May 19th, 2011, 8:55 am

For knocking up something quickly I'd have to say Java.
 
User avatar
ktang
Posts: 122
Joined: January 15th, 2010, 7:16 pm

Best general purpose programming language - not finance specific.

May 19th, 2011, 12:03 pm

QuoteOriginally posted by: dd3For knocking up something quickly I'd have to say Java.Java is not a script language. So you cannot develop something very quickly.
 
User avatar
Hansi
Posts: 3300
Joined: January 25th, 2010, 11:47 am

Best general purpose programming language - not finance specific.

May 19th, 2011, 12:13 pm

My choices would be: 1. R/Matlab2. Python3. C#/F#
 
User avatar
ACD
Posts: 107
Joined: April 19th, 2004, 8:09 am

Best general purpose programming language - not finance specific.

May 19th, 2011, 12:15 pm

I'd go with Python myself, free and has most feature you're likely to need using pylab.
 
User avatar
DevonFangs
Posts: 3004
Joined: November 9th, 2009, 1:49 pm

Best general purpose programming language - not finance specific.

May 19th, 2011, 12:25 pm

Indeed let me be an apologist of Python. You have1. NumPy/ Scipy2. Easy GUI with Tcl/Tk3. Nice plots with Matplotlib4. C/C++ interface with SWIG5. I've never used that, but I heard you can fill ndarrays in C/C++/Fortran6. Easy linking to DLL7. CGI programming (well, not so useful... )
 
User avatar
DevonFangs
Posts: 3004
Joined: November 9th, 2009, 1:49 pm

Best general purpose programming language - not finance specific.

May 19th, 2011, 1:46 pm

oh, and you have lambdalook at this gorgeous, one-line implementation of list transposition in pythonmap(lambda *r : list(r) , *listToTranpose)
 
User avatar
demha
Posts: 182
Joined: January 27th, 2011, 8:01 pm

Best general purpose programming language - not finance specific.

May 19th, 2011, 3:07 pm

I'll add Octave to this list (http://www.gnu.org/software/octave/)It's a Matlab clone and does pretty much all you're asking for and is free too (GPL). Python is the only "general purpose" language that comes close to doing all of these tasks, but it's dynamic typing bothers me a lot. For quick hacking (and scripting), that's not really an issue, but for anything serious, I wouldn't touch it.
Last edited by demha on May 18th, 2011, 10:00 pm, edited 1 time in total.
 
User avatar
renorm
Posts: 886
Joined: February 11th, 2010, 10:20 pm

Best general purpose programming language - not finance specific.

May 19th, 2011, 3:20 pm

Sorry guys,But Matlab and Mathematica are not suitable for general purpose programming. R is even more specialized. In my view Python+SciPy+NumPy+MatplotLib is far better than Matlab and Mathematica in almost every department.
 
User avatar
Hansi
Posts: 3300
Joined: January 25th, 2010, 11:47 am

Best general purpose programming language - not finance specific.

May 19th, 2011, 3:27 pm

Well if the requirements do not extend much beyond:- "relatively easy to learn,"- "do a bit of numerics"- "bit of graphing"- "maybe make GUI's and output good graphics etc"Then the packageware (Matlab etc) is still viable.
 
User avatar
DevonFangs
Posts: 3004
Joined: November 9th, 2009, 1:49 pm

Best general purpose programming language - not finance specific.

May 19th, 2011, 3:29 pm

Hey, why don't we make a poll on this?
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