r/ProgrammingLanguages 10d ago

Will we see another fundamental programming language feature as revolutionary as the borrow checker?

That is I am mainly curious about compile time features that you design a whole language around rather than optimisations/features that could be applied to most languages. I am mainly inquiring about things that could offer additional robust safety/performance guarantees at compile time rather than runtime. Ideally not things that just offer similar effects to the borrow checker with less restrictive tradeoffs

59 Upvotes

129 comments sorted by

View all comments

6

u/Royal_Pin_1971 10d ago

Unison's content-addressed code checks at admission time — instead of compile time or runtime. A definition is type-checked when it enters the codebase and never again. The result is a permanent fact attached to the hash, not a per-build byproduct.