Josh Goldstein on 17 Jun 2008 06:50:06 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

OCaml likes/dislikes

  • From: Josh Goldstein <oopjosh@yahoo.com>
  • To: philly-lambda@googlegroups.com
  • Subject: OCaml likes/dislikes
  • Date: Tue, 17 Jun 2008 06:49:41 -0700 (PDT)
  • Authentication-results: mx.google.com; spf=pass (google.com: domain of oopjosh@yahoo.com designates 66.196.101.25 as permitted sender) smtp.mail=oopjosh@yahoo.com; domainkeys=pass (test mode) header.From=oopjosh@yahoo.com
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received-spf:domainkey-status :authentication-results:received:domainkey-signature:received :x-mailer:date:from:subject:to:mime-version:content-type:message-id :reply-to:sender:precedence:x-google-loop:mailing-list:list-id :list-post:list-help:list-unsubscribe:x-beenthere; bh=SEs/10b1ON4Ch7ZkREDx4XwWyzl982sXGfUYlNwgEuY=; b=vihDxJRdFAHCLkzVlBSmEeE1keH9bkAgxS7dEcwG625oqO4qYBNOLhUVkE3+HBB0wG vSlzyZPOjgJc01LwazwTn9CLQaLKfih1pC+cbenbe5hZz4mL2+6IiP2+Z4sOD4lCrEE/ uRA7c/pAZ4Y2ipXF2x11DvHhpXe7IlZDaDZso=
  • Domainkey-status: good (test mode)
  • Mailing-list: list philly-lambda@googlegroups.com; contact philly-lambda-owner@googlegroups.com
  • Reply-to: philly-lambda@googlegroups.com
  • Sender: philly-lambda@googlegroups.com

I had an 'advanced' class using SML, so you could say I have some experience.  Before tht I had mostly used Scheme, Java and C.  I found the type system pretty neat!  So, I looked at OCaml once and it seemed to do almost the exact same stuff, but with a slightly messier syntax.  IIRC, it's supposed to be better for more computationally intensive things because it has faster/more compact 2D arrays.  I had found a nice page at one point comparing SML and OCaml, listing how you do everything in each language side-by-side with how you do it in the other language, and the OCaml syntax was always worse.  They seemed close enough that if you loved the type system, pattern matching, etc. in SML you'd get used to OCaml super fast anyway.  But I figured why bother with OCaml since I'm not writing anything like weather/NASA simulations anyway.
Just my 2 cents :)