Re:Building a Cloud Database from Scratch: Why We Moved from...
by pjmlp on Saturday May 28, 2022 @04:39AM
(#31538674)
It is incredible how even something basic like new, which most C predecessors already had, isn't never going to be part of it, manually calculating heap allocations for 50 years.
Re:Building a Cloud Database from Scratch: Why We Moved from...
by jstimpfle on Monday May 30, 2022 @10:43AM
(#31559515)
Maybe you haven't caught up with C best practices. I like C programming and I rarely do malloc()/free().
Re:Building a Cloud Database from Scratch: Why We Moved from...
by pjmlp on Monday May 30, 2022 @05:43PM
(#31563950)
I have, oh boy do I have, on those code bases where we do pentesting or apply SecDevOps security assessment tooling.
CVE database is updated almost every week on those "best" practices.
Re:Building a Cloud Database from Scratch: Why We Moved from...
by jstimpfle on Tuesday May 31, 2022 @03:54AM
(#31567069)
In other words, you're saying that good practices aren't followed widely even though better practices might be available in some of the situations you are seeing? Which would be a fair point, I only don't like the way you walk around what I said.
As far as I'm concerned, it's automatic memory management (with lots of control). There's also the other end of the automatic memory management spectrum, garbage collection.