Unofficial Hacker News client - receive Push Notifications on replies.

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

424 points by DrDeadCrash 11 hours ago | rtfeldman.com | 110 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (19)

  1. There is a special place in my heart for people who work on hard software tech such as programming languages. Especially in times of AI and slopification.
    Replies (2)
    1. In some ways it’s never been a better time to launch a new programming language. LLMs make adoption much more about developer preferences than familiarity. LLMs can help with the learning curve of new language paradigms. And they greatly de-risk the long term costs of picking the wrong language given their facility with rewriting.

      I think new languages have more freedom than ever to be bold and take risks. We are not nearly so confined by culture or technical debt as we used to be and freedom to experiment has probably never been better.

      Replies (3)
      1. Why would you care about which language you're using if you don't care to get familiar with it?
        Replies (2)
        1. What if you DO care but you couldn’t get the thumbs up from the team before because “what if we end up having to rewrite?”

          I’m saying the opportunity cost of trying new languages has never been lower.

        2. the language, and the ecosystem of tooling and packages, you choose for a project will have a massive influence on the outcome.

          all languages excel at something to the detriment of something else, no language can be good at everything.

          the language also defines the terms for which you can reason about a problem.

          even if you're not writing it, you're (hopefully) still reading it.

          There's a good reason we're not writing web servers in assembly or SQL.

          Replies (1)
          1. And this language has more mature tooling and a larger base of packages? And while I avoid LLMs unless I'm paid a shitload of money to deal with them, it's obvious none of my coworkers read their generated code; as LLMs get better, this obviously expands.
      2. LLMs make programming languages irrelevant, it is the dream of 4GLs finally becoming widespread.
        Replies (2)
        1. > A fourth-generation programming language (4GL) is a high-level, often domain-specific language that uses human-like syntax and focuses on what result to achieve rather than how to execute every step.
        2. I disagree. I speak my development and don't touch the keyboard for any programming tasks except maybe the up and down arrow keys.

          For me, there are 2 or 3 different levels to modeling what's going on. The first phase is the architecture; the second phase is the design, although some claim those two are merged. And then there's the modeling of the implementation, and that is driven by the programming language. Even though an LLM is generating all my code, I still read it; I still try to understand it so that when I debug it, I'm not going WTF quite as often.

          Replies (1)
          1. Ah, that is the early steps when joining an offshoring project, the early days to review each PR that gets in from the offshoring team, until a couple of months later down the line, as long as it fits the customer requirements, it is good enough.

            The only difference is that now the offshoring team is out of luck, replaced by gremlins in the box.

            Replies (1)
            1. You're probably right. It's attention fatigue. way too many moons ago, I was a dev on a project that required scanning a bunch of existing documents (close to a million pages, all for gov projects), and we needed a person to sit there and look at every single page to approve it. We found that within 10, 15 minutes, people's eyes glazed over, and they just hit accept.

              I'm sure the same thing will happen to me after a while, like about a half hour from now.

      3. 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.

    2. This is, by now, fully being written by AI. If you're not interested in slop, you may want to look elsewhere.
      Replies (1)
      1. I don’t think it’s useful to collapse all ai output to “slop” unless you’re trying to make an ideological statement. We’ve been working with these things long enough that we can identify shades of grey.

        It’s like calling clay pottery lumps of mud. Maybe technically accurate but you’ve lost the helpful nuance. Turns out people can shape and mold the slop into useful tools. At that point “slop” becomes less of a pejorative.

        Replies (1)
        1. It’s in the word. AI output has no provenance. It’s historically (I don’t know about the “self-improving” kind) a mashup of everything. But you can’t tell where any particular thing came from.

          You could have a “nuanced” analysis of what the output is like. But there is no analysis to be had of where it came from. Like a car wholly made from stolen parts where no part has any serial number.

          Replies (1)
          1. The codebase has plenty of provenance, it didn't come from nothing, and there are people behind it with a reputation. And what does it matter whether a particular line of code originated in a human mind or an artificial one? The measure of worth here is not on any line of code and where it came from, but what all the lines of code do as an aggregate, regardless of their origin. That absolutely has provenance here -- we can look at the 8 year history of this project, which of course predates mainstream agentic coding.
            Replies (1)
            1. > And what does it matter whether a particular line of code originated in a human mind or an artificial one?

              Pff.

              > That absolutely has provenance here -- we can look at the 8 year history of this project, which of course predates mainstream agentic coding.

              You would have to take that up with OP. The “slop” part, whether it started a week ago or a year ago, has no provenance.

              Continue this thread (2 replies) →