C++ Software Interoperability for Windows Programmers
Connecting to C#, R, and Python ClientsAdam Gladstone
- ناشرApress
- سال انتشار2022
- ویرایش1
- زبانEnglish
- تعداد صفحات235
- شابک9781484279656
613,000 تومان – 1,492,000 تومانمحدوده قیمت: 613,000 تومان تا 1,492,000 تومان
تحویل اکسپرس
حمل رایگان سفارشات بالای 1 میلیون تومان
پرداخت امن
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
ضمانت اصالت کالا
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
7 روز گارانتی بازگشت وجه
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
Get up-to-speed quickly and connect modern code written in C#, R, and Python to an existing codebase written in C++. This book for practitioners is about software interoperability in a Windows environment from C++ to languages such as C#, R, and Python. Using a series of example projects, the book demonstrates how to connect a simple C++ codebase packaged as a static or dynamic library to modern clients written in C#, R, and Python. The book shows you how to develop the in-between components that allow disparate languages to communicate.
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.
Table of Contents
Part I: Foundations
Chapter 1: Preliminaries
Chapter 2: C++ Components and C++ Clients
Part II: C++/CLI and .NET
Chapter 3: Building a C++/CLI Wrapper
Chapter 4: C# Clients: Consuming the Managed Wrapper
Part Ill: Rand Repp
Chapter 5: Building an R Package
Chapter 6: Exposing Functions Using Repp
Part IV: Python
Chapter 7: Building a Python Extension Module
Chapter 8: Module Development with Boost.Python and PyBind
Chapter 9: Conclusion
Appendix A: Boost Libraries
Appendix B: CMAKE
About the Author
Adam Gladstone is a software developer with more than 20 years of experience in investment banking, building software mostly in C++ and C#. For the last few years, he has been developing data science and machine learning skills, particularly in Python and R after completing a degree in Math & Statistics. He currently works at Virtu Financial Inc. in Madrid as an Analyst Programmer. In his free time, he develops tools for natural language processing.
| ناشر | Apress |
|---|---|
| ویرایش | 1 |
| زبان | English |
| سال انتشار | 2022 |
| شابک | 9781484279656 |
| تعداد صفحات | 235 |
| قطع | B5 |
| کیفیت | اورجینال انتشارات |
| نوع چاپ | رنگی, سیاه و سفید |
| نوع جلد | جلد سخت, شومیز, طلقی |
محصولات مشابه

نقد و بررسیها
هنوز بررسیای ثبت نشده است.