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

3

u/L8_4_Dinner (Ⓧ Ecstasy/XVM) Jul 23 '26

I was thinking about a round object that you could mount vehicles on top of so they could "roll" over the ground. I'd call it a RoundRoller (tm).

2

u/Inconstant_Moo 🧿 Pipefish Jul 24 '26

That is inefficient. Clearly they should be hexagonal to optimize storage when not in use. (After all, most wheels spend most of their lifetime not in use, and we should design them for the most usual case and not for corner-cases.)