4 ms·
I first learned FORTRAN in high school, where we used optical sense cards to create code. The teacher took them each night to the board office and brought back
by musgravepeter 11y ago
I first learned FORTRAN in high school, where we used optical sense cards to create code. The teacher took them each night to the board office and brought back our output for the next class. If you had ten days for an assignment, you had ten chances to compile/run. The next year the school got a Commodore PET and I had a chance to use that.
I still code - and have just finished converting some FORTRAN astrophysics simulation code from 1974 into C# for a Unity project.
- kitd 11y agoMy first job was writing actuarial software in FORTRAN. You submitted your compilation job to the IBM 3090 job queue in the evening and got back the compiled code in the morning, which you tested on a dataset. We coded carefully in days of yore :)
- baldfat 11y ago> converting some FORTRAN astrophysics simulation code from 1974 into C# for a Unity project But FORTRAN is SOOOO fast. In R there is still plenty of FORTRAN code running. I still would want the code running FORTRAN and try to figure a way for it to run as is. I understand the need for it to run in Unity but just I hate the idea of all FORTRAN code needs to be converted.
- musgravepeter 11y agoYeah - I hear you. Converting 1000 lines was a BIG drag. I did experiment with native and f2c versions - but when targeting for mobile it meant a bunch of Android and iOS packaging that was kinda irritating. The specific code I targeted (3 body evolution using KS regularization, the triple code at http://www.ast.cam.ac.uk/~sverre/web/pages/nbody.htm http://www.ast.cam.ac.uk/~sverre/web/pages/nbody.htm) was modest and not CPU intensive. I'd love to do the same for NBODY6 and that would have to be native. Look for an update to my ThreeBody app with this code (and a cool gallery of new 3B solutions) sometime late in the year.
- baldfat 11y agoSo I am hoping you read the SciFi book the Three Body Problem?
- simonh 11y agoACRETE perhaps? I occasionally play around with StarGen[1] and one day I'd like to get my head around the code well enough to convert it to Python. [1] https://www.eldacur.com/~brons/NerdCorner/StarGen/StarGen.html https://www.eldacur.com/~brons/NerdCorner/StarGen/StarGen.ht...