Skip to content

the need for sink #775

Answered by kyouko-taiga
wtholliday asked this question in Q&A
Jul 19, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Indeed, all copies must be explicit in Val, including for "simple" data types like Int.

You can't infer transfer of ownership statically without an interpocedural analysis and doing it dynamically would incur prohibitive runtime costs.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@wtholliday
Comment options

@dabrahams
Comment options

Answer selected by wtholliday
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants