![]() |
|
#10
|
|||
|
|||
|
[ QUOTE ]
[ QUOTE ] [ QUOTE ] Don't most programmers kind of hate C++ or am I wrong? [/ QUOTE ] It's a love-hate kind of thing. More hate than love, I guess. [/ QUOTE ] I learned C first (well actually I had a college course in Fortran using punch cards (yes, I'm an old fart), but never did any serious programming in it. While there is something to be said for learning an easier language first, if you can program in C, you can program in anything. If you want something to run fast, write it in C or C++. If you want to get the program written fast, use Java, Perl, C#, etc. Compiled executables will always outperform interpreted or run-time compiled languages, so C and C++ are the workhorses for device drivers, OS kernels, word processors, spread sheets, etc., where shaving every nanosecond counts, whereas languages like Jave, C# and perl are used for smaller things like web applications or middleware, where maximizing programmer productivity is more important. [/ QUOTE ] I work in high-performance computing, specifically parallel computational fluid dynamics. It would mostly be a complete joke to program in anything other than C or fortran and I program almost exclusively in them. Performance hits in any other language are too large and MPI interfaces in those two languages are well built and straight forward. I do a bit of image analysis in python, but only because it's easier to handle image files and it's not computationally expensive anyway. There are certain efforts to use python in HPC, but that mainly works because all the modules are written in C anyway, python is just used for the scripting. I've never used punch cards, but I still regularly use fortran77. If anyone wants to talk about a pain-in-the-ass language, lol. [img]/images/graemlins/smile.gif[/img] |
|
|