Better HN
topnewbestaskshowjobs
Log inSign up

gulinss

4 karma · joined Sep 16, 2024 (2y ago) · 5 submissions

Submissions

1.

Show HN: I Ported GHC Haskell Compiler to Windows 11 ARM. MC Gift(gitlab.haskell.org ↗)

9 points · by gulinss · 1y ago · discuss

comment 2y ago · link · parent

Stay tuned! :) I continue my investigation at

1. https://gitlab.haskell.org/ghc/ghc/-/issues/24744 2. https://gitlab.haskell.org/ghc/ghc/-/issues/23479

comment 2y ago · link · parent

Exactly! STG, being a "graph reduction machine," inherently makes it easier to understand the relationships between parts of code by representing programs as graphs. Here, I simply reversely translated the generated graph from JavaScript and pushed it into a visual graphical form to make the analysis more intuitively accessible.

I suppose we could have a tool which does such graphical representation automatically for STG, generated from Haskell but I was need to measure its volume in JavaScript form. That's why I was needed to reconstruct it back from JavaScript.

4.

Show HN: Haskell GHC JavaScript Code Minification Report(blog.haskell.org ↗)

7 points · by gulinss · 2y ago · 5 comments