r/cscareerquestions • • 2d ago

future of programming languages

it looks like developers don't understand their code base or understandably, the thousands of lines of code generated by AI, is there gonna be need to understanding programming languages? why don't AI companies develop an AI native programming languages that is easy readable and testable for AI to fulfill requirements, fix bugs and develop new features by simply having the PM leading it to the correct end product?

0 Upvotes

23 comments sorted by

20

u/Citrus2015 2d ago

why don't AI companies develop an AI native programming languages that is easy readable and testable for AI to fulfill requirements,

Ironically I think this might do worse than pre-existing languages simply because you wouldn't have a couple decades worth of training data for it

2

u/Altruistic-Cattle761 Software Engineer - Big N 2d ago

With verifiable languages like Lean, massive prior corpora are less important once you have enough seed data to teach the model basic syntax and library APIs. After that, the model can use the compiler as a dumb reward signal to grind until a proof passes.

In a post-Riemann world think we're going to see a lot of people trying to fit problem spaces into topologies that LLMs can handle in this way. There's no obvious reason code will continue to be written in ways that are optimized for humans.

2

u/Citrus2015 2d ago

what would the benefits be from business perspective of using Lean? less Token costs?

2

u/Altruistic-Cattle761 Software Engineer - Big N 2d ago edited 2d ago

Things that are deterministically verifiable and against which you can write proofs empower hands-off human free loops to do very deep dives. This is basically the flow that is enabling large language models to crack all these Millennium Prize Problems right now.

The biggest problem with large language model usage now, even in the domain of software development, is how much human babysitting it needs to provide advice and input. Being able to define software objectives in terms of proofs makes it so that large language models can be set at the task without really any human oversight, which is kind of where the puck is going right now.

2

u/Citrus2015 2d ago

what's the process by which you translate business requirements into proof contracts? it seems to me like you would still need human to verify that LLM understood your business requirements correctly.

2

u/TimMensch Senior Software Engineer/Architect 2d ago

This is the key.

Something needs to be optimized for humans in order for humans to validate the result.

Funny enough, existing programming languages are already optimized for humans. Fancy that.

If you optimize a language for AI, then you need to trust what the AI says it will accomplish. If you're trusting what the AI claims about the code, you can again just continue using existing languages.

Maybe static typed languages so there are fewer preventable gaps in logic. Maybe even more Rust because of its guarantees. Not sure what the proofs grant you if you need to trust the AI interpretation of what is being proven though.

1

u/happy_csgo Freshman 2d ago

hey claude what does this mean. can you explain in AI slopmonkey terms so i can understand

1

u/Wonderful-Habit-139 2d ago

Exactly. People that have these kinds of ideas probably think AI is some actual magic entity that can think lol.

0

u/The_G_Choc_Ice 2d ago

This. I keep seeing people saying stuff like what op said and it really makes me feel like nobody understands how LLMS work, even within tech. So many people think of them as magic computer brains. No LLMS will not be better at writing code in a brand new language that has no millions of forum posts, youtube videos, and pages of documentation to provide the necessary context. If anything AI is more likely to kill the concept of new programming languages.

4

u/No-Pattern-9266 2d ago edited 2d ago

most codebases have reached point of no return and ai only reviews, i don’t see any point in looking at stream of code, scalable formal verification or rigorous automated testing might solve this with more visual feedback while building, we might go back to scratch 🤡

3

u/chimneyart 2d ago

I was literally telling my boss this the other day

2

u/NICEMENTALHEALTHPAL Software Engineer 2d ago

We already see a move toward AI friendly libraries.

Stuff like Effect to strengthen typing, framework agnostic stuff, typed languages in general.

It wont matter what language you use

3

u/Dj0ntyb01 2d ago

it looks like developers don't understand their code base or understandably, the thousands of lines of code generated by Al

Neither my company nor any of the companies my friends work for are operating this way.

1

u/JDIPrime 2d ago

Yeah, this is like internet mythology. Most companies still have teams to fully review and understand the code that is being released. I think there is some bias on the internet towards discussing "vibe coding" with little or no oversight, but in practice its not nearly as common as someone might believe.

1

u/Affectionate_Air5405 2d ago

I think it's more because it is common in giant faang mega corps. People just forget that's not all the software that exists in the world.

1

u/Wh00ster 2d ago

I think there’s just a lot of different paths people are choosing. The key is you need enough infrastructure and guard rails to let the system iterate safely upon itself, and most small companies or start ups simply don’t have the budget or resources to front load that. If you ignore that and still YOLO then you wind up in the bad path and horror stories you read about vibe coded slop taking down prod.

2

u/Affectionate_Air5405 2d ago

O no I can tell you from experience of at least oracle is it has been mandated from on high with no guardrails and it is going horribly. Code written by ai reviewed by ai and tested by ai is getting shipped with basically no human oversight. Let's just say there are going to be a lot of regressions found and enshitification is going to ramp up to crazy levels.

1

u/Altruistic-Cattle761 Software Engineer - Big N 2d ago edited 2d ago

> Yeah, this is like internet mythology. 

It's not.

Or, I suspect it strongly depends on what company you work for, and how well resourced is your dev infrastructure orgs and teams to build the right guard rails and observability and reliability monitoring for this.

In basically all the name-brand tech companies you see in the news, reviewers are almost entirely now reviewing the output of AI code review agents, rather than the code itself. There is still a light human review involved, but it's not like it used to be, and those days aren't coming back. I had a colleague ship over 100 material PRs last month. It would probably have taken their team the entire month reviewing full time to do it the old way.

I work at a non-FAANG company and we have close to 200 people working in developer productivity. Not all of them are working specifically on making code review go away, but a substantial number are, and *all* of them are working in service of the goal of making it so that writing code and reviewing code requires less human intervention (and is still as safe as doing things the old way).

2

u/unconceivables 2d ago

I think it's inevitable that this is coming. Most languages today will have no reason to exist except for legacy purposes.

2

u/Altruistic-Cattle761 Software Engineer - Big N 2d ago

Languages like Lean that are optimized for LLMs will come to dominate. The major players haven't done this yet because their major customer use case rn is "something that works great with the code we already have".

Programming languages have largely evolved to be comprehensible to human beings, but the days of human beings being the primary authors and auditors of code are numbered.

2

u/Citrus2015 2d ago

it would be interesting: it's effectively turning high level langs into equivalent of binaries

1

u/Wonderful-Habit-139 2d ago

> Languages like Lean

There's still the challenge of whether you're able to specify the things that you need. And from seeing languages like Bend, it seems that there's not much benefit from doing that since you basically still end up programming, and you might end up having humans that still generate the statements that need to be proved as well.

Improving type systems to become more and more ergonomic and more powerful is definitely the right direction though.

1

u/OkFarmer3779 2d ago

as a student i already notice the readable part matters most for the human who has to review and debug it. languages are mostly for us, so id guess they stick around even if ai writes most of the code