SERVING THE QUANTITATIVE FINANCE COMMUNITY

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

I LOVE FORTRAN

February 3rd, 2015, 3:21 pm

QuoteOriginally posted by: Traden4AlphaQuoteOriginally posted by: CuchulainnQuoteOriginally posted by: Traden4AlphaIf the core grammar and atoms of C++ are best suited to a certain style of programmingAnd that style(s) is?"Complicated"LOL edit: it is becoming like a Swiss army knife.
Last edited by Cuchulainn on February 2nd, 2015, 11:00 pm, edited 1 time in total.
My C++ Boost code gives
262537412640768743.999999999999250072597198185688879353856337336990862707537410378210647910118607313

http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
gelfand
Posts: 144
Joined: July 14th, 2002, 3:00 am

I LOVE FORTRAN

March 9th, 2015, 7:16 pm

QuoteTL;DR: If you have higher ease of use, popularity, performance (without having to pay extra for it), and interoperability -- what do you need Fortran for?If you like Matlab, Python with Numpy, or R because operations on whole arrays and array sections are convenient, and because allocating and passing multidimensional arrays to functions is simple, then when you need a compiled language, why not choose one that also has those features? Modern Fortran does.
Last edited by gelfand on March 8th, 2015, 11:00 pm, edited 1 time in total.
 
User avatar
Cuchulainn
Topic Author
Posts: 63378
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

I LOVE FORTRAN

March 10th, 2015, 9:19 am

QuoteOriginally posted by: gelfandQuoteTL;DR: If you have higher ease of use, popularity, performance (without having to pay extra for it), and interoperability -- what do you need Fortran for?If you like Matlab, Python with Numpy, or R because operations on whole arrays and array sections are convenient, and because allocating and passing multidimensional arrays to functions is simple, then when you need a compiled language, why not choose one that also has those features? Modern Fortran does.AFAIK Matlab seems to be built atop Fortran.In the past one reason for moving away from Fortran (e.g. graphics and CAD) to C was the latter's inability to support upcoming OSs like UNIX, DOS and OS/2.
My C++ Boost code gives
262537412640768743.999999999999250072597198185688879353856337336990862707537410378210647910118607313

http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
gelfand
Posts: 144
Joined: July 14th, 2002, 3:00 am

I LOVE FORTRAN

March 27th, 2015, 6:18 pm

For people who know Python, one way to get a sense of modern Fortran is to look at the Python Fortran Rosetta Stone http://www.fortran90.org/src/rosetta.html .QuotePython with NumPy and Fortran are very similar in terms of expressiveness and features. This rosetta stone shows how to implement many common idioms in both languages side by side.
 
User avatar
Cuchulainn
Topic Author
Posts: 63378
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

I LOVE FORTRAN

March 30th, 2015, 9:50 am

QuoteOriginally posted by: gelfandFor people who know Python, one way to get a sense of modern Fortran is to look at the Python Fortran Rosetta Stone http://www.fortran90.org/src/rosetta.html .QuotePython with NumPy and Fortran are very similar in terms of expressiveness and features. This rosetta stone shows how to implement many common idioms in both languages side by side.Any OO examples? Just curious. I looked at OO Fortran, looks complicated.
My C++ Boost code gives
262537412640768743.999999999999250072597198185688879353856337336990862707537410378210647910118607313

http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
Polter
Posts: 2526
Joined: April 29th, 2008, 4:55 pm

I LOVE FORTRAN

April 6th, 2015, 2:01 pm

Cuch: here goes, have fun! ;-)ARCHER TechForum Mar 2015 Not-so-old Fortran
Last edited by Polter on April 5th, 2015, 10:00 pm, edited 1 time in total.
 
User avatar
Cuchulainn
Topic Author
Posts: 63378
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: I LOVE FORTRAN

May 23rd, 2020, 1:25 pm

Ask Professor Fortran
«Энциклопедия профессора Фортрана»


http://blog.katichka.ru/scans/entsiklop ... trana.html

Image
My C++ Boost code gives
262537412640768743.999999999999250072597198185688879353856337336990862707537410378210647910118607313

http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
tagoma
Posts: 18385
Joined: February 21st, 2010, 12:58 pm

Re: I LOVE FORTRAN

June 17th, 2020, 9:36 am

A Fortran-Keras Deep Learning Bridge for Scientific Computing

Multiple generations can live under one roof.
 
User avatar
Cuchulainn
Topic Author
Posts: 63378
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: I LOVE FORTRAN

June 17th, 2020, 2:27 pm

My C++ Boost code gives
262537412640768743.999999999999250072597198185688879353856337336990862707537410378210647910118607313

http://www.datasimfinancial.com
http://www.datasim.nl
 
User avatar
Cuchulainn
Topic Author
Posts: 63378
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: I LOVE FORTRAN

June 17th, 2020, 3:02 pm

I lost interest in FORTRAN when they got rid of HOLLERITH cards. Good old days.

www.youtube.com/watch?v=pfskp4R53Q0

This is a 21st century computer room

Image
My C++ Boost code gives
262537412640768743.999999999999250072597198185688879353856337336990862707537410378210647910118607313

http://www.datasimfinancial.com
http://www.datasim.nl
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