Friday, 16 April 2021

OOP without the heap

Safety critical software standards forbid dynamic memory however OOP is desirable when designing an embedded system. OOP can be used without dynamic memory by preallocating space for the objects at a suitable location and creating references to them. References are mandatory for OOP however the heap can be avoided.

No comments:

Post a comment

Modern day Record Handling with C++

Record Handling analysis Record Handling by C.A.R Hoare introduced the notion of objects as records. Key features Garbage collection t...