SERVING THE QUANTITATIVE FINANCE COMMUNITY

 
User avatar
ppauper
Posts: 70239
Joined: November 15th, 2001, 1:29 pm

Re: Philosophy of Mathematics

November 28th, 2018, 5:58 pm

fortran 77.here
I've used fortran 90 on a parallel machine using MPI or whatever it's called.
I tried using fortran 95 and I was WTH, as my codes no longer worked. I guess someone is trying to migrate fortran towards C++, which is an incredibly stupid thing to do: if I wanted to use C++, I would use C++. Fortran was the programming language for non-programmers (basic even more so)
I used to use DOUBLE COMPLEX and EXTENDED DOUBLE PRECISION which worked fine in fortran 77, but evidently ran afoul of the computer scientists.
That and nested loops became a lot harder
      DO 100 I=1,N
      DO 100 J=1,N
100 SUM=SUM+I+J
works fine in fortran 77 but evidently offends computer scientists and needs to be replaced by

      DO 100 I=1,N
      DO 101 J=1,N
      SUM=SUM+I+J
101 CONTINUE
100 CONTINUE
 
User avatar
Cuchulainn
Posts: 58392
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Philosophy of Mathematics

November 28th, 2018, 7:03 pm

Fortran 66 (although I had to use punch cards instead of my favourite paper tape).
Fist language was PL/1 in 1st year undergrad 1971...
 
User avatar
Cuchulainn
Posts: 58392
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Philosophy of Mathematics

November 28th, 2018, 7:06 pm

fortran 77.here
I've used fortran 90 on a parallel machine using MPI or whatever it's called.
I tried using fortran 95 and I was WTH, as my codes no longer worked. I guess someone is trying to migrate fortran towards C++, which is an incredibly stupid thing to do: if I wanted to use C++, I would use C++. Fortran was the programming language for non-programmers (basic even more so)
I used to use DOUBLE COMPLEX and EXTENDED DOUBLE PRECISION which worked fine in fortran 77, but evidently ran afoul of the computer scientists.
That and nested loops became a lot harder
      DO 100 I=1,N
      DO 100 J=1,N
100 SUM=SUM+I+J
works fine in fortran 77 but evidently offends computer scientists and needs to be replaced by

      DO 100 I=1,N
      DO 101 J=1,N
      SUM=SUM+I+J
101 CONTINUE
100 CONTINUE
CS types are pernicity. Wonder if they could their heads around this.

Image
 
User avatar
FaridMoussaoui
Posts: 356
Joined: June 20th, 2008, 10:05 am

Re: Philosophy of Mathematics

November 28th, 2018, 7:19 pm

fortran 77.here
I've used fortran 90 on a parallel machine using MPI or whatever it's called.
I tried using fortran 95 and I was WTH, as my codes no longer worked. I guess someone is trying to migrate fortran towards C++, which is an incredibly stupid thing to do: if I wanted to use C++, I would use C++. Fortran was the programming language for non-programmers (basic even more so)
I used to use DOUBLE COMPLEX and EXTENDED DOUBLE PRECISION which worked fine in fortran 77, but evidently ran afoul of the computer scientists.
That and nested loops became a lot harder
      DO 100 I=1,N
      DO 100 J=1,N
100 SUM=SUM+I+J
works fine in fortran 77 but evidently offends computer scientists and needs to be replaced by

      DO 100 I=1,N
      DO 101 J=1,N
      SUM=SUM+I+J
101 CONTINUE
100 CONTINUE
So you were one of those who don't use indentation in their codes. I hope you wrote some documentation into your code.
Sometimes, it was nightmare to read someone else code.
 
User avatar
Cuchulainn
Posts: 58392
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Philosophy of Mathematics

November 28th, 2018, 7:20 pm

ppauper is a mathematician and a REAL*4 programmer.. could be worse ... GOTO

  o  Real Programmers aren't afraid to use GOTO's.

  o  Real Programmers can write five-page-long DO loops without
     getting confused.

  o  Real Programmers like Arithmetic IF statements -- they make the
     code more Interesting.

  o  Real Prograwmers write self-modifying code, especially if they can
     save 20 nanoseconds in the middle of a tight loop.

  o  Real Programmers don't need comments -- the code is obvious.

  o  Since FORTRAN doesn't have a structured IF, REPEAT ... UNTIL, or
     CASE statement, Real Programners don't have to worry about not using
     them.  Besides, they can be simulated when necessary using assigned
     GOTO's.
 
User avatar
SWilson
Posts: 26
Joined: February 13th, 2018, 5:27 pm

Re: Philosophy of Mathematics

November 28th, 2018, 7:44 pm

Fortran, boxes of punch cards, computers the size of refrigerators, 3-phase power, took 2 days to run a job only to realize you goofed your code and had to re-run. As new shapes were being modeled, incorporating those into your model.  What?! Polyhedron!?  What a time.  
 
User avatar
Cuchulainn
Posts: 58392
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Philosophy of Mathematics

November 29th, 2018, 8:10 am

Fortran, boxes of punch cards, computers the size of refrigerators, 3-phase power, took 2 days to run a job only to realize you goofed your code and had to re-run. As new shapes were being modeled, incorporating those into your model.  What?! Polyhedron!?  What a time.  
Let me guess ... you had labelled boxes for {point, line}. {circle, arc, polyarc} etc.

CAD/graphics in Fortran?
 
User avatar
Cuchulainn
Posts: 58392
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Philosophy of Mathematics

November 29th, 2018, 8:53 am

He certainly wasn't an aristocrat.
You don't need to be an aristocrat to be aristocratic!
 
User avatar
Cuchulainn
Posts: 58392
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Philosophy of Mathematics

November 29th, 2018, 8:56 am

MODULEF, une usine à gaz.

Do you know that the software still exists? link to INRIA modulef software
I remember vaguely being introduced to the Fortran gurus at IRIA, (Monsieur Marocco??), 
Probably MODULEF 1.0?

BTW does it have least squares FEM?
 
User avatar
katastrofa
Posts: 7235
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Philosophy of Mathematics

November 29th, 2018, 9:59 am

He certainly wasn't an aristocrat.
You don't need to be an aristocrat to be aristocratic!
Only in England.

Asembler, anyone? That's how low I started as a child :-)
 
User avatar
SWilson
Posts: 26
Joined: February 13th, 2018, 5:27 pm

Re: Philosophy of Mathematics

November 29th, 2018, 5:22 pm

Fortran, boxes of punch cards, computers the size of refrigerators, 3-phase power, took 2 days to run a job only to realize you goofed your code and had to re-run. As new shapes were being modeled, incorporating those into your model.  What?! Polyhedron!?  What a time.  
Let me guess ... you had labelled boxes for {point, line}. {circle, arc, polyarc} etc.

CAD/graphics in Fortran?
Yes, CAD in Fortran.  You had to wait in line for your drawing to get done.  FEM for mechanical engineering.  if I remember, a lot of the new shapes were coming out of universities.
 
User avatar
Cuchulainn
Posts: 58392
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Philosophy of Mathematics

November 29th, 2018, 8:12 pm

Fortran, boxes of punch cards, computers the size of refrigerators, 3-phase power, took 2 days to run a job only to realize you goofed your code and had to re-run. As new shapes were being modeled, incorporating those into your model.  What?! Polyhedron!?  What a time.  
Let me guess ... you had labelled boxes for {point, line}. {circle, arc, polyarc} etc.

CAD/graphics in Fortran?
Yes, CAD in Fortran.  You had to wait in line for your drawing to get done.  FEM for mechanical engineering.  if I remember, a lot of the new shapes were coming out of universities.
I used to work for CIS Medusa CAD (A wonderful package). At one stags  I needed to write an NC interface using lines, arcs etc. but it was the pre-OO era. So I got my school books and wrote the subroutines in Fortran. We brought the code to a trade show with a real live NC machine; there was a mismatch between our arc orientation and theirs, so I did a volume of revolution in 3d  and no one noticed. Of courses, sparks flew at the bevelled edges.
Later I wrote a CADObject library in C++. 
CAD is cool. Are you in UK?
 
User avatar
SWilson
Posts: 26
Joined: February 13th, 2018, 5:27 pm

Re: Philosophy of Mathematics

November 30th, 2018, 2:37 pm



I used to work for CIS Medusa CAD (A wonderful package). At one stags  I needed to write an NC interface using lines, arcs etc. but it was the pre-OO era. So I got my school books and wrote the subroutines in Fortran. We brought the code to a trade show with a real live NC machine; there was a mismatch between our arc orientation and theirs, so I did a volume of revolution in 3d  and no one noticed. Of courses, sparks flew at the bevelled edges.
Later I wrote a CADObject library in C++. 
CAD is cool. Are you in UK?
I am in the US.  Never had the pleasure of working with Medusa.  
 
User avatar
Cuchulainn
Posts: 58392
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Philosophy of Mathematics

January 12th, 2019, 10:35 am

 
User avatar
Paul
Posts: 8995
Joined: July 20th, 2001, 3:28 pm

Re: Philosophy of Mathematics

January 12th, 2019, 10:53 am

RIP
ABOUT WILMOTT

PW by JB

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


Twitter LinkedIn

JOBS BOARD

JOBS BOARD

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


GZIP: On