Skip to main content

Abstraction and the C++ Machine Model

  • Conference paper
Embedded Software and Systems (ICESS 2004)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3605))

Included in the following conference series:

Abstract

C++ was designed to be a systems programming language and has been used for embedded systems programming and other resource-constrained types of programming since the earliest days. This paper will briefly discuss how C++’s basic model of computation and data supports time and space performance, hardware access, and predictability. If that was all we wanted, we could write assembler or C, so I show how these basic features interact with abstraction mechanisms (such as classes, inheritance, and templates) to control system complexity and improve correctness while retaining the desired predictability and performance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abrahams, D., Gurtovoy, A.: C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond. Addison Wesley, Reading (2005), ISBN 0-321- 22725-5

    Google Scholar 

  2. http://www.boost.org

  3. Gibbs, M., Stroustrup, B.: Fast Dynamic Casting. In: Software- Practice&Experience. Wiley, Chichester (2005) (to appear)

    Google Scholar 

  4. Hansen, M.: C++ I embedded systemer. Elektronik 04. Odense Congress Center. And personal communication (September 2004)

    Google Scholar 

  5. O’Riordan, M.J.: C++ For Embedded Systems. And personal communications

    Google Scholar 

  6. The C++ Standard (ISO/IEC 14882:2002). Wiley, Chichester (2003), ISBN 0 470 84674-7

    Google Scholar 

  7. Technical Report on C++ Performance. ISO.IEC PDTR 18015, http://www.research.att.com/~bs/performanceTR.pdf

  8. Stroustrup, B.: The Design and Evolution of C++. Addison Wesley, Reading (1994), ISBN 0- 201-54330-3

    Google Scholar 

  9. Stroustrup, B.: Learning standard C++ as a new language. C/C++ Users Journal (May 1999)

    Google Scholar 

  10. Stroustrup, B.: The C++ Programming Language. Addison Wesley, Reading (2000), ISBN 0- 201-70073-5

    Google Scholar 

  11. Stroustrup, B.: C and C++: Siblings, C and C++: A Case for Compatibility, C and C++: Case Studies in Compatibility. The C/C++

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Stroustrup, B. (2005). Abstraction and the C++ Machine Model. In: Wu, Z., Chen, C., Guo, M., Bu, J. (eds) Embedded Software and Systems. ICESS 2004. Lecture Notes in Computer Science, vol 3605. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11535409_1

Download citation

  • DOI: https://doi.org/10.1007/11535409_1

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-28128-3

  • Online ISBN: 978-3-540-31823-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics