View Full Version : 7 programming languages on the rise
LanceGary
26-10-2010, 12:06
The article below suggests:
Python
Ruby
Matlab
JavaScript
R
Erlang
Cobol (!!!!)
and (not really a language but an extension to C) Cuda extensions.
See
http://infoworld.com/print/141620
http://infoworld.com/d/developer-world/7-programming-languages-the-rise-620
Petr Schreiber
26-10-2010, 12:54
Hi Lance,
thanks for the link.
CUDA is not extension to C language, it is (similarly to OpenCL) something much more complex:
* run time interface
* just in time compiler
* CUDA C language
* hardware platform from NVIDIA
I think the article is slightly superficial, the part about CUDA shows the author did more of literature search than practical coding.
CUDA is very good, but I prefer OpenCL and I think it has big potential for bright future, when we speak paralel coding, as it runs on more platforms than CUDA(at least at the time of writing this post).
OpenCL is also available from ThinBASIC, I posted headers and samples a while ago.
Petr
LanceGary
26-10-2010, 21:18
I think the article is slightly superficial, the part about CUDA shows the author did more of literature search than practical coding.
CUDA is very good, but I prefer OpenCL and I think it has big potential for bright future, when we speak paralel coding, as it runs on more platforms than CUDA(at least at the time of writing this post).
OpenCL is also available from ThinBASIC, I posted headers and samples a while ago.
Thanks for the information. I don't think anyone could be expert in all of those languages (well, could they?) so I'm sure that the article was superficial. I just thought it might be of some interest. I couldn't get over the claim that COBOL was still an upcoming language. For wha it is worth I still find BASIC the easiest to program in...
Lance
Petr Schreiber
26-10-2010, 23:19
Hi Lance,
I was not complaining about "bad article", please keep posting them. I just pointed out in one of the areas the info was not 100% (neither is mine :)).
I also consider BASIC very nice to use, with C# coming very close (but having unlucky .NET dependency).
My knowledge of COBOL is almost zero, so I cannot comment much on the topic.
Petr
Charles Pegge
27-10-2010, 00:50
COBOL looks okay to me. I can see why it is still used..
Charles
$ SET SOURCEFORMAT"FREE"
IDENTIFICATION DIVISION.
PROGRAM-ID. Conditions.
AUTHOR. Michael Coughlan.
* An example program demonstrating the use of
* condition names (level 88's).
* The EVALUATE and PERFORM verbs are also used.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 Char PIC X.
88 Vowel VALUE "a", "e", "i", "o", "u".
88 Consonant VALUE "b", "c", "d", "f", "g", "h"
"j" THRU "n", "p" THRU "t", "v" THRU "z".
88 Digit VALUE "0" THRU "9".
88 ValidCharacter VALUE "a" THRU "z", "0" THRU "9".
PROCEDURE DIVISION.
Begin.
DISPLAY "Enter lower case character or digit. No data ends.".
ACCEPT Char.
PERFORM UNTIL NOT ValidCharacter
EVALUATE TRUE
WHEN Vowel DISPLAY "The letter " Char " is a vowel."
WHEN Consonant DISPLAY "The letter " Char " is a consonant."
WHEN Digit DISPLAY Char " is a digit."
WHEN OTHER DISPLAY "problems found"
END-EVALUATE
END-PERFORM
STOP RUN.
http://www.csis.ul.ie/cobol/examples/default.htm#Selection