r/ProgrammingLanguages • • Oct 16 '26

Martin Odersky – Keynote: The End of Programming? #ScalaDays

https://www.youtube.com/watch?v=jlJyuJhDnlc
26 Upvotes

27 comments sorted by

14

u/adam-dabrowski Oct 16 '26

Coding agents are fundamentally upsetting our routines and expectations about software development. Are we witnessing the end of (human) programming, where software construction will be exclusively the domain of agents?
Many claim so, but I would like to think otherwise. I believe it's essential that humans stay in the loop, even if large parts of a software system will be written and reviewed by agents.
To achieve this, we will likely need fundamental changes in programming languages and programming workflows. This talk will start the discussion about what kind of possible innovations could help.

15

u/suhcoR Oct 16 '26

There seems to be a general state of uncertainty. So far, I haven't heard any convincing predictions. Rather, it seems that all the combinatorially possible scenarios are simply being presented by all the experts who have weighed in on the matter.

2

u/Competitive_Ideal866 Oct 16 '26

I haven't heard any convincing predictions

With current LLM architectures, AI will remain as a great compiler front-end for noddy code but everything complicated (metaprogramming, concurrency etc.) or reliable will still need to be written by hand.

2

u/suhcoR Oct 16 '26

metaprogramming, concurrency

Well, for me the "acid test" would be migrating the Oberon system natively to a new board. I currently try to do so with the Olimex ESP32-P4-PC which has even hardware issues to get around: https://github.com/rochus-keller/oberonsystem3native/

2

u/Competitive_Ideal866 Oct 16 '26

For me it would be translating the 95-line pmint Maple program to any other language.

0

u/[deleted] Oct 16 '26

[removed] — view removed comment

3

u/Valuable_Leopard_799 Oct 17 '26

we are beyond compilers

And then you say agents use compilers...

1

u/[deleted] Oct 17 '26

[removed] — view removed comment

3

u/Valuable_Leopard_799 Oct 17 '26

You did

0

u/Competitive_Ideal866 Oct 17 '26

Right. In point of fact that has made PL design more interesting because you can design PLs for AIs.

0

u/[deleted] Oct 17 '26

[removed] — view removed comment

4

u/yorickpeterse Inko Oct 18 '26

What do you think a REPL is and how it runs code? Hint, it's in the name.

So no, you may not have explicitly said "agents use compilers" but "agents use REPLs" implies they use compilers because, well, you need to somehow compile that code into something you can actually run.

3

u/Valuable_Leopard_799 Oct 18 '26

The majority of Lisps are compiled using ...

16

u/Norphesius Oct 16 '26

Having now watched the talk, I roughly get what is being described, and it makes some sense in the context of using LLMs, but taking a step back it all feels kind of silly? 

The talk takes it as given that we're stuck with LLM code gen being the primary way code is made. He brings up all the potential issues with that (correctness, understanding, security), and then dismisses the simple solution of at least reading the code completely, opting to describe a whole system of effects and permissions few ecosystems can practically implement, which will likely be ignored by most programmers and almost certainly all "vibecoders".

Its like living in a house filled with black mold, and instead of trying to get rid of the mold or even wearing a mask, someone suggests constructing a series of space grade airlocks with filtration systems inside your house you can temporarily spend time in to not inhale as much mold. Like, even if we can't practically remove the problem right now, couldn't we just do the simpler thing that mostly works? Is the idea that reading code to understand it is beneath software engineers really that accepted?

9

u/initial-algebra Oct 17 '26

AI slop code aside, capability-based security is useful for third-party libraries, too. I'm sure you're not trying to review all of a library's code before using it, or every time you update it.

3

u/Norphesius Oct 17 '26

Oh absolutely. Regardless of LLMs, better tools for security are great, particularly with the rise in supply chain attacks. I just think framing them as the best solution for ensuring LLM quality & correctness while dismissing actually reading the code is silly.

2

u/RiceBroad4552 Oct 20 '26

Just ignore the marketing parts.

Management wants to buy "AI" currently so we now sell "AI", no matter what it actually is. Simple as that.

The whole thing is in fact the most advanced capability system ever integrated in a real programming language. If you don't like that "AI" sales pitch just take the actual facts and work from that.

But Scala really needs some PR which hits the C levels. The language is dire need, so it's actually very good if it can drive the hype a bit again.

7

u/yorickpeterse Inko Oct 18 '26

I think a lot of developers, especially those buying into AI heavily, live in a very particular bubble that doesn't seem to extend very far beyond Silicon Valley (or at least beyond the US startup/tech scene). Inside that bubble it seems inevitable that tomorrow we'll all have microchips in our brains that let us directly prompt Claude Code such that nobody ever has to manually write code again.

I suspect Martin falls in this category, seemingly incapable of taking a step back and pondering the question "What do the non-tech people think?" or even "What do the developers that actually like their job think?" and similar questions.

7

u/Norphesius Oct 18 '26

There's definitely a lot of devs in the "prompt maximalist" (for lack of a better term) bubble, but I don't think they need to be thinking about what laypeople or devs that like programming think. They just need to be using their brains, as professionals.

Its nice that Martin's reaction to a severely flaky, insecure system is to develop a complex, novel system to sandbox it appropriately, but the sensible thing as an engineer is simply don't. Don't let it download packages, don't let it submit PRs, don't give it CLI access, don't give it read/write access, don't give it network access. If you want to give it any of those things, sandbox it in a VM. If you're concerned about what its contributing to your codebase, read the code its generating. Its not that hard, and if it seems hard, its not because you haven't set up the perfect harness/skills.md, or need some fancy effects system, or should neglect to read the code, its because its just a shit tool.

Bending over backwards to accommodate bad tools is how we got javascript running on the backend. Experimentation with new ways of programming is good, but a quality developer knows when to stop turd polishing.

5

u/RiceBroad4552 Oct 20 '26

I suspect Martin falls in this category

What‽

Could it be that you know nothing about this person? And anyway, since when is a university in Lausanne, Switzerland part of the US startup/tech scene?

If there's one person who isn't chasing the next stupid hype it's Odersky. He does fundamental things, not hype things.

This here is just a silly sales pitch for silly management in case you didn't notice.

The innovation is actually integrating a full and extremely powerful capability system into a mainstream programming language. With that Scala is again 10 years ahead of the whole industry…

0

u/naequs Oct 16 '26 edited Oct 16 '26

haven't seen the talk yet, but my personal view is that type theory and provable programs will benefit greatly from AI and regular automation, like we see with mathematics currently. this will greatly reduce the surface and focus human involvement in key areas on one hand, while also shifting some of the volume away from the technical details into the domain knowledge interfacing side.

edit: phrased it wrong - in general programming will benefit from advances in automated proving which has its workload reduced by AI

6

u/Norphesius Oct 16 '26

Also haven't seen the talk yet, but I don't think LLMs are going to go as far with formal verification as some people think. For math, it takes a lot of effort (i.e. tokens) to generate a proof, but once you have the proof you're done. Its one question mapped to one answer, built from defined axioms, and you'll never need to revisit it after ensuring the proof proves the thing you wanted it to.

A sufficiently complex program has countless conflicting properties to prove for a ton of messy real world conditions, and even if you manage to get your program formally verified you have to redo the entire process when the requirements change. Even for really sophisticated type systems, in practice, it seems like the cost of the LLM spinning it's wheels trying to satisfy the type checker is just too high for most programs.

1

u/naequs Oct 16 '26 edited Oct 16 '26

you'll never need to revisit it after ensuring the proof proves the thing you wanted it to

so, exactly like a library?

A sufficiently complex program has countless conflicting properties to prove for a ton of messy real world conditions

you can verify reusable parts as is already done with e.g. cryptographic libraries

edit: see edit above i phrased it the wrong way round

4

u/Norphesius Oct 16 '26 edited Oct 19 '26

Libraries change all the time. You can maybe prove a version of a library, but if you ever need to extend it, optimize it, or port it you have to redo the entire proving process. For a mathematical proof you only need the truth value of the proposition, that part won't ever change.

You can definitely verify parts of code, particularly mathy bits like cryptography, as you said, but the rest is much harder. What does the proof for an html element being centered on all platforms look like? Even if we have AI grind away at that problem, and it can generate a proof, is that really worth it?

I do think trying to get more correct programs is good. We don't need to have full blown program verification, some better assurances and property tracking is well worth it on its own.

2

u/naequs Oct 16 '26

didnt mean to come off as snarky, i generally agree on your points (but i tend to think in my own domain - numerical/scientific and low level code)