On Dec 18, 9:17 am, "jwmerr... / gmail.com" <jwmerr... / gmail.com> wrote: > On Dec 17, 11:32 pm, Sharkie Landshark <shark.fin.s... / mac.com> wrote: > > > > > I want to write my core logics in a compiled language for 1) performance > > and 2) protecting my source code -- in case I will be selling my product > > to a customer. > > > What would be the most natural-supported-easy-fast language to do this > > in, given the many choices of language bridges? > > > I am particularly interested in, > > > 1) C > > 2) Objective C > > 3) Ocaml > > 4) Lisp (SBCL) > > 5) Scheme > > > Does anyone have experience and would like to share? > > > I will be coding in OS X and deploying in FreeBSD mostly. > > > Thanks > > > Shark > > -- > > Posted viahttp://www.ruby-forum.com/. > > There's rocaml:http://eigenclass.org/hiki/rocaml. Never used it, > but thought I'd mention it. > > JM I've been using rocaml lately, and I like it. OCaml isn't Haskell, but nobody's perfect! :P Seriously though, OCaml fits very well (imho) with the style of ruby (Hindley-Milner type inference + structural typing is very similar to duck typing), and rocaml makes it easy to write extensions since it auto-generates all the glue code for you (similar to SWIG). You basically write a .ml file as you normally would, declare a few things about the interface, and rocaml does the rest. Doesn't work on windows yet I don't think (OCaml does, just not rocaml). Regards, Jordan