HW22: Chapter 21

31 Oct 2019

21.4. Explain why an object-oriented approach to software development may not be suitable for real-time systems

Objects require instantiation, eat up memory while they’re sitting there (potentially not being used), and because they are self-contained, may internally contain duplicate code or features. All of these traits lead to bloat; bloat interferes with speed/efficiency, and speed is essential to a real-time application.

For all these reasons, object-oriented is not a good real-time approach