Node.js Now Runs COBOL and FORTRAN (arstechnica.com)
Last summer a developer created a plugin which made it possible to run snippets of COBOL code embedded in JavaScript using the Node.js interpreter. Now Slashdot reader techfilz writes: Romanian developer Bizau Ionica has engineered a software bridge called node.cobol which can execute Node.js scripts from within COBOL programs.
The link shows COBOL code executing a Node.js script that launches a Web server and creates ASCII art from a JPEG image -- in this case, Admiral Grace Hopper, who helped create COBOL in 1959. And Ars Technica points out the same developer has also built a Node.js bridge for FORTRAN.
The link shows COBOL code executing a Node.js script that launches a Web server and creates ASCII art from a JPEG image -- in this case, Admiral Grace Hopper, who helped create COBOL in 1959. And Ars Technica points out the same developer has also built a Node.js bridge for FORTRAN.
Now if I could just figure out a way to rein those 1000+ Hollerith card decks...
I'm a consultant - I convert gibberish into cash-flow.
He needs to be stopped before he gets round to Visual Basic.
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
For when it has to work 100% of the time...like payroll and and AP, AR, MRP, etc.
No surprise Bizau did it. This guy has been making JavaScript do weird stuff for a long time. Just check out his GitHub repo.
Until it runs ADA it will be a toy language for hipsters.
... ... ...
Monuments of unageing intellect.
Once out of nature I shall never take
My bodily form from any natural thing,
But such a form as Grecian goldsmiths make
Of hammered gold and gold enamelling
To keep a drowsy Emperor awake;
from Sailing to Byzantium by William Butler Yeats
Make a Node.js bridge to get the damn kids off COBOL developers' lawns. Also a Node.js bridge for bingo and adult diapers.
And someone's written a COBOL interpreter using the Node.js platform?
idgi. I typed out a COBOL interpreter written in BBC BASIC in the late '80s from an Acorn User magazine, and I'm fairly sure it didn't make world news. Or is it because it's WEB SCALE?
so calling a program from another program is considered big these days? WTF
...they never stopped to think if they should.
Please, stop creating excuses to keep all that old FORTRAN and COBOL code around. Think of the children!
Bearded Dragon
No one says why this was done. I'm beginning to suspect the people who did it don't know why either.
I'll just skip right to the end of the inevitable flame for them: "... no REAL programmers write in machine code", (ultimately all JS haters argue against various arbitrary levels of abstraction)
It just forwards code between runtimes/compilers and executes the separate process. You cannot run fortran or cobol unless you install GNU's implementations of them on your machine.
I think the title is wrong, we wrote a module to run Node.JS FROM Fortran
So does Node.js runs COBOL or runs on COBOL?
The title give one way and the main text give the opposite.
I won't be happy until I can run COBOL in my browser under WINE through a VM running on a aliased instance of Win XP under AmigaOS.
Oh, and I want a high frame rate too.
Just cruising through this digital world at 33 1/3 rpm...
Visual Basic (and I'm talking about the original Visual Basic, not the it's-just-C#-with-a-wordy-syntax VB.NET) is actually a better programming language than JavaScript. Visual Basic's semantics are better. Visual Basic's syntax is better in some cases. Visual Basic is more consistent. Visual Basic is more predictable. Visual Basic has a saner type system. Visual Basic code is more maintainable. The Visual Basic community isn't full of hipsters.
pointless bloat.
a major reason js is such a pile of shit that should die.
You bastard!
About time my malware runs on payroll mainframes!
We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
The original Visual BASIC was backward compatible for the most part with Quick BASIC. QB64, while not backward compatible with VB is also backward compatible with QB, with its own extensions.
Yeah it was naive of me to think that ad hominid would not also be part of opponents arguments... You can apply your argument to any language you dislike, i dislike many, and like many, but doesn't mean i have to be a dogmatic prick.
It's javascript. Humor them.
Until you have actually tried JavaScript, don't hate on it... :-)
...because only once you've tried it will you really learn to know the meaning of hate
Problem is, having a cross-platform language & API for which the runtime is already installed on most systems - so end users with zero technical skills (you know, the ones where you ask them what operating system they're running and they say "Microsoft Office 2013") will actually be able to run your programs - is jolly useful... Sadly that language is JavaScript. Pity Java kinda went wrong.
In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
So you like JavaScript then? I can't tell by your post.
That's F90 and later that he's hooked that into. It hasn't been called FORTRAN since F77.
A modern computer without Cobol and Fortran is like a chocolate cake without mustard and ketchup.
Battlestar Galactica will be pleased.
Since the Slashdot community seems to appreciate the work of this fellow, I just read another of his lectures (EWD273) where he had some harsh criticism for both of these languages. (The whole article is a good read, but the first mention of FORTRAN and COBOL can be found in just the last few paragraphs of the transcription.)