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
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.
Similar content being viewed by others
Table of contents (9 chapters)
-
Front Matter
-
Foundations
-
Front Matter
-
-
C++/CLI and .NET
-
Front Matter
-
-
R and Rcpp
-
Front Matter
-
-
Back Matter
Authors and Affiliations
About the author
Accessibility Information
Accessibility information for this book is coming soon. We're working to make it available as quickly as possible. Thank you for your patience.
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