Hacker News new | ask | show | jobs
by glimshe 44 days ago
Your acquaintances aren't changing their minds because the arguments are weak. Both the article and your comment assume that the only mode of interaction for natural language is a very high level description of programmer intent.

You can interact with AI and say "code me a calculator" or "now declare a array of booleans to map to each of the keys in the UI and set the corresponding array position to true when the key is pressed".

These commands are written in natural language at such different levels of abstraction that is hard to put them in the same bucket. It would be fair to call the latter an imperative language with the LLM in the role of a compiler. That's very similar to how I use AI.

4 comments

> Both the article and your comment assume that the only mode of interaction for natural language is a very high level description of programmer intent.

No, the article explicitly says that the difference is formal vs informal language.

> Programming remained the use of a formal symbolism and, as such, continued to require the care and accuracy required before.

One can define an operational semantics for (at least a subset of) the programming language (even for sloppy one, since they are still very small and restricted). One can prove the semantics preservation theorem formally, or reason somewhat in a similar way informally.

With natural language you kinda lose it, and we don't even touch the fact that models are probabilistic.

If AI is natural language programming then they already had it in 1978, because AI is in fact "asking a programmer to write code for you". And you can even ask them to do it at different levels of abstraction!
It's the same as "natural language bricklaying" where you make walls appear by speaking instructions to a brickie whom you're paying.
The magic sauce in intelligence is context-awareness. If a prompt is somewhat general ("make me a calculator") an AI should either ask questions, or make reasonable assumptions, or both.

IME LLMs often make reasonable assumptions, but sometimes they don't and you have to backtrack and say "No, what I meant was..."

When the process works it's almost magical because the LLM successfully anticipates your needs, and implements your request in a much fuller way than you might have done yourself.

When it doesn't it makes a mess you have to clean up.

But generally I've been impressed by how well the leading LLMs will Do The Thing from a brief description, interpolating useful and correct details without being told to.

Compilers don't work like that. They're translators, not (entry level) inventors with independent agency.

Some compilers can do that, but only in a very controlled way. For example Haskell's deriving or inference of the correct method called on typeclass. Or the Prolog/Datalog/SQL - they will also fill in many details on how to arrive at an answer.
>If AI is natural language programming then they already had it in 1978, because AI is in fact "asking a programmer to write code for you"

That would just be the "I" part, since was missing the A for artificial: you asked a naturally made person.

And yes, nobody argued that they didn't have I in 1978, so I'm not sure what the argument is supposed to prove.

> I'm not sure what the argument is supposed to prove.

I’m guessing it’s supposed to show that if you have to have arbitrary levels of intelligence to interpret natural language, then nothing’s changed between now and 1978 when considering whether “natural language programming” is a thing. Just because the intelligence is artificial now doesn’t really change the answer.

>Just because the intelligence is artificial now doesn’t really change the answer.

Not only it changes the aswer, it's literally the whole of the question. When people talked of the posibility or imposibility of “natural language programming” they *always* meant "natural language instructions which *a machine* translates to running code".

They didn't have to spell it out, since nobody doubted a human programmer can write code when given natural language instructions - that was already a thing since ENIAC, if not since Ada Lovelace.

That's what we have now, and that's what changed between now and 1978 when considering whether “natural language programming” is a thing.

These two statements are distinct:

- You can program in natural language

- You can tell an AI what to do in natural language, and it can gather requirements, sketch up a design, write code, search the web for error messages, and iterate on the program until it works.

For certain things people care about, they’re equivalent (I tell the computer what I want and out pops a program) but for certain other things, they’re absolutely not (natural language doesn’t map deterministically into machine instructions.)

When people talked about natural language programming decades ago, they were talking about a system that compiles natural language into machine code. They weren’t talking about a system that autonomously gathers requirements, decides what frameworks to use, searches the web to look up error messages, iterates on ideas, etc… these things are so different from “natural language maps to machine code” that I don’t think we’re going to have a useful discussion if you think “I tell the computer what I want” is the only aspect of this worth looking at.

>They were talking about a system that compiles natural language into machine code. They weren’t talking about a system that autonomously gathers requirements, decides what frameworks to use, searches the web to look up error messages, iterates on ideas, etc… these things are so different from “natural language maps to machine code” that I don’t think we’re going to have a useful discussion if you think “I tell the computer what I want” is the only aspect of this worth looking at.

This confuses two things still:

People wanting to have natural language to machine code via AI, just AI that was implemented the way they thought was achievable then (symbolic AI).

People wanting to have natural language style programming language, similar to later AppleScript or some 4GL languages.

Natural language programming, or natural language processing, as it was called, was tied to the first, and the AI research of the time, from the beginning:

https://en.wikipedia.org/wiki/Natural_language_processing

So, yeah, they didn't have LLMs, but they pretty much understood such a program or "compiler" would need to understand world facts and natural language to even work.

You misunderstood my comment - I meant that if instructing a programmer to program something is "natural language programming" (what AI agentic coding is), then they had "natural language programming" in 1978. I wasn't saying they had AI in 1978.
> AI is natural language programming then they already had it in 1978, because AI is in fact "asking a programmer to write code for you". And you can even ask them to do it at different levels of abstraction!

There are a few little differences between human beings and computers that you should know about.

For example, humans are sentient, have agency and can be held accountable.

So when you give humans a bad spec, you can still get what you want, because, with some luck, you're simply delegating the task of thinking and making choices to another human, who, by the very premise, understands the language you are communicating in, and can work out your intents with you.

The whole "this meeting could've been an email" thing, you know.

That meeting could've been a pull request if whoever needed a thing to be done could figure it out on their own.

LLMs can be helpful for figuring things out, sure.

But "sudo make me a sandwich" style of vibe coding is just removing the obstacles to enshrining ambiguities and bad decisions in code.

>But "sudo make me a sandwich" style of vibe coding is just removing the obstacles to enshrining ambiguities and bad decisions in code.

I'm of the opinion that if you think it will stay this way you haven't been paying attention. "sudo find me a security flaw" already embarrasses top security researchers who have been working on the same code for decades. "sudo decompile this program/firmware/game" is doing absolute wondrous things right now even if there are still some flaws. If it can do these things better / significantly faster than humans already, and if it keeps improving at the rate it has been "sudo make me an operating system" that spits out something actually pretty good is probably within a decade.

Your two examples are taking something that's already built, and are extracting a feature (security flaw) or translating (decompiling).

The Kolmogorov complexity, at best, remains unchanged.

"sudo make an OS" is a different kind of transformation.

It's as much programming as downloading an Ubuntu image, and you don't need to wait a decade to do that.

The latter is also very far from specifying a calculator. And based on what we see in the "Show HN" projects, also very far from what the average person process is of using AI for generating software.
>You can interact with AI and say "code me a calculator" or "now declare a array of booleans to map to each of the keys in the UI and set the corresponding array position to true when the key is pressed

And if the latter is guaranteed to be interpreted unambiguously...

...Congratulations!

You have invented a programming language!

But now, that requires 20x more typing and 1,000,000x more compute to compile to machine code.

Which is the point of the article.