cs.PL cs.PL

3 articles

articles

cs.PL2011-09-053 minarXiv:1109.0786
Properties as a Compass: Precise Programming
Fog thickens over the line "def max(a: Int, b: Int): Int". What does it do? It returns the larger of two numbers, but how can you verify that? You could write a dozen tests with specific pairs: max(2,3)=3, max(5,5)=5, max(-1,0)=0. Still, a nagging doubt remains: what if it breaks for, say, a million and minus a million?
cs.PL2026-06-072 minarXiv:2606.09930
Compile Once, Differentiate Everywhere
Imagine an interpreter sitting in a meeting room, translating every word. But then they notice their translation could improve if they learned from their mistakes. They start noting which phrases caused confusion and adjust them. Within an hour, their translation is more accurate and the meeting runs smoother.
cs.PL2026-07-013 minarXiv:2607.00563
Code Customs: How to Ensure Foolproof Optimization of Kids' Programs
A child builds a simple game in Scratch: a character appears in the center and instantly jumps to a corner. The first move happens between frames — no one sees it. Removing that command is safe. But how does an automatic optimization optimizer know that? Today, the Scratch repository holds tens of millions of projects written by young authors.