Haskell code running on ChibiOS/RT!

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
Post Reply
masterq
Posts: 4
Joined: Wed Aug 14, 2013 7:28 am
Been thanked: 1 time

Haskell code running on ChibiOS/RT!

Post by masterq »

Hi all.
I'm an author Ajhc Haskell compiler http://ajhc.metasepi.org/.

Now Haskell code compiled with Ajhc is running on ChibiOS/RT!

https://github.com/metasepi/chibios-arafura

Enjoy! :)
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Haskell code running on ChibiOS/RT!

Post by Giovanni »

Hi,

Interesting project, thanks for posting the links.

Giovanni
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: Haskell code running on ChibiOS/RT!

Post by Tectu »

It's indeed a very interesting project. I always wanted to learn haskell - and I started, but I never came to it because I simply had no use for it.
Do you see any real advantages by using Haskell on an M4 over C or is it just playing around / of educational purpose?


~ Tectu
masterq
Posts: 4
Joined: Wed Aug 14, 2013 7:28 am
Been thanked: 1 time

Re: Haskell code running on ChibiOS/RT!

Post by masterq »

Do you see any real advantages by using Haskell on an M4 over C or is it just playing around / of educational purpose?


Hi Tectu.
I think it's more safe developing with Haskell than C.
The type system keeps big software project as safe and simple.

Haskell on ChibiOS/RT is the first challenge to run Haskell code directory on real OS.
Finally, I would like to rewrite the real UN*X kernel, such as NetBSD, with Haskell.
ChibiOS/RT is the first step.

Best regards,
Kiwamu Okabe
Post Reply