Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
Integrate Lua with C++ - Seamlessly integrate Lua scripting to enhance application flexibility - cover

Integrate Lua with C++ - Seamlessly integrate Lua scripting to enhance application flexibility

Wenhuan Li

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

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.
Available since: 10/27/2023.
Print length: 216 pages.

Other books that might interest you

  • Embedded Systems for Engineers and Students - Second Edition - cover

    Embedded Systems for Engineers...

    Sheikh Muhammad Ibraheem, Sadia...

    • 0
    • 0
    • 0
    Embedded Systems For Engineers and Students is a comprehensive textbook written to provide an in-depth understanding of the principles and practical applications of embedded systems 
    The book begins with an introduction to the basics of embedded systems, including the hardware and software components, design methodologies, and programming languages. It then delves into the different types of microcontrollers and processors commonly used in embedded systems, their architectures, and how to program them using high-level programming languages such as C and C++. The book also covers topics such as real-time operating systems, interrupts, and event-driven programming. It discusses the importance of software testing and debugging techniques and introduces students to different debugging tools and methods. It is a valuable resource for anyone interested in learning about embedded systems. It provides a comprehensive introduction to the principles and practical applications of embedded systems, making it an ideal textbook for students and a useful reference guide for practicing engineers. 
    Book Portions:Embedded Systems IntroductionMicrocontrollers and SensorsEmbedded ProgrammingEmbedded Systems Design
    Show book
  • Fixing America - An Engineer’s Solution to our Social Cultural and Political Problems - cover

    Fixing America - An Engineer’s...

    William M Taggart IV

    • 0
    • 0
    • 0
    Have you been wondering about the big issues dominating the news? Is climate change a massive threat or not? What is really going on with immigration? More importantly, how did American politics become so divided and hostile?  What if we approached American social, cultural and political problems from a purely rational perspective? What if we focus on functional systems instead of division? Careful analysis of readily available data can help us discover patterns and uncover the real issues. An engineering perspective allows us to focus on what needs to be fixed rather than ideological divisions.  
       Finally, one of America's top engineers has brought these topics and others together in a thought-provoking book. This book is rooted in history, facts, and logic, and it lays out solutions to America's problems. A book focused to get Americans talking to one another again, so we can rise to the occasion and solve today's problems together.  
        William Taggart has over thirty years as a professional engineer in industry. He has travelled the world, building some of industry’s biggest projects and solving some of their thorniest problems. Now, he has applied analytical skills developed in industry, coupled with his natural inquisitiveness and thirst for creative solutions, to the problems of modern-day American politics. Seeking answers to questions many of us have been asking, he has focused his keen mind on researching these, and other big issues. He invites everyone to think about what America really needs.
    Show book
  • Invisible No More - Voices from Native America - cover

    Invisible No More - Voices from...

    Raymond Foxworth, Steve Dubb

    • 0
    • 0
    • 0
    For too long, Native American people in the United States have been stereotyped as vestiges of the past, invisible citizens in their own land obliged to remind others, "We are still here!" Yet today, Native leaders are at the center of social change, challenging philanthropic organizations that have historically excluded Native people, and fighting for economic and environmental justice. 
     
     
     
    Invisible No More is a collection of stories by Native American leaders, many of them women, who are leading the way through cultural grounding and nation-building in the areas of community, environmental justice, and economic justice. Authors in the collection come from over a dozen Native nations. While telling their stories, authors excavate the history and ongoing effects of genocide and colonialism. At the same time, the authors detail ways that listeners might imagine the world differently, presenting stories of Native community building that offer benefits for all. 
     
     
     
    In a world facing a mounting climate crisis and record economic inequality, Invisible No More exposes the deep wounds of a racist past while offering a powerful call to care for one another and the planet. Indigenous communities have much to offer, not the least of which are solutions gleaned from cultural knowledge developed over generations.
    Show book
  • Healing Hearts and Minds - A Holistic Approach to Coping Well with Congenital Heart Disease - cover

    Healing Hearts and Minds - A...

    LCSW Tracy Livecchi, PhD Liza...

    • 0
    • 0
    • 0
    Congenital Heart Disease (CHD) is the most commonly diagnosed birth abnormality in the US. With great advances in surgery and medicine, however, survival rates have improved by 75% since the 1940s. With better medical care, babies born today with CHD have a good chance of surviving, but throughout their entire lives they can face surgeries, invasive treatments, lifelong monitoring, frequent medical check-ups, and significant limitations on physical activity, in addition to poor public awareness. Much attention has rightly been focused on providing their parents and caretakers with resources and information. 
     
     
     
    Little attention, however, has been paid to the psychosocial impacts on these individuals, especially as they grow, mature, and become adults living with a serious, chronic medical condition. Prevalence rates for anxiety, depression, and PTSD are significantly higher (2-3x in some cases) for people living with CHD than the general adult population. Liza Morton and Tracy Livecchi are both mental health professionals who have developed a specialty in working with clients who have chronic medical conditions, and they are both themselves living with CHD. While their powerful personal stories are woven into the narrative, the book is focused on providing evidence-based coping and self-care skills for adults living with CHD.
    Show book
  • Advanced Scrum Case Studies Vol 3 - Dealing with 75 new hires - cover

    Advanced Scrum Case Studies Vol...

    Frederik Mark Fowler

    • 0
    • 0
    • 0
    You are a Scrum Master and you have a challenge: 
    You have been hired by a company with big plans.  They want to create a new family of products and have them ready for sale in just six months.  They have jut hired 75 recent graduate from ivy league colleges to do the work, and the company wants you to form them into five Scrum teams and manage them to meet the deadline. 
    Dealing with 75 grass green developers is a tall order, but the company expects success.  What should you do? 
    This case and the others in the series come from the real-world experiences of a group of Scrum professionals who meet regularly to discuss the Scrum Framework and how to apply it to actual situations they have encountered.  These discussions have been led since 2015 by Frederik Mark Fowler, A Doctor of Scrum and Holder of the Professional Scrum Master level III certification awarded by Scrum.org.  Fred has worked with the Scrum Framework for almost 20 years and has trained more then 300 people to become Scrum Masters and Product Owners.  For more information, visit www.Patreon.com/SiliconValleyScrum.
    Show book
  • The Wolverine Way - cover

    The Wolverine Way

    Douglas H. Chadwick, Rick Ridgeway

    • 0
    • 0
    • 0
    Glutton, demon of destruction, symbol of slaughter, mightiest of wilderness villains . . . The wolverine comes marked with a reputation based on myth and fancy. Yet this enigmatic animal is more complex than the legends that surround it. With a shrinking wilderness and global warming, the future of the wolverine is uncertain. The Wolverine Way reveals the natural history of this species and the forces that threaten its future, engagingly told by Douglas Chadwick, who volunteered with the Glacier Wolverine Project. This five-year study in Glacier National Park—which involved dealing with blizzards, grizzlies, sheer mountain walls, and other daily challenges to survival—uncovered key missing information about the wolverine's habitat, social structure, and reproduction habits. Wolverines, according to Chadwick, are the land equivalent of polar bears in regard to the impacts of global warming. The plight of wolverines adds to the call for wildlife corridors that connect existing habitat that is proposed by the Freedom to Roam coalition.
    Show book