News for hackers. Stuff that matters.
Re:Ask HN: best languages to learn as a newcomer by rmaccloy on Tuesday May 26, 2009 @10:05AM (#626727)
Somebody mentioned Clojure, which is a great language but has some baggage.

If she's coming from a rigorous background, I highly suggest Scheme and the book Structure and Interpretation of Computer Programs (SICP: http://mitpress.mit.edu/sicp/.) For some people using a language with more batteries (and thus instant gratification) is better to learn programming, I think, but for learning to think about computation I think Scheme is pretty hard to beat.

Scientific programming might mean C/C++ (that's where the fast math libs are, to be sure), but it might mean Matlab or Forth or lots of R, who knows.

Re:Ask HN: best languages to learn as a newcomer by gamache on Tuesday May 26, 2009 @10:20AM (#626741)
The fastest math libs are in Fortran. You can get close in C/C++, but the everything-is-a-pointer philosophy of C gets in the way of some compiler optimizations that are available in Fortran. (Wasn't there something posted to HN about this in the last couple of weeks?)

The penalty is that you must use Fortran, though. If the app does anything besides crunching numbers, most people would choose a more comfortable language, or just write the crunchy bits in Fortran and use a FFI if they're ambitious.

Re:Ask HN: best languages to learn as a newcomer by rmaccloy on Tuesday May 26, 2009 @10:28AM (#626755)
Indeed. (I mentioned Fortran in one of my replies above.) As far as I know, Fortran isn't used much for new development projects, though; I hear more about using the C interfaces to LAPACK or whatnot even in very crunchy (e.g. genome) apps. Far from a complete survey, I could be wrong. :)