Re:Linux kernel in-tree Rust support
by umanwizard on Saturday July 11, 2020 @11:07AM
(#23802704)
I was under the impression that RAII specifically (as opposed to manually calling malloc and free by hand) was an innovation of C++, but I could be wrong.
Ada and Object Pascal also have it.
Don't know, but the concept is very useful and has found its way into many languages, such as thr using statement in C#.
It is just that it is typically more useful/powerful in languages that lack a GC (doesn't necessarily need to be that way though, but my impression).
It is a low-level programming language after all. Not being explicit about memory would be a bad thing (it almost always is).