3 ms·
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–usua
by keyle 9mo 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.
- pjmlp 9mo agoI started doing that in 1993 on MS-DOS already, thanks to C++ RAII, C felt outdated already on those days.
- procaryote 9mo agoArguably, 1993's C has survived better than 1993's C++.
- pjmlp 9mo agoWell 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.
- krapp 9mo agoMy go to language for that is lua. I'm starting to think of it as a C framework more so than its own language.