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."
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
...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.
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.
Ultimately all JS haters argue against third rate languages conceived in an afternoon in 1995 for simple web client prettification to hobble together crap by hipsters selling poor quality junk that nobody asked for.
Abstraction is useful when 1) it genuinely means you can stop worrying about underlying systems, rather than having exactly the same performance etc. problems to solve based on the particular implementation detail of your abstracted platform; 2) it doesn't mean you need a 2 GHz CPU to do what could be done on an Amiga in 1985; 3) It doesn't mean you have to learn a whole new platform every year, so nobody's ever an expert on anything.
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...
No, they just wrote something that will run the GNU cobol compiler.
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.
# Meet the new editor, /#
Same as the old editor...
At the bottom of the
Yeah right. Payroll NEVER makes any mistakes.
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.
Both seem to have been written : COBOL on Javascript last summer (see title), Javascript on COBOL recently (that's the piece of news, so it's not mentioned in the title).
Almost everything is better than JavaScript. JavaScript was good enough as a light-duty scripting and glue language, which it originally was designed for in browsers.
Now people are trying to write GUI frameworks and systems software with it, which is NOT what a scripting language is meant for. Scripting languages should be using/connecting-to systems software, not implementing it.
JavaScript is the wrong tool for the job. It's only popular because it's built into browsers, not because people love it. I'm sure a few will disagree, but a wider survey would show no love of JavaScript for bigger projects.
(It's not even a good scripting language, but that's another topic.)
Table-ized A.I.
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.)