goenzoy:
Hallo all,
I m wondering if there is any port of Haskell to Embedded systems. Any hint welcomed
Ore the question in other form what is the smallest devices for a running Haskell system and is possible to
nhc has been used for a number of embedded projects. I've seen it run on a credit-card sized ARM device. Tony Sloane and others at Macquarie are working on an embedded nhc project too. There are probably others. There was a thread on haskell-cafe about running nhc on the palm recently, starting here: http://www.haskell.org/pipermail/haskell-cafe/2005-January/008627.html Another area is covered by hOp and HOUSE, the Haskell OS projects, that run GHC's RTS on bare metal, though probably not on tiny devices. Btw, you can run GHC on a machine with 12M ram, but you badly need your swap and it isn't pretty :) -- Don
I'm wondering if there is any port of Haskell to Embedded systems. Any hint welcomed
nhc has been used for a number of embedded projects.
Btw, you can run GHC on a machine with 12M ram, but you badly need your swap and it isn't pretty :)
Many years ago, I ported Gofer (the predecessor of Hugs) to run on an embedded M68000 board with 768K of memory. The program was compiled on a host machine, and only the bytecode + runtime interpreter were loaded to the embedded device itself, through an RS232 serial line. In fact, it turned out the amount of memory was probably overkill - 256K would have been sufficient for the simple real-time systems I was programming, a marble-sorter and a liftshaft controller. More detail in my PhD thesis: Functional Programming and Embedded Systems ftp://ftp.cs.york.ac.uk/pub/malcolm/thesis.html I'm not sure whether my code is still extant, but it might be one of these: ftp://ftp.cs.york.ac.uk/pub/malcolm/embeddedGofer.tar.Z ftp://ftp.cs.york.ac.uk/pub/malcolm/goferP.tar.Z Regards, Malcolm
I'm wondering if there is any port of Haskell to Embedded systems. Any hint welcomed
nhc has been used for a number of embedded projects.
As mentioned by Don Stewart, my group at Macquarie has a project to port nhc98 to Palm OS (not quite embedded but some similar issues). An older port that we did provided a proof of concept but we are in the process of re-engineering things to make it more stable and maintainable. As the first step, I am developing a literate version of the nhc98 runtime and factoring out system-specific things as we go. When it is finished I expect that the literate runtime will be useful to others wishing to learn how the runtime works and for other porting projects. Regards, Tony Sloane Dept of Computing, Macquarie University January - July 2005, Visiting Research Fellow, PLS, CSE, UNSW
participants (4)
-
dons@cse.unsw.edu.au -
Gottfried F. Zojer -
Malcolm Wallace -
Tony Sloane