|
|
|
|
|
by klibertp
3543 days ago
|
|
What about Nim[1]? It provides nearly everything you mention and covers the "finally" case with `defer`. Worth looking at - I re-implemented suckless' slock in Nim[2][3] and it was very pleasant experience. [1] http://nim-lang.org/
[2] https://klibert.pl/posts/slock_in_nim.html
[3] https://github.com/piotrklibert/nimlock
|
|