cd /news/developer-tools/grin-compiler-status-update-memory-l… · home › topics › developer-tools › article
[ARTICLE · art-178350] src=discourse.haskell.org ↗ pub= topic=developer-tools verified=true sentiment=· neutral

GRIN Compiler status update: memory layout control, two level type theory based staging, dependent types, Idris2, MicroHs

Csaba Hruska published a GRIN compiler status update covering two-level type theory (2ltt) staging for MicroHs and Idris2, a serialized in-memory data representation, an external STG interpreter in Idris2 that runs Haskell programs, and a new compiler and RTS design based on Futamura projection. Hruska shared the update in a blog post and asked for feedback; a commenter noted that the 2ltt work for MicroHs appears in the miso repository and asked whether Hruska and Claude produced it.

key takeaway

The GRIN compiler update adds 2ltt staging for MicroHs and Idris2, a serialized in-memory data representation, an external STG interpreter in Idris2 that runs Haskell programs, and a Futamura-projection-based compiler and RTS design.

read1 min views4 publishedNov 30, 2026
GRIN Compiler status update: memory layout control, two level type theory based staging, dependent types, Idris2, MicroHs
Image: Discourse (auto-discovered)

Hi, I’ve elaborated the following topics in my recent blog post: https://www.patreon.com/csaba_hruska/posts/new-compiler-176648791 #

2ltt staging for MicroHs and Idris2 #

Serialized in-memory data representation #

External STG Interpreter in Idris2 running Haskell programs #

New compiler and RTS design (futamura projection) I’d be happy to hear any kind of feedback.

11 Likes

Did you (and Claude) do the 2ltt for MicroHs? I noticed that it’s part of the miso repo.

── more in #developer-tools 4 stories · sorted by recency
── more on @grin 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/grin-compiler-status…] indexed:0 read:1min 2026-11-30 · —