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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-3718-1_9
Publisher Name: Apress
Print ISBN: 978-1-4302-3717-4
Online ISBN: 978-1-4302-3718-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)