Skip to main content

Improve Performance with Native C/C++

  • Chapter
Pro iOS Apps Performance Optimization
  • 527 Accesses

Abstract

In this chapter, you will learn about:

  • The benefits and costs to integrating C/C++ code into your iPhone application.

  • Basic concepts in C programming

    • Data types

    • Pointer

    • Memory management

  • Basic concepts in C++ programming

    • Class

    • Memory management

    • Inheritance

    • Template

  • â–  How to work through a real example with SQLite, a database that has a C API.

  • How to integrate C++ and Objective-C++ into your iPhone application. In this chapter, you will learn about low-level programming with C/C++, which is important for high performance applications. It’s true that Objective-C is a superset of C and also a native programming language, but Objective-C adds a wrapper over the C language that reduces performance. If you have ever worked with games and animations, you know that using OpenGL with C/C++ provides much better 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 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.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.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Khang Vo

About this chapter

Cite this chapter

Vo, K. (2011). Improve Performance with Native C/C++. In: Pro iOS Apps Performance Optimization. Apress. https://doi.org/10.1007/978-1-4302-3718-1_9

Download citation

Publish with us

Policies and ethics