Haskell for System Programming

Hey, it’s me again! Anyone used Haskell for system programming? Like using for creating daemon applications, communicating through pipes and sockets, like a system application to monitor the cpu usage and stuff. I know there is something called Hell that is the shell using Haskell but I want to know more about it.

7 Likes

I wrote a program that’s about half of a terminal emulator in Haskell:

It’s not really polished for external use, but you might find it interesting.

2 Likes

Does XMonad (a tiling window manager) count?

2 Likes

I wonder if something like haskell or idris2 can be used for writing device drivers in server based OS ( drivers are user space apps ). Maybe for writing to specific memory regions ( used in like memory mapped IO ) The memory ports/ regions could be represented as linear resource handles

Funny, there’s a book from Chris Martin, literally called “Sockets and Pipes”
https://leanpub.com/sockets-and-pipes

3 Likes