Y
Hacker News
new
|
ask
|
show
|
jobs
by
skybrian
905 days ago
It seems like a language could support both. That is, a type could either be automatically droppable or not.
1 comments
dgreensp
905 days ago
Yes, this. The notable thing in Austral is not that linear types are used somewhere, it’s that it’s all linear, even when destruction is just deallocation and could easily be done by the compiler (even in the presence of exceptions).
link
_dain_
905 days ago
You might want finer-grained control over when deallocation happens.
link