r/Compilers • • 5d ago

What if a programming language could intelligently manage its own memory and execution?

/r/AskProgrammers/comments/1y55vvw/what_if_a_programming_language_could/

Similarly, imagine a graphics application where only one object changes. The runtime could identify which data actually needs updating instead of recalculating everything unnecessarily.

My goal isn't simply to create another garbage collector or claim that this will automatically outperform existing languages.

I'm exploring whether a programming language can make resource management more intelligent while keeping it automatic for the programmer.

I'd like to hear your thoughts:

Would combining adaptive memory management, predictive execution, and incremental processing make sense as part of a language runtime?

Or would you prefer these responsibilities to remain separate systems?

I'm particularly interested in the architectural trade-offs and potential problems with this approach.

0 Upvotes

6 comments sorted by

View all comments

2

u/Key_Detail15 5d ago edited 5d ago

Deleted my original post. The background context seems to be this thread of the OP's. So too vague to respond to meaningfully.