C Shim for `Defer` Statements: Can It Be Compiler Agnostic? (github.com) 2 points by sueszli 11mo ago ↗ HN
[–] sueszli 11mo ago ↗ Saw this HN post yesterday: https://news.ycombinator.com/item?id=45422717It sparked joy and some great discussions. I turned the idea into a tiny, compiler-agnostic header-only shim that provides defer-like semantics in C as a short-term workaround until the language (hopefully?) adds a defer statement - Yay! :)
1 comment
[ 8.4 ms ] story [ 30.1 ms ] threadIt sparked joy and some great discussions. I turned the idea into a tiny, compiler-agnostic header-only shim that provides defer-like semantics in C as a short-term workaround until the language (hopefully?) adds a defer statement - Yay! :)