‹ BackHN Continuity

Thread

Evolving programming languages in the AI era

139 points · 99 comments · pjm331

  1. talon8635 · · focus · HN ↗
    I don’t know how stupid of a suggestion this is, but if no one is reading the code anymore (I do, but I hear many in much more elite shops than mine do not), then should we not just be using AI to write binary or machine code?
    1. pianopatrick · · focus · HN ↗
      I think that just like humans, AI will make logical mistakes at some rate linked to lines of code.

      Like I remember reading human studies that people make 1.5 - 5 errors per 100 loc.

      If AI works in a similar way then we should stick to higher level languages that minimize loc

      1. calvinmorrison · · focus · HN ↗
        > that minimize loc

        you can do a hell of a lot with a PERL one liner. What i'd recommend is extremely obvious languages like Golang

        1. imron · · focus · HN ↗
          What I'd recommend is languages that move entire classes of errors to compile time - like Rust.
          1. pianopatrick · · focus · HN ↗
            If you're going all the way down that route, you might use something like Ada or OCaml or Haskell. They can catch classes of errors at compile time that Rust does not cover.
            1. imron · · focus · HN ↗
              Definitely a reasonable thing to consider and this is the direction I would like to see programming languages evolve towards in the AI era.

              Move errors from runtime to compile time as much as possible.

              1. torudev · · focus · HN ↗

                [dead]

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.