[Haskell-cafe] Haskell vs Ruby as a scripting language

Neil Mitchell ndmitchell at gmail.com
Sat Feb 10 10:15:22 EST 2007


Hi

> > Also, I recommend looking into embedding YHC. I have not had a
> > chance to use
> > it yet, but it looks like it is a better fit to an "interpreter-only"
> > embedding situation than GHC--with GHC, you are getting a lot more
> > than you
> > seem to be asking for.
>
> I would want to compile code as well. Compile bits of code <100 lines
> at a time and load them back into my app for execution. Does YHC
> compile and how efficiently?

Yhc can happily compile code and run it. You'll probably pay a factor
of 2-8 times slower than GHC, depending on what the code does. The
entire Yhc binary distribution on Windows is 8Mb, of which 6Mb is the
compiler.

Thanks

Neil


More information about the Haskell-Cafe mailing list