{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreib4bwsqn6vw63yquo6tjyc54htmhbvjkzeem2rqcxdt77jmmryony",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mpjecm55ilv2"
},
"path": "/t/low-level-haskell-the-cursed-way-to-emulate-inline-assembly-in-haskell-ghc/14333#post_1",
"publishedAt": "2026-06-30T13:52:55.000Z",
"site": "https://discourse.haskell.org",
"tags": [
"minoki.github.io",
"Low-level Haskell: The cursed way to emulate inline assembly in Haskell/GHC,..."
],
"textContent": "Ever wondered if something like inline assembly were possible in Haskell? Want to return multiple values from foreign code? Here’s an article experimenting with `foreign import prim`. It was originally written in Japanese several years ago, but I thought it might be interesting to the global community, so I revised and translated it. I hope you enjoy this article!\n\nminoki.github.io\n\n### Low-level Haskell: The cursed way to emulate inline assembly in Haskell/GHC,...",
"title": "Low-level Haskell: The cursed way to emulate inline assembly in Haskell/GHC,"
}