
C++ Software Interoperability for Windows Programmers: Connecting to C#, R, and Python Clients
Adam Gladstone
Résumé
This book addresses a fundamental question in software design: given an existing C++ codebase, how does one go about connecting that codebase to clients written in C#, R, and Python? How is the C++ functionality exposed to these clients? One answer may be to rewrite the existing codebase in the target language. This is rarely, if ever, feasible and this book's goal is to save you the pain and the high cost of throwing out valuable existing code by showing you how to make that older code function alongside and with the more modern languages that are commonly in use today. The knowledge you will gain from reading this book will help you broaden your architectural choices and take advantage of the growing amount of talent around newer languages.
What You Will Learn
- Build components that connect C++ to other languages
- Translate between the C++ type system and the type systems of C#, R, and Python
- Write a managed assembly targeting the .NET framework
- Create C++ packages for use in R/Studio
- Develop Python modules based on high-performance C++ code
- Overcome the difficulties and pitfalls involved in cross-language development
Who This Book Is For
Software developers who are looking for ways to extend existing systems written in C++ using modern languages. Readers should have some programming experience, particularly in C++. Readers should also be familiar with common development tools such as Visual Studio, R/Studio, Visual Studio Code, and CodeBlocks.
Part I. C++ 1. Preliminaries2. C++ Components and C++ Clients
Part II. C++/CLI and .NET 3. Building a C++/CLI Wrapper4. C# Clients: Consuming the Managed Wrapper
Part III. R and Rcpp 5. Building an R Package6. Exposing Functions using Rcpp
Part IV. Python 7. Building a Python Extension Module8. Module Development with Boost and PyBind9. Conclusion
Part V. Appendixes A. Boost LibrariesB. Cmake
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Apress |
Auteur(s) | Adam Gladstone |
Parution | 28/01/2022 |
Nb. de pages | 225 |
EAN13 | 9781484279656 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse