Differences Between Hugs, Yhc and GHCi

8.2k Views Asked by At

There are differences between Hugs, Yhc and GHCi? If there are differences, What are they?

5

There are 5 best solutions below

0
On BEST ANSWER

Update: Hugs is unmaintained.

They are all just different implementations. I would try and explain the differences but this article does a much better job.

1
On

Usually people use Hugs for small, testing-type prototypes (analogously to how Ruby users would use irb and Python users would use the interpreter), but for actual shipping code, GHC is by far the most popular target (analogous to how Python users would compile import modules to cpython).

They're all pretty much standards-compliant, its a matter of speed of performance vs speed of compilation.

(Dunno much about Yhc)

3
On

First: you want GHC/GHCi. And you want it via the Haskell Platform. Then, for more info on the other implementations of Haskell, read Bartek's link.

0
On

These days people kind of converge to using GHC, as it's the de facto standard.

0
On

Hugs is a version of Haskell that started out on Linux and is therefore better optimised for it.