~/talk

Plinth: A Plugin-Powered Language Built on Haskell (Experience Report)

links:none on file
links:none on file
links:none on file
slides:none on file

Plinth is a production DSL that reuses a subset of Haskell syntax, compiles via a GHC plugin into PIR → typed Plutus Core (System Fω with iso-recursive types) → UPLC, and has run on Cardano since 2021. Compilation and lifting happen inside GHC; the runtime is a performance-tuned CK machine implemented in Haskell with an Agda spec. It delivers deterministic offchain-to-onchain execution, but demands deep GHC integration and sacrifices Haskell laziness.

AI-written summary · about

  1. 0:00Plinth introduction
  2. 3:12Plinth as Haskell subset
  3. 7:48Advantages and drawbacks of EDSLs
  4. 10:03Haskell subset choice
  5. 12:10GHC plugin compiler
  6. 15:47Standalone vs GHC plugin
  7. 17:53Plinth runtime and CK
  8. 21:04Runtime predictability
  9. 23:15Haskell performance for blockchain
  10. 24:40Future work
  11. 26:46Plinth unique aspects
  12. 27:08Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.