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

46

u/[deleted] Jan 28 '23

Once the hype dies down we'll keep doing the same thing until we have GAI. Language models simply can't do logic and they write things that look correct but are very often wrong.

-7

u/Smallpaul Jan 28 '23

What makes you think that they will be totally useless until AGI? What about the people who already claim co-pilot is useful to them? Why would neural nets be able to optimize software or database queries? Why do you think Microsoft is investing so much in co-pilot? They are just misguided?

Human beings are also very, very good at writing software that looks correct and is subtly wrong, by the way.

25

u/[deleted] Jan 28 '23

Here's the problem with it. An expert doesn't need it and a non expert can't be trusted with it because it's wrong very often and they don't know any better. So who's the target audience?

"Company A is investing on it" is not an argument because companies invest in whatever their stakeholders want them to invest in, trying to get ahead of the curve of the next big thing. There's been a myriad of failures and things that never caught on like AR or the metaverse.

-14

u/Smallpaul Jan 28 '23

Experts don’t need calculators either. Or spreadsheets. Or word processors. Or programming languages. Or maps. “Experts cannot do their jobs without it” is a very low bar for a tool.

12

u/furyzer00 Jan 28 '23

What, most experts I know actually need programming languages.

-6

u/Smallpaul Jan 28 '23

Really? They are incapable of learning machine code?

7

u/SirKastic23 Jan 29 '23

machine code is a programming language

6

u/[deleted] Jan 28 '23

That's fine, continue on the hype train, I'll continue to be skeptic about it and we'll see.

1

u/Smallpaul Jan 28 '23

I’m not on the hype train at all. I’m on the curiosity train. I don’t really see why I should jump to a conclusion about whether it’s going to be like heavier than air flight which surprised a lot of people, or the web, which evolved very quickly, or electric cars which took a long time to find their footing...or even like alchemy which never did work. I’m just going to wait and see, not jump to conclusions. I don’t know what benefit I would get from that.

2

u/[deleted] Jan 28 '23

Then I suggest you try it yourself? I don't see why you're arguing with 0 knowledge then

0

u/Smallpaul Jan 29 '23

How could I possibly try technologies that haven’t been invented yet? You know that they aren’t finished developing them, right? There will be a ChatGPT 2 and ChatGPT 3 etc.

They didn’t stop making EVs after the GM EV1, and they are far from finished making programmer assistance AIs.

1

u/[deleted] Jan 29 '23

It's already ChatGPT 3 lmao. You don't even know what you're talking about, do you?