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

2

u/Valuable_Leopard_799 Jul 24 '26

On that note letting us put more things on stacks or stack-like bits of memory is also nice.

Ada for example is able to allocate dynamically sized arrays on a secondary stack which eliminates a lot of places you'd otherwise need to manage memory yourself and lets the compiler play around with it.