Unofficial Hacker News companion — get notified on comment replies, and more.

Roc version 0.1.0, eight years in the making (opens external site)

485 points by DrDeadCrash 3 days ago | rtfeldman.com | 134 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. > 275.4M roc

    The `roc` binary size is almost all LLVM (and a bit of LLD on top of that). The actual Roc-specific logic is a very small fraction of the binary's contents. (You can see this by going to roc-lang.org and looking at the compiler we use in there for the in-browser repl; it doesn't bundle LLVM or LLD and it's otherwise the entire compiler, and last time I checked it weighed in at about 5mb of wasm uncompressed.)

    We plan to replace both LLVM and LLD with smaller alternatives, but we don't want to sacrifice performance of optimized Roc code, so the transition won't be quick.