What I haven’t learned about OCaml yet

Posted 11 August; written (lasted edited) 14 May…

Where to look when Google isn’t it

Other sources (this list is not complete, by any stretch of the imagination):

OCaml links

From the OCaml tutorial, I found the info I was looking for — at the end of the list of tutorials is a link to “comparison of standard containers,” including maps. I’m subscribed to the OCaml beginners group (Yahoo!)

I should also list info about Camlp4.  And more later…


2 Responses to “What I haven’t learned about OCaml yet”

  1. Ted T Says:

    Wow. I’m an engineer who does a lot of scientific programming, but I am lost. What is the excitement about functional programming? Why should I care and where would I want to use it?

  2. gparks Says:

    Functional programming is almost a completely separate discipline in Comp. Sci. – it is significant for a couple of reasons: as a higher level language, the compiler does a lot more for you than, say, C++, which is really, IMPO, a translation from code to assembly language/machine code, and you write at a very low level, when all is said and done. Also, functional programming (hereafter, FP) is “easier”* to compile into assembly language code that can be distributed across multiple threads/processes/processor cores… at least that’s the main selling point right now: to “ease” the transition to writing parallel processing programs (an absolute must if the current hardware trends continue and you want to leverage future developments easily) it is “better” to write in an FP language and let the compiler do the work.
    * by “easier” I mean that the theory of doing so is more well understood (at least by the compiler writers) and it requires less change in the code itself. It may be more difficult to write, but then adding all the overhead to C++ to do multi-threading is more picnic, and requires much more developer involvement (i.e. a C++ compiler can’t guess how to distribute the code, an FP compiler can easily do so).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: