Unofficial Hacker News client - receive Push Notifications on replies.

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

438 points by DrDeadCrash 13 hours ago | rtfeldman.com | 115 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (1)

  1. While I agree that LLMs can point you in the right direction of topics for something like a compiler's architecture, I think that this is extremely optimistic. I say this as I tried to do the same thing to see how well it would work (and I've been programming for almost 20 years now), and I quickly remembered why we have compiler courses.

    The breadth of topics and how much they interplay is a lot more complicated than your typical software, and there's hundreds of small decisions you have to make along the way which you can only really understand how to design/steer if you understand the whole pipeline.

    Your type system affects your syntax, and your syntax affects the complexity of types you can represent ergonomically, and your type system affects your runtime memory model and lowering, and so on and so on.

    If you're willing to just let the LLM do all of the work and only judge it from the outside (observational correctness, but otherwise a black box), then sure, maybe you can get something. But I think that's:

    1. going to lead to holes in your language design that you don't understand how to fix.

    2. robbing you of the opportunity to learn. Learning design via one of the harder problems that exists, and also learning how to learn. You're forced to organize your approach to understanding the topics in a way that you can't just bruteforce components out of order and piecemeal unless you have an insane capacity to memorize things.