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)
買這商品的人也買了...
-
自己動手實現 Lua:虛擬機、編譯器和標準庫$534$507 -
Autodesk 3ds Max 基礎建模與動畫設計 (含3ds Max 2016~2018認證模擬與解題)$520$411 -
D3 實用指南|程式設計師和科學家的互動式圖形工具箱 (D3 for the Impatient : Interactive Graphics for Programmers and Scientists)$520$411 -
現代 C++ 語言核心特性解析$719$683 -
多處理器編程的藝術, 2/e (The Art of Multiprocessor Programming, 2/e)$894$849 -
$708深入理解 Linux 網絡: 修煉底層內功,掌握高性能原理 -
高級 C/C++ 編譯技術 (典藏版)$534$507 -
C++20 設計模式:可複用的面向對象設計方法 (原書第2版)$534$507 -
C++ 高性能編程$834$792 -
$713Linux 高性能網絡詳解:從 DPDK、RDMA 到 XDP -
C++20 代碼整潔之道:可持續軟件開發模式實踐 (原書第2版) (Clean C++20: Sustainable Software Development Patterns and Best Practices, 2/e)$774$735 -
D3.js 資料視覺化實用攻略:完整掌握 Web 開發技術,繪製互動式圖表不求人(iThome鐵人賽系列書)$680$530 -
Expert C++ : Become a proficient programmer by learning coding best practices with C++17 and C++20's latest features, 2/e (Paperback)$1,900$1,805 -
Beginning C++23: From Beginner to Pro, 7/e (Paperback)$2,460$2,337 -
TPM 2.0 安全算法開發示例實戰$534$507 -
Cryptography: Algorithms, Protocols, and Standards for Computer Security (Hardcover)$4,800$4,560 -
C++ 軟體設計|高品質軟體的設計原則和模式 (C++ Software Design: Design Principles and Patterns for High-Quality Software)$780$616 -
$403軟件工程原理與實踐 -
信息學競賽寶典 動態規劃$419$398 -
程式設計守則|如何寫出更好的程式碼 (The Rules of Programming: How to Write Better Code)$620$490 -
圖解 Linux 核心工作原理|透過實作與圖解學習 OS 與硬體的基礎知識【增訂版】$600$474 -
$403精實 DevOps -
用 ChatGPT 詠唱來點亮 React & 前端技能樹$880$695 -
C++ 之美:代碼簡潔、安全又跑得快的 30個要訣 (Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code)$654$621 -
$1,010深入理解Linux進程與內存:修煉底層內功,掌握高性能原理
商品描述
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