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

1

u/mamcx Jul 24 '26

Well, yes in theory, the problem is that looks ad hoc to me, and is insane that for example, you compile something in Rust and then you are left with 20 GB of artifacts on disk (or much more!) that is part of the machinery for that "many passes".

This is absurd, not match the size of the input. A RDBMS is not that wasteful and in part is because how do the engine is know and you can pull lots of good info about what to do and how, instead of rely on intuition.

I think that is what is missing.