Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lmm
· 11y ago · 0 comments
A good language should have the generic features necessary to do that kind of resource management without needing macros. See e.g.
https://github.com/jsuereth/scala-arm
- and note that it's all just ordinary code.
Comments
[–]
ICWiener
11y ago
Macros are not needed. You only need the UNWIND-PROTECT special operator, which is the generic feature you are looking for.