Type Classes

Type Classes

Share this post

Type Classes
Type Classes
memfd: An example of Haskell and C

memfd: An example of Haskell and C

Today I'm talking about my 'memfd' library, a concise example of FFI in Haskell.

Chris Martin's avatar
Chris Martin
Mar 17, 2023
∙ Paid
1

Share this post

Type Classes
Type Classes
memfd: An example of Haskell and C
Share

This article is installment two of two. Part one laid out some important concepts, and this part goes into the inner workings of the memfd library to show how Haskell FFI works.

I had been reading Drew DeVault’s free book, The Wayland Protocol (which I recommend if you’re interested in Wayland). When it comes time to show how to allocate a shared memory …

Keep reading with a 7-day free trial

Subscribe to Type Classes to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Mission Valley Software LLC
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share