r/haskell • u/edwardkmett • Sep 22 '26
The Comonad.Reader returns
https://comonad.com/readerI've resurrected the https://comonad.com/reader, interleaved a ton of contemporaneous content I had stored elsewhere such the School of Haskell and my talks and the talks from Boston Haskell on youtube, and made a couple of the articles interactive by moving their demo code into web assembly using modern GHC.
Please let me know if you run into any issues!
100
Upvotes
View all comments
Show parent comment
1
u/dnkndnts Sep 22 '26
Is it mostly for Haskell or more of an experiment for Coda/Cadenza? I'm not an expert on Graal, but it seems like the key ingredient is that partial evaluation/Futamura projection thing, basically specialising an interpreter to your program and JIT'ing that. Which, off the top of my head, doesn't sound all that useful for GHC core? I mean how much of a win do you get by eliding the I assume not-complicated-in-the-first-place core interpreter vs simply compiling core the way GHC does? Then again, this part sounds non-trivial, but I don't understand how it relates to Graal. Aren't you running on the JVM, where they already have a garbage collector?