Hacker News new | ask | show | jobs
by vba616 984 days ago
Responding to you and not the submitter because I'm not sure what they mean either:

An AI that generates binaries directly is a compiler. Or a compiler/assembler/linker in one, whatever.

So it raises the question of what language humans should use to communicate with this compiler. What language does it compile?

If the language is some existing programming language, then how can the "AI" technology help much? Suppose it compiles C. The semantics of the existing language have to be maintained or it isn't C. So maybe AI can improve optimization by 0.0001%. Or do something really ridiculous based on the undefined behavior loophole. Who cares?

English (or Chinese or Norwegian) are not programming languages - they are too ambiguous.

Therefore it makes sense to me that a higher-level programming language than existing ones would be useful to talk to this hypothetical compiler - a language that gives the AI more freedom than the existing languages, but more precise than languages used by humans to talk to each other.

Maybe someone already has invented one, but probably the last word hasn't been written on the subject yet.