An unofficial, read-only Hacker News reader.

Smart people who give a shit use tools (opens external site)

426 points by matthewsinclair 4 days ago | www.iankduncan.com | 322 comments on HN

View full thread · View on Hacker News

Comment thread (3)

  1. Here's the problem - you're talking about language, but it's the compiler, not the language, that has the property I'm talking about. LLM doesn't need to know English or any human language. It can be 100% trained entirely on programming languages with strictly defined semantics. You can have LLM that is only capable of understanding C and only produces valid LLVM IR. Every input will have known, verifiable semantics. Every output will have known, verifiable semantics. There would be zero question about the meaning of the input or the output, and everything will be according to every applicable spec. And yet, this LLM would produce bytecode that is only loosely based on the source code and only preserves the intent in very broad strokes - as opposed to a compiler that, despite producing something completely different in every way from the source, is guaranteed to perform all the same computations.

    What do you call this difference between a compiler and an AI, when both speak the same (programming) language?

    Replies (1)
    1. If that ever happens, I'll care. It won't, because no one is going to pay per-compilation of a language that can be compiled by a faster and cheaper local system.

      LLMs are only used for cases traditional compilers can't do. I don't consider a what a system does to be different from what it is.

      Replies (1)
      1. Yes, the example is purely hypothetical - but the property is very real, and ascribing it to language (lack of) semantics is at least a category error. You can't say it's okay to be wrong just because a counterexample is yet to be implemented. That's not how science works. Especially theoretical science like CS.