Mastering Android NDK: High-Performance C++ Development is a practical, hands-on technical book written by Sergey Kosarevsky that teaches developers how to build portable, high-performance Android applications and games using C and C++. Published by Packt Publishing, the book is designed for intermediate to advanced mobile developers who want to bypass the Java/Kotlin runtime for execution-heavy tasks and access low-level system resources directly. Key Concepts Covered
The book utilizes a step-by-step approach to build a fully functional mobile game entirely in C++, exploring the following core infrastructure areas:
Cross-Platform Portability: Setting up development environments and compiler toolchains (like Clang) to build and debug native code right from a desktop machine.
Multithreaded Systems: Creating portable, native thread primitives, task queues, and handling concurrent code for low-latency operations.
Native Rendering: Building a custom 2D/3D graphics and rendering engine using OpenGL ES 3.
Audio Streaming: Establishing a cross-platform audio framework using OpenAL to stream sounds and handle music instrumentation.
Networking & File Systems: Writing native HTTP networking modules and managing a virtual file system to extract assets directly from APK archives.
Game Mechanics: Implementing complex logic, steering algorithms (like Boids flocking simulations), and custom UI text rendering using FreeType. Book Technical Specifications Author Sergey Kosarevsky Publisher Packt Publishing Print Length Target Language C++ (with basics of C++11 and up) Core Libraries Used OpenGL ES 3, OpenAL, FreeType, SDL2 Who Is This Book For?
This guide is highly recommended if you fit the following profile:
C++ Developers: Programmers looking to transition their existing desktop C++ skills into mobile development.
Game Engine Engineers: Developers eager to understand how to bypass the standard Android SDK layer to minimize frame drops and reduce audio/video latency.
Legacy Library Integration: Engineering teams that need to wrap pre-existing, heavy-computation C++ libraries so they function smoothly inside Android apps.
Prerequisites: Readers should already understand core object-oriented programming, basic pointer manipulation, multi-threading concepts, and the fundamentals of modern C++.
Mastering Android NDK eBook – Sergey Kosarevsky – Amazon.com
Leave a Reply