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

So, I rewrote my game in C3 (opens external site)

159 points by lerno 5 days ago | www.madrigalgames.com | 46 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. And then you want to have incremental compilation, how? There's a reason why separate compilation was a thing.

    Furthermore, I believe the assumptions are built hard into LLVM.

    But I mean it's not even a problem. Even if you build everything monolithic (and we can debate the downsides of that), you can still create "virtual" modules in order to parallelize codegen. It's an extremely obvious win and it's dead simple. I'd be surprised if Zig doesn't do that. It's literally the first idea that would come to mind for speeding up "single compilation unit" languages.