Escape Analysis & Owner Escape Analysis
jmh530
john.michael.hall at gmail.com
Wed Sep 4 15:26:19 UTC 2024
On Wednesday, 4 September 2024 at 10:24:51 UTC, Dennis wrote:
> [snip]
> Walter has stated that he's not looking for a complete lifetime
> tracking solution for all possible situations, just something
> simple and pragmatic to cover common cases. In the [DIP1000
> woes
> thread](https://forum.dlang.org/post/xvzzmgwibbjhuvmnhrgi@forum.dlang.org), the only multiple output-related issue is with `swap`. This DIP's syntax is overkill to solve just that problem. It would help if there were examples of actual code that really needs to use @escape(parametername).
Walter has stated that in the past, but it shouldn't necessarily
mean we should put ourselves in a straitjacket if another
solution is better (not saying this one is). I think the
interpolation changes are apropos. The difference is that more
people can understand positives and negatives with competing
interpolation designs vs. competing lifetime analysis designs.
More information about the dip.ideas
mailing list