Re: [Haskell-cafe] Ease of Haskell development on OS X?

2009/3/20 Mark Spezzano
Hi,
I’ve been thinking of changing over to an iMac from my crappy old PC running Windows Vista.
Question: Does the iMac have good support for Haskell development?
Question: What environment setups do people commonly use (e.g. Eclipse Xcode etc)?
Question: Are there any caveats I should be aware of before changing systems (i.e. unpleasant surprises).
I want to be able to use the machine for Haskell OpenGL programming.
Take a look at this (rather long) thread on Haskell-cafè: http://www.haskell.org/pipermail/haskell-cafe/2009-February/056545.html Cristiano

Critiano, despite that thread, yes, there is decent support for
Haskell on Mac OS X. The main problem is that the ports system to
install Gtk2Hs isn't terribly great, as in it mostly doesn't work, but
if you're willing to get Gtk2Hs compiled on your own, then after that,
I've found it to be nearly the same. I'm an OpenGL developer myself.
I develop and cross-port all my appilcations to the Mac, because I use
a Mac at home. I don't know about PowerPC, but if you're getting a
new Mac, it should be fine.
So... if you're using GLUT or GLFW as your OpenGL windowing system
backend, you should have no trouble at all. If you're using Gtk2Hs,
just be aware that it'll take some manual tweaking, but that it can be
done.
-- Jeff
On Fri, Mar 20, 2009 at 12:00 PM, Cristiano Paris
2009/3/20 Mark Spezzano
: Hi,
I’ve been thinking of changing over to an iMac from my crappy old PC running Windows Vista.
Question: Does the iMac have good support for Haskell development?
Question: What environment setups do people commonly use (e.g. Eclipse Xcode etc)?
Question: Are there any caveats I should be aware of before changing systems (i.e. unpleasant surprises).
I want to be able to use the machine for Haskell OpenGL programming.
Take a look at this (rather long) thread on Haskell-cafè:
http://www.haskell.org/pipermail/haskell-cafe/2009-February/056545.html
Cristiano _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Haskell on Mac OS X has been mostly painless for me. I have a PowerPC mac which means there are rarely binaries for me to download from haskell.org. I've either used MacPorts or compiled the GHC from source, both have worked well. I prefer the latter, but you'll probably want MacPorts anyway for gcc and non-haskell libs. I did some HOpenGL stuff about a year ago and cannot recall having any problems. Occasionally you'll have to do something like "install PCRE using MacPorts and add /opt/local/lib to $LD_LIBRARY_PATH"[1] but mostly things just work. I believe the readline/libedit thing caused minor headache at some point (but far less than on the Red Hat linux box on which I have no root/sudo access). Everything certainly works infinitely better than on Cygwin. :P Sorry about not being able to give more details, any issues I may have had are not fresh in memory. But in short I don't think you'll have any more/significantly different problems than on Linux, and probably substantially less than on Windows (or I'm doing something wrong). Barring where the above contradicts him I concur with Thomas Davie. ;) Thanks, Bjorn Buckwalter [1] http://tinyurl.com/cw64nd
participants (3)
-
Bjorn Buckwalter
-
Cristiano Paris
-
Jeff Heard