<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm not too much of an expert in Haskell, but I did notice that building the game required keeping track of a lot of state information, which was not very intuitive in Haskell (although the OpenGL state info is rather intuitive). &nbsp;If I were to do it in Haskell again, I would try to learn more about FRP (Functional Reactive Programming) and see if that improves things in terms of state.<div><br></div><div>Ruby is my favorite imperative language, so I would certainly recommend it for game development. &nbsp;It would likely be much easier in Ruby, but perhaps a little slower. &nbsp;My experience with Ruby on Rails has been that it is always a little slower than I wish it were :)</div><div><br></div><div>-- Duane</div><div><br><div><div>On May 3, 2009, at 4:48 PM, Daryoush Mehrtash wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I noticed that Chipmunk also has a Ruby interface.&nbsp; Do you have any pro/con of implementing the game in Ruby vs Haskell?<br><br>Thanks,<br><br>Daryoush<br><br><div class="gmail_quote">On Sat, May 2, 2009 at 12:00 PM, Duane Johnson <span dir="ltr">&lt;<a href="mailto:duane.johnson@gmail.com">duane.johnson@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Reprinted from my blog post [1]:<br> <br> ===<br> <br> The semester is over, my final project was a success (at least in that I passed the class) and it’s time now to release the game I made for Graphics 455: Silkworm!<br> <br> This is my first full application in Haskell. &nbsp;The process has been an enlarging experience–I’ve come to really enjoy the mental work that goes into thinking about a program in a functional way. &nbsp;I highly recommend the challenge to other software engineers.<br> <br> Silkworm combines the Hipmunk binding to Chipmunk 2D Game Dynamics with OpenGL, and GLFW (an alternative to GLUT).<br> <br> It’s built to work on Mac OS X, but it uses cross-platform libraries so it should be fairly easy to port to other platforms. &nbsp;The source code is here [2] and below are some screenshots [1]<br> <br> -- Duane Johnson<br> (canadaduane)<br> <br> ===<br> <br> [1] <a href="http://blog.inquirylabs.com/2009/05/02/silkworm-game-written-in-haskell/" target="_blank">http://blog.inquirylabs.com/2009/05/02/silkworm-game-written-in-haskell/</a><br> [2] <a href="http://inquirylabs.com/downloads/Silkworm.tgz_______________________________________________" target="_blank">http://inquirylabs.com/downloads/Silkworm.tgz_______________________________________________</a><br> Haskell-Cafe mailing list<br> <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br> </blockquote></div><br>/<br></blockquote></div><br></div></body></html>