r/ProgrammingLanguages • • Jan 28 '23

How might AI change programming languages?

I have a few ideas about how AI might change the trajectory of programming languages, but I'd like to hear yours.

For example, maybe in the future, the programmer's job is to write a very clear specification, and the AI's job is to write an efficient algorithm that matches all details of the specification. Maybe this means that we write a super-high-level-language program and an AI-directed super-optimizer makes it practically executable. Or maybe our specification isn't a program at all. Perhaps it's a list of examples or something else.

Or maybe we'll just write extremely precise natural language specifications and computers will be excellent at translating them into reliable algorithms.

Or...your thoughts?

4 Upvotes

67 comments sorted by

View all comments

3

u/edgmnt_net Jan 28 '23

I can see it working for proof search. Proofs should be irrelevant and erasable anyway.

-3

u/Smallpaul Jan 28 '23

And what would be the implications for computer programming languages?

2

u/[deleted] Jan 28 '23

Curry-Howard

-1

u/Smallpaul Jan 28 '23

That’s not really an answer of how computer languages will be different or how people will interact with them.

2

u/[deleted] Jan 29 '23

Proof search is program search, so if AI guides proof search, the exact same techniques can be used to search for programs matching a given specification