Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
skybrian
2y ago
0 comments
Save
Share
It seems like a language could support both. That is, a type could either be automatically droppable or not.
0 comments
2 comments · 1 top-level
top
newest
oldest
dgreensp
2y ago
· 1 in thread
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).
_dain_
2y ago
You might want finer-grained control over when deallocation happens.
j
/
k
navigate · click thread line to collapse