From: Brian Candler Date: 2009-01-09T07:00:04+09:00 Subject: Re: functional programming M. Edward (Ed) Borasky wrote: >> For example, OCaml generates code which is >> reputedly only half the speed of the equivalent C code. > > Did you mean "twice the speed?" Is OCaml faster or slower than C? And > why? I did mean half the speed, i.e. OCaml is slower. OCaml is a high-level language, but code written in OCaml still manages to achieve ~50% of the speed of hand-written C. Given that C can be considered portable machine code, this is a pretty impressive achievement. -- Posted via http://www.ruby-forum.com/.