r/programming • u/shredditator • Oct 31 '15
Fortran, assembly programmers ... NASA needs you – for Voyager
http://www.theregister.co.uk/2015/10/31/brush_up_on_your_fortran/
2.0k
Upvotes
r/programming • u/shredditator • Oct 31 '15
561
u/puradox Oct 31 '15
"Although, some people can program in an assembly language and understand the intricacy of the spacecraft, most younger people can't or really don't want to"
Exactly what I was thinking.
119
u/[deleted] Oct 31 '15
Well, they can't use Python because it needs whitespace. Space would be just too dark for it.
55
u/Jafit Oct 31 '15
How do they get the punchcards up to the spacecraft?
159
u/16807 Oct 31 '15
Not just any Fortran...
Fortran 77
117
u/rpgFANATIC Oct 31 '15
Normally the group wisdom is "If you're a good enough engineer, it doesn't matter what language you use. You'll be able to pick it up in a month or two."
I guess that doesn't apply for assembly and Fortran
377
u/SchrodingersRapist Oct 31 '15
I always dreamed of working for NASA!
...I don't think I wanna work at NASA that badly >.<
125
u/[deleted] Oct 31 '15
is there a job link? I legit want to apply for this
88
u/Borne2Run Oct 31 '15
It'd be one hell of a resume pad.
61
u/pembroke529 Oct 31 '15
Finally this old gristled coder has a calling.
Where do I send my resume?
29
u/scrimsims Oct 31 '15
I remember my mum learning Fortran when I was a child! I learned binary as a little girl because she had to take me to class with her when she couldn't get a sitter. She just retired at 62 after 30+ years as a programmer. She's my inspiration! I forwarded her the article -but sadly, I think she may be more interested in making stained glass than code now.
27
u/Jeras Oct 31 '15
How big is the Voyager team now-a-days? I'm a little surprised that they haven't had a younger team of engineers shadowing the retirees the past few years to transfer knowledge and keep what is left of the project operational. That might be limited by funding though...
I wonder if they're still pushing code updates to the probes or if the development needs are for the earth based systems.
21
u/mutatron Oct 31 '15
From the original article this one is talking about:
It's hard to imagine that being a full time job for a decade.
31
u/backtowriting Oct 31 '15
I'm surprised. Many of us physicists still use FORTRAN as our primary language. In my field, practically all the code is written in FORTRAN.
43
u/scalablecory Oct 31 '15
I can see Fortran being rare, but assembly? There's still got to be a lot of us who do assembly.
8
u/KnowsAboutMath Oct 31 '15
I work for a U.S. government laboratory. Fortran is common here, and at other federal labs. You'd be surprised how much of the behind-the-scenes technical/science/engineering work of the U.S. government is powered by code that is 30, 40, or even 50 years old. In fact, expertise in Fortran is so common here that a lot of new code is written in it as well.
ETA: For example, a few weeks ago, I was working on some code that relied on a Fortran linear algebra library originally from NIST. The header comments dated it from 1966.
7
u/pengusdangus Oct 31 '15
Serious question here--don't we write compilers that write better assembly than we do? I understand it is helpful thinking at that level and sometimes coding at that level for optimizations, but I was under the impression that compilers do some things that a normal programmer's intuition can't accomplish.
6
u/shaggorama Oct 31 '15
I'm positive that this is someone's dream job.
6
u/rosicruxi Oct 31 '15 edited Oct 31 '15
NASA laid off their more senior and Fortran bearing engineers and project managers years ago in a several great purges (or cancelled contracts on, as they mostly went through USA for the past 40+ years).
I have(had) a NASA-heavy family, most of my friends and family who worked for them are now in completely different careers having nothing to do with aeronautics or space, so I say, Good Luck!
5
u/WhisperSecurity Nov 01 '15
My father is one the original crew. They laid him off when the project wound down. He is old, but still very much alive. They cannot be looking too hard, since they haven't picked up the phone and called him.
3
u/Odinuts Oct 31 '15
I'm actually studying FORTRAN this semester and I've been wondering why we're studying a language that's practically dead right now. Well, this feels nice.
3
u/baldhippy Oct 31 '15
There is a linked article on this page about the raspberry Pi, which would have so much more power than this spacecraft. What a great time to be alive.
3
u/Aveach Oct 31 '15
As a young person I actually prefer working with embedded systems programming and assembly level stuff. Obviously I have a lot to learn but I find it very interesting. Just my two cents on the whole younger people thing.
10
u/golgol12 Oct 31 '15
Fortran was my first language. Actually, TI-85 was. Fortran was the first language I was formally taught in school, because I was in physics in collage. Found out I was better at the programming than the physics and switched to a CS degree. For a while after college and before I knew what it was, I thought people talking about 4chan were referring to Fortran. I was very confused.
If I wasn't in video games, I would work at Nasa. I like working with low level code. I'd trade "how do I serve this companies website to a million people" for "how do I make this executable fit in 68k so Nasa can operate a deep space probe" any day. Probably the first thing I would do is make a C compiler replacement and translate everything to that. Fortran not built for this type of thing, and it's easier maintenance.
2
u/bloodguard Oct 31 '15
The last Fortran and Macro-32 (yay Vaxen) projects I worked on were contracts to fix legacy systems for a government agency. They do love to hold onto crusty systems.
If the pay wasn't so crappy compared to what I'm making currently I'd probably consider it just for bragging rights.
2
u/noodle-face Oct 31 '15
I have to write assembly at work sometimes... They'd have to pay me much more to do it full time
2
u/kyle2143 Oct 31 '15
Why exactly do they still need to communicate with Voyager? I didn't know that it still sent any data back. And if it does, what is it sending back? I didn't really think there was anything new that could be done to it.
2
u/logicalmaniak Oct 31 '15
Voyager is probably halfway to becoming V---ger by now. That's why NASA will send some Fortran programmers back in time to reprogram Voyager before it starts, so it's nicer to Captain Kirk.
2
u/IronRule Oct 31 '15
Man fingers crossed that my Java/C# skills are needed by NASA in 30 years
2
u/mutatron Oct 31 '15
https://experienced-jpl.icims.com/jobs/search?ss=1&searchKeyword=voyager
2
u/senatorpjt Oct 31 '15 edited Dec 18 '24
screw scale edge late squash detail memorize aloof swim offer
This post was mass deleted and anonymized with Redact
2
u/nyrol Nov 01 '15
Wow I'm 26 and love assembly. I do most coding challenges in a random assembly language because I actually enjoy the challenge of hardware limitations (like having one 8-bit register) and seeing how many clock cycles I can shave off. 68k of ram is a little more than I'm used to (I usually work with 32k of ram) but I'm sure that'd be a lot of fun.
2
u/[deleted] Nov 01 '15
Would be this different if they used lisp instead?
3
u/Mizar83 Oct 31 '15
Fortan is still routinely used in astrophysics and astronomy, both for small codes and for big, high performance hydro simulations.
I find difficult to believe that NASA does not know that and cannot hire some of those people for the (presumably small) programming team for Voyager
4
u/MashedPeas Oct 31 '15
I've done both FORTRAN and COBOL but I doubt they are going to move the job to where I live.
2
u/[deleted] Oct 31 '15
ELI5, what is assembly?
2
u/AnotherSmegHead Oct 31 '15
Oh my... I... I know some BASIC... is.... is that still useful? ;n;
1
u/registrant Oct 31 '15
I know IBM 360/370 Assembler.
1
u/ILikeLeptons Oct 31 '15
i thought the voyager's processors were CDP1802's?
1
u/Tim018 Oct 31 '15
Space cowboys... for programmers
awesome
1
u/thegreatgazoo Oct 31 '15
Why wouldn't they use C? It compiles pretty neatly down to assembly and would be a lot easier to debug, troubleshoot, and document.
1
u/Killer_Tomato Oct 31 '15
I got an internship at jpl simply for knowing basic idl at the earth science division. Didn't do any actual programming but got a resume booster.
1
u/[deleted] Oct 31 '15
This sounds like something that would be up Steve Wozniak's alley.
1
u/Xuttuh Oct 31 '15
If they'll employ Australians, hit me up.
1
u/SmokingChrome Oct 31 '15
I wonder how NASA reasons about this.
1
u/mk_gecko Oct 31 '15
FYI: Assembly program: The program asks for a number, and then prints out the following 10 numbers.
http://quarkphysics.ca/programming/prog_ex.htm
Will NASA hire me? (It looks like this page was written in 2009)
1
u/dada_ Oct 31 '15
We're finally gonna get them back from the Delta Quadrant?
1
u/foldo Oct 31 '15
While we are at it. Does anybody know of a good site/way to learn (ARM) Assembler online?
Im in first year of college and we are learning assembler, but most of the time I feel like I have no clue what Im doing.
1
u/tt23 Oct 31 '15
Fortran has old roots, but is certainly not ancient. https://en.wikipedia.org/wiki/Fortran#Fortran_2015
1
u/altheitalian Oct 31 '15
No, thanks. I am sure at S.H.I.E.L.D. they use more recent technology
1
u/microfortnight Oct 31 '15
I feel wanted!
(1985 B.Sc. in Computer Science)
1
u/whydoismellbacon Oct 31 '15
I'm sure someone over at 4Chan can help with 4tran.
1
u/AMMJ Oct 31 '15
I know Fortran and Basic...it's my time to shine, bitches!
1
u/fzammetti Nov 01 '15
Ah! Finally, all those years of late nights coding crack intros and demos on the C64 when I was a kid plus the one Fortran class I took in high school because for some crazy reason they offered a class in it is gonna make me rich! Who'da thought THAT mix of experience would be the thing that could get me as close to space as I'm ever likely to get!
(if I didn't already know I couldn't deal with the type of rigidity NASA demands I'd seriously be sending in my resume right now)
1
u/dobkeratops Nov 01 '15
68k demo
1
u/Wetbung Nov 01 '15
As an ancient embedded developer, that sounds like fun. I love writing in old assembly languages on very limited hardware.
1
u/betterbarsthanthis Nov 01 '15
I last used FORTRAN in 1978. Punch cards.
1
u/[deleted] Nov 01 '15
I took fortran in college, around 94. It was a dead language then, taught by an oriental guy who didn't speak much english and what he did speak was unintelligible.
Yeah I failed.
1
u/MaxSwagger Nov 01 '15
Damn I used to use those languages on good old VMS systems. NASA here I come.
1
u/cybelechild Nov 01 '15
I always wanted to work for one of those space people. Too bad I don't know Fortran and am just an ordinary sucker :(
1
u/maddentim Nov 01 '15
What has always impressed me with programmers of this era is the ability to do so much with, in today's terms, so little in resources.
1
u/NewAnimal Nov 01 '15
I think ill send them my resume just to give the HR a good laugh. they probably need it.
1
u/Yidyokud Nov 01 '15
What kind of assembly? Intel, AT&T? I'm coming. Probably they meant machine code tho based on the article. And that's a whole other thing lol...
1
u/newoldwave Nov 01 '15
I coded both languages about 40 years ago, but doubt if I can remember most of it. This situation sounds like the typical FUBAR I have seen made by corporate managers.
1
u/SneakyRobb Nov 01 '15
1
1
u/mszegedy Nov 01 '15
Assembly's fine, FORTRAN can go suck a cock (although I hear it's not actually bad once you're used to it). I wish Voyager had been a LISP machine instead, that's one ancient programming language I'd love to maintain code for
1
u/g4m3c0d3r Nov 01 '15
I don't understand this. Why not just write a back-end to GCC designed for Voyager's CPU? Modern compilers will out optimize an old FORTRAN compiler. Then you have the pick of the very large C / C++ community of programmers, litter. I mean, I've programmed in FORTRAN 77 and 6502 & 68K assembly, and I'd much rather just use C.
1
u/StephenColbert46 Nov 01 '15
A lot of code at NASA is still in Fortran. Too many lifer engineers who learned it once and then used it forever. And updating the code is time consuming and difficult, so nobody does it.
1
u/efrique Nov 01 '15
I did both (several varieties of each) way back when... and then 15 years+ later did okay off it because there weren't too many people around who could fix fortran code.
But I got sick of fixing other people's shitty code after a while. Haven't done any for nearly 20 years now
1
u/ConjurorTF Nov 01 '15
They really need to look to the old school demoscene (which is still very active). Demos are 100% assembly and involve cycle exact programming of custom processors as well as the usual collection of low powered 8/16/32 bit CPUs on very low memory systems.
1
u/Tobblo Nov 01 '15
Damn, I should have learnt fortran instead of cobol.
1
u/greydalf_the_gan Nov 01 '15
Fortran... shudders
1
u/[deleted] Nov 01 '15
Any programmer fluent in a procedural language from the C family can understand Fortran in a few days -- it's not a big, complex, or tricky language. It's not like they are searching for Navajo speakers, it's just another computer language.
Finding programmers who can read and write assembly, and especially work with limited resource hardware is harder, since any programmer under 40 years old has likely never been exposed to limited memory or simple CPUs.
I used to do this kind of programming, though not for NASA, it's an order of magnitude simpler than trying to get a simple web application to work. On the other hand the code must be correct, so there's a level of QA and testing that most programmers have never experienced, because a to-do list or connecting to the FourSquare API is not mission-critical to anyone.
1
u/oh-just-another-guy Nov 01 '15
I've never coded in Fortran, was probably born 10 years too late for that. But I always get nostalgic when I think of the late 80s, early 90s days of assembler, C, GWBASIC, DOS TSRs, Peter Norton's book, the early boot sector viruses, etc.
1
u/webauteur Nov 02 '15
When aliens finally contact us, they will use Fortran, only no programmers will be left to understand the message. That would make a great Star Trek movie!