r/ProgrammingLanguages • • 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

127 comments sorted by

View all comments

Show parent comment

8

u/sineiraetstudio Jul 23 '26

I don't know what you mean by desugaring. Refinement types can be formulated very simply (almost trivially so) in dependent types and any type errors will be totally normal. The motivation for something more restricted like Liquid Haskell is that dependent types are too strong, so automation is way harder.