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 -
$719$683 -
$894$849 -
$534$507 -
$465C++20 設計模式:可複用的面向對象設計方法 (原書第2版)
-
$834$792 -
$1,730$1,644 -
$774$735 -
$680$340 -
$1,900$1,805 -
$1,900$1,805 -
$2,337Beginning C++23: From Beginner to Pro 7th ed. Edition
-
$4,560Cryptography: Algorithms, Protocols, and Standards for Computer Security (Hardcover)
-
$780$616 -
$517高效 C/C++ 調試
-
$469LangChain 入門指南:構建高可復用、可擴展的 LLM 應用程序
-
$403軟件工程原理與實踐
-
$419$398 -
$620$489 -
$600$474 -
$403精實 DevOps
-
$880$695 -
$654$621
相關主題
商品描述
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
目錄大綱(中文翻譯)
- 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