Overview
- Shows you how existing software can be extended using modern languages and their frameworks
- Covers interoperability with C#, R, and Python—three fast-growing and widely adopted languages
- Teaches you how to build Windows components that use C++ libraries
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (9 chapters)
-
Foundations
-
C++/CLI and .NET
-
R and Rcpp
-
Python
Keywords
About this book
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 costof 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++ usingmodern 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.
Authors and Affiliations
About the author
Bibliographic Information
Book Title: C++ Software Interoperability for Windows Programmers
Book Subtitle: Connecting to C#, R, and Python Clients
Authors: Adam Gladstone
DOI: https://doi.org/10.1007/978-1-4842-7966-3
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)
Copyright Information: Adam Gladstone 2022
Softcover ISBN: 978-1-4842-7965-6Published: 29 January 2022
eBook ISBN: 978-1-4842-7966-3Published: 28 January 2022
Edition Number: 1
Number of Pages: XIX, 225
Number of Illustrations: 122 b/w illustrations
Topics: Microsoft and .NET, Professional Computing