← Back to context

Comment by keyle

16 hours ago

That made me smile

     If I find myself needing a bunch of dynamic memory allocations and lifetime management, I will simply start using another language–usually rust or C#.

Now that is some C habit for the modern day... But huh, not C.

My go to language for that is lua. I'm starting to think of it as a C framework more so than its own language.

I started doing that in 1993 on MS-DOS already, thanks to C++ RAII, C felt outdated already on those days.

  • Arguably, 1993's C has survived better than 1993's C++.

    • Well in 33 years it has learnt nothing about memory safe programming, at least C++ provides the tooling for those that care, before even goverments decided to act upon it.