> Rust: Drop runs automatically at scope end, so this specific bug simply doesn’t exist.That's why having no auto-destructors is a dead-end. This is the greatest mistake of such languages like Zig or Odin.
I doubt that. I mean I'm sure it can catch some cases, but if it worked reliably it would just be a language feature.
Maybe the authors just don't want to do it?Anyways: its possible, I am building it as a very side project.github.com/ityonemo/clr
Panzerschrek · · focus · HN ↗
That's why having no auto-destructors is a dead-end. This is the greatest mistake of such languages like Zig or Odin.
dnautics · · focus · HN ↗
IshKebab · · focus · HN ↗
dnautics · · focus · HN ↗
Anyways: its possible, I am building it as a very side project.
github.com/ityonemo/clr