SKC++: Dynamic Memory Classes
Following on from previous postings, here is a UML diagram showing two classes concerned with dynamic memory handling: Read more…
Following on from previous postings, here is a UML diagram showing two classes concerned with dynamic memory handling: Read more…
Today’s post is about the strategy of dynamic memory handling in SKC++.
Last time, I recommended a short slide presentation for perusal. I will not repeat here what that says, except to quote the last slide:
Preventing fragmentation
• Always use pools, never heaps
– Exception: memory which is never intended to be freed can be taken from a heap
• Override the global new() and delete() operators
• Consider per-class new() and delete() operators
– Quicker, as well as safer
In a nutshell, that is the strategy for SKC++. Read more…
I have been thinking about SKC++ for longer than I have been blogging about it and dynamic memory allocation should not have been my first topic. Before all else, I should have taken the trouble to explain SKC++ in more general terms. I’ll do it now… Read more…
Today, I am working on the dynamic allocation scheme for SKC++. It’s very simple (as everything is supposed to be in SKC++), so it won’t be long before I post again, reporting on progress.
In the meantime, if you’re wondering what’s wrong with using the standard new and delete mechanisms that come with C++ I urge you to have a look at my short slide presentation on the subject. The last two slides are particularly important.
Till soon…
Most of today’s RTOS offerings are too complicated. Here are some reasons why this is so:
Well, I’m bucking the trend by writing what I believe will be a simpler and better pre-emptive kernel Read more…
As you can gather, I have just started this blog, which is an extension of Software Integrity’s main website. I will be airing many topics here, but all in the field of Real Time and Embedded Software.
I hope you will find it interesting and I welcome your feedback on the articles I post here.