Y
Hacker News
new
|
ask
|
show
|
jobs
by
steveklabnik
3912 days ago
That might work for now, but something we're working on for the future is making borrows non-lexical, so....
1 comments
kibwen
3912 days ago
Borrows may be non-lexical in the future, but deallocation via ownership will always be at the end of a lexical scope. Not only would eager deallocation be bad for performance, it's also a backcompat hazard at this point.
link