{"slug": "grin-compiler-status-update-memory-layout-control-two-level-type-theory-based", "title": "GRIN Compiler status update: memory layout control, two level type theory based staging, dependent types, Idris2, MicroHs", "summary": "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.", "body_md": "Hi, I’ve elaborated the following topics in my recent blog post: [https://www.patreon.com/csaba_hruska/posts/new-compiler-176648791](https://www.patreon.com/csaba_hruska/posts/new-compiler-176648791)\n\n- \n2ltt staging for MicroHs and Idris2\n- \nSerialized in-memory data representation\n- \nExternal STG Interpreter in Idris2 running Haskell programs\n- \nNew compiler and RTS design (futamura projection)\n\nI’d be happy to hear any kind of feedback.\n\n \n11 Likes\n\n \nDid you (and Claude) do the 2ltt for MicroHs?  I noticed that it’s part of the miso repo.", "url": "https://wpnews.pro/news/grin-compiler-status-update-memory-layout-control-two-level-type-theory-based", "canonical_source": "https://discourse.haskell.org/t/grin-compiler-status-update-memory-layout-control-two-level-type-theory-based-staging-dependent-types-idris2-microhs/15224#post_2", "published_at": "2026-11-30 01:27:42+00:00", "updated_at": "2026-11-30 01:46:39.393487+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["GRIN", "Csaba Hruska", "MicroHs", "Idris2", "miso", "Claude"], "also_reported_by": [], "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.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/grin-compiler-status-update-memory-layout-control-two-level-type-theory-based", "markdown": "https://wpnews.pro/news/grin-compiler-status-update-memory-layout-control-two-level-type-theory-based.md", "text": "https://wpnews.pro/news/grin-compiler-status-update-memory-layout-control-two-level-type-theory-based.txt", "jsonld": "https://wpnews.pro/news/grin-compiler-status-update-memory-layout-control-two-level-type-theory-based.jsonld"}}