Re:The "C is Efficient" Language Fallacy (2006)
by JoeAltmaier on Monday January 09, 2012 @10:04AM
(#3442733)
C/C++ are not the language they were when you did that. Now there are pragmas to control these things, and libraries to help.
Re:The "C is Efficient" Language Fallacy (2006)
by squidfood on Monday January 09, 2012 @10:12AM
(#3442762)
Believe me, I'm current with c/c++ fixes, tricks, and libraries up to about 2007 at least. About every two years during this long period of self-abuse I'd go library-hunting and find some piece of c++ that marginally improved things; the sheer brainpower (mine and the library-writers) wasted on these workarounds is staggering.
Libraries are very nice, but better to start with a suited base-language.
Edit: not to say that my years in that landscape were wasted; other fortran-only programmers look at me as crazy when I create the simplest "object" using the fortran-equivalent of struct; to them, life is nothing but wild unencapsulated matrices deserving to be free.
Re:The "C is Efficient" Language Fallacy (2006)
by m_for_monkey on Monday January 09, 2012 @10:23AM
(#3442821)
I'm interested. Which Fortran compiler would you recommend for a beginner for using on Linux?
my GOD what a breath of fresh air. Natural array expressions, operations slicing, sizing, etc. (talking about the core language not libraries) and incredible, incredible speed. Revolutionary, and makes me deeply regret those years I recited the "c is fast" mantra.
Mind you, the compiler that handles the optimizations is written in c. But you know - I don't need to know about that;in c, I always felt like I was half writing-the-compiler anyway. Thankfully, I'm not anymore.
Now the thing is, I tell people this and they look at me like I'm crazy ("fortran? no way!") This article... I love a little validation.