r/ProgrammingLanguages • u/jimbobmcgoo • Jul 23 '26
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
61
Upvotes
View all comments
Show parent comment
4
u/matthieum Jul 23 '26
I mean, sessions types can be implemented anytime you have linear types...
... and with a proof of work token you can even implement them anytime you have affine types.
Having them first-class could be convenient, but it wouldn't enable anything particularly new.