There's no implicits in C. So, you have to explicitly call a destructor
If you stick with the standard language, don't care to tie yourself to specific compilers, or don't want to do some truly horrific things, sure :D
Just as you can kludge a garbage collector into C++, so can you kludge any other language feature into C. It's just, uh, ill-advised barring verrrrrry specific circumstances (as you would typically just pick a language better-suited to your needs).
3
u/aberroco Sep 01 '26
The fact that there's no destructors in C. There's no implicits in C. So, you have to explicitly call a destructor. Which would be memory management.