Integrate Lua with C++: Seamlessly integrate Lua scripting to enhance application flexibility (Paperback) (將Lua與C++整合:無縫整合Lua腳本以增強應用彈性)
Li, Wenhuan
- 出版商: Packt Publishing
- 出版日期: 2023-10-27
- 售價: $1,980
- 貴賓價: 9.5 折 $1,881
- 語言: 英文
- 頁數: 216
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1805128612
- ISBN-13: 9781805128618
-
相關分類:
C++ 程式語言、程式語言
立即出貨 (庫存=1)
買這商品的人也買了...
-
$534$507 -
$520$411 -
$520$411 -
$611現代 C++ 語言核心特性解析
-
$760多處理器編程的藝術, 2/e (The Art of Multiprocessor Programming, 2/e)
-
$534$507 -
$422C++20 設計模式:可複用的面向對象設計方法 (原書第2版)
-
$834$792 -
$1,730$1,644 -
$658C++20 代碼整潔之道:可持續軟件開發模式實踐 (原書第2版) (Clean C++20: Sustainable Software Development Patterns and Best Practices, 2/e)
-
$680$340 -
$1,900$1,805 -
$1,900$1,805 -
$2,337Beginning C++23: From Beginner to Pro 7th ed. Edition
-
$4,560$4,320 -
$780$616 -
$594$564 -
$505LangChain 入門指南:構建高可復用、可擴展的 LLM 應用程序
-
$403軟件工程原理與實踐
-
$419$398 -
$620$490 -
$600$474 -
$403精實 DevOps
-
$880$695 -
$556C++ 之美:代碼簡潔、安全又跑得快的 30個要訣 (Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code)
相關主題
商品描述
Discover the perfect synergy between C++ and Lua to create powerful, adaptable, and high-performing software solutions
Key Features
- Get hands-on experience by integrating Lua with C++
- Explore real-life project-ready advanced techniques for your future projects
- Learn Lua through practical coding examples and exercises
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
C++ is a popular choice in the developer community for building complex and large-scale performant applications and systems. Often a need arises to extend the system at runtime, without recompiling the whole C++ program. Using a scripting language like Lua can help achieve this goal efficiently.
Integrate Lua to C++ is a comprehensive guide to integrating Lua to C++ and will enable you to achieve the goal of extending C++ programs at runtime. You’ll learn, in sequence, how to get and compile the Lua library, the Lua programming language, calling Lua code from C++, and calling C++ code from Lua. In each topic, you’ll practice with code examples, and learn the in-depth mechanisms for smooth working. Throughout the book, the latter examples build on the earlier ones while also acting as a standalone. You’ll learn to implement Lua executor and Lua binding generator, which you can use in your projects directly with further customizations.
By the end of this book, you’ll have mastered integrating Lua into C++ and using Lua in your C++ project efficiently, gained the skills to extend your applications at runtime, and achieved dynamic and adaptable C++ development.
What you will learn
- Explore how to access and compile Lua source code
- Call Lua code from C++ for enhanced functionality
- Integrate C++ code into Lua for powerful interactions
- Deepen your understanding of Lua stack for advanced usage
- Implement a project-ready Lua executor and binding generator
- Extend C++ projects with customizable and extensible Lua scripting
Who this book is for
This book is for C++ developers seeking to seamlessly integrate Lua, learn the Lua programming language by examples, or enhance their understanding of Lua-C++ interaction. Basic knowledge of C++ is required to fully benefit from this book.
商品描述(中文翻譯)
發現C++和Lua之間的完美協同作用,創建強大、適應性強且高效的軟體解決方案。
主要特點:
- 通過將Lua與C++集成,獲得實踐經驗
- 探索適用於未來項目的現實生活中的高級技術
- 通過實際編碼示例和練習學習Lua
- 購買印刷版或Kindle書籍,包括免費的PDF電子書
書籍描述:
C++是開發者社區中構建複雜且大規模高效應用程序和系統的熱門選擇。通常需要在運行時擴展系統,而無需重新編譯整個C++程序。使用像Lua這樣的腳本語言可以有效實現此目標。
《將Lua集成到C++中》是一本全面指南,將Lua集成到C++中,使您能夠在運行時擴展C++程序的目標。您將按順序學習如何獲取和編譯Lua庫、Lua編程語言、從C++調用Lua代碼以及從Lua調用C++代碼。在每個主題中,您都將通過代碼示例進行實踐,並學習順暢工作的深入機制。整本書中,後面的示例建立在前面的示例基礎上,同時也作為獨立的示例。您將學習實現Lua執行器和Lua綁定生成器,您可以直接在項目中使用並進行進一步的自定義。
通過閱讀本書,您將掌握將Lua集成到C++中並在C++項目中有效使用Lua的技能,獲得在運行時擴展應用程序的能力,實現動態和適應性的C++開發。
您將學到什麼:
- 探索如何訪問和編譯Lua源代碼
- 從C++調用Lua代碼以增強功能
- 將C++代碼集成到Lua中以實現強大的交互作用
- 深入了解Lua堆棧以進行高級用法
- 實現項目就緒的Lua執行器和綁定生成器
- 通過可自定義和可擴展的Lua腳本擴展C++項目
本書適合尋求無縫集成Lua的C++開發人員,通過示例學習Lua編程語言,或增強對Lua-C++交互作用的理解。需要基本的C++知識才能充分受益於本書。
目錄大綱
- Get and Build Lua with C++
- Lua Fundamentals
- How to Call Lua from C++
- Map Lua Types to C++
- Work with Lua Tables
- How to Call C++ from Lua
- User Defined Types in C++
- A C++ Template Class to Export C++ to Lua
- Some Advanced Techniques
- Managing Resources
- Multithreading
目錄大綱(中文翻譯)
1. 獲取並構建 C++ 中的 Lua
2. Lua 基礎知識
3. 如何從 C++ 呼叫 Lua
4. 將 Lua 類型映射到 C++
5. 使用 Lua 表格
6. 如何從 Lua 呼叫 C++
7. C++ 中的用戶定義類型
8. 一個導出 C++ 到 Lua 的 C++ 模板類
9. 一些高級技巧
10. 資源管理
11. 多線程處理