r/ProgrammingLanguages • • Jul 02 '26

Programming Language Design and Implementation in the Era of Machine Learning - PLDI 2026 Keynote

https://www.youtube.com/watch?v=Fc3cW0nqAQ0
22 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/oa74 Jul 06 '26

The language in which the program is written in. One must understand it in order to understand a theorem about an expression written in it. In order to know a theorem like "program P satisfies spec X" even means anything, it does not suffice to understand X; one must also understand P. So sacrificing human readability of the langauge P is written in on the altar of "LLM optimization," I contend, is ill-advised. You can say "I do not care how you do it," but there is a reason that, AI or no, prover kernels strive to be a minimal as possible: trust in a prover kernel relies on our ability to read the coee and understand it.

2

u/corisian Jul 06 '26

I think I did not quite manage to express myself well. (Also for transparency, I also don't think it's good to optimize a language for an llm rather than human readability)

I agree with you, that if one does not understand the source language I cannot make sense of statements/specs/proofs that involve expressions of this language.

I think a worthwhile consideration, is assembly, which is also not designed for humans to read, yet I can write Code in C (which may be nicer to read) and use a verified compiler (like CompCert) to translate it to assembly preserving any property I think I understood or have proven about my C code. Similarly, if one has some kind of verified FFI, i could link with code that I don't trust (e.g. because I am unable to make sense of the language it is written in) as long as it is satisfies a specification in about things in my own language