Embedded Scripting Techniques
$59.98
Bought separately
$56.99
Minimum price
$59.99
Suggested price

Embedded Scripting Techniques

About the Bundle

Learning these two books together bridges lightweight scripting and system-level programming. This duo comprises Lua 5 with C++ 23. It offers insights into efficient code design for embedded systems and game development while emphasizing memory management and performance optimization. The texts encourage developers to integrate scripting capabilities seamlessly into robust applications.

  • Share this bundle
  • Categories

    • Embedded Systems
    • Game Development
    • System Integration
    • C and C++
    • Algorithm
    • Functional Programming
    • Automated Software Testing
    • Software Engineering

About the Books

Practical Lua 5 Programming

Explore Lua’s programming capabilities with 100+ sample demonstrations and programs
  • 100%

    Complete

  • PDF

  • EPUB

  • English

If you're into Lua programming, then this "Practical Lua 5 Programming" is a must-read. It's a hands-on book that'll help you get up and running quickly. It's got clear, step-by-step examples that'll walk you through everything from setting up your development environment to building dynamic web applications and embedding Lua in other programming languages.

Every chapter starts with an essential concept and then gives you some practical exercises to help you learn it. You'll see how powerful Lua can be as you work through problems and get immediate results. You'll start with the basics, like installing Lua on Linux, writing your first script, and learning the core language features like variables, data types, tables, functions, and control structures. And it gets even better—you'll dive into advanced stuff like metatables, coroutines, and closures. This is where you'll learn how to make flexible, modular code. The book also covers important stuff like file handling, using LuaRocks to manage your packages, and creating your own custom modules.

The book also takes you through web development using Lapis framework, demonstrating routing, template rendering, session management, and deploying applications. You'll also see how Lua can be embedded in JavaScript and Python applications, enabling you to leverage Lua's speed and efficiency in varied environments. Whether you're building scripts, web applications, or integrating Lua with other languages, this book gives you the tools and insights you need to get started confidently with Lua programming.

Key Learnings

  • Install and configure Lua on Linux for efficient scripting.
  • Make use of Lua’s dynamic typing, tables, and control structures.
  • Create and work around metatables, closures, and coroutines for modular code.
  • Apply file I/O and data parsing to manage persistent data.
  • Use LuaRocks to install, update, and manage custom modules.
  • Build web apps with Lapis using routing and session management.
  • Embed Lua in JavaScript and Python to boost performance.
  • Integrate HTTP, JSON, and APIs for system data exchange.
  • Implement middleware and session tracking for secure apps.
  • Deploy Lua apps with configuration and performance monitoring.

Table of Content

  1. Getting Started with Lua 5
  2. Lua Data Structures and Variables
  3. File I/O and Scripting Techniques
  4. Advanced Programming Constructs
  5. Package Management and Module Creation
  6. Popular Lua Modules and Extensions
  7. Web Development with Lapis
  8. Embedding Lua in JavaScript Apps
  9. Embedding Lua in Python App

Modern C++23 QuickStart Pro

Advanced programming including variadic templates, lambdas, async IO, multithreading and thread sync
  • 100%

    Complete

  • PDF

  • EPUB

  • English

Learn the latest features of C++23 with Modern C++ 23 QuickStart Pro, the perfect book for experienced developers who want to expand their knowledge and skills. This book takes a hands-on approach, providing rapid learning through real-world examples and scenarios that address complex programming challenges in C++.

The book begins by demonstrating the power of variadic templates and how to use them for dynamic function signatures. After becoming familiar with fold expressions for argument handling, you will then explore std::tuple and std::variant for handling heterogeneous data. The book then covers advanced function morphing with parameter packs and shape-shifting lambdas, as well as dynamic programming techniques. It also teaches complex function overloading and high-level thread orchestration using futures, promises, and callables. Next, we'll go over some low-level IO operations, such as controlling IO streams, efficiently handling file descriptors, and directly manipulating files.

You will then learn how to optimize memory management with shared, unique, and weak pointers, and how to engineer memory performance with custom allocators and cache-aware programming. You will learn advanced synchronization, including atomic operations, mutexes, locks, and thread pools, as well as lock-free data structures for peak performance. In addition, this book covers optimal integer and floating-point operations, arbitrary precision arithmetic, precise rounding with fixed-point arithmetic, and high-performance computation using math constant integration.

Key Learnings

  • Utilize C++23 variadic templates for dynamic function signatures.
  • Use fold expressions to simplify complex function operations and argument handling.
  • Manage heterogeneous data in high-performance applications with std::tuple and std::variant.
  • Use parameter packs and perfect forwarding to create flexible function signatures.
  • Use shape-shifting lambdas for flexible argument patterns.
  • Master file manipulation and stream management to create efficient low-level IO systems.
  • Customize memory management with unique, shared, and weak pointers to control resources.
  • Boost parallel processing with mutexes, locks, and thread pools.
  • Create lock-free data structures to reduce locking overhead in concurrent systems.
  • Use mathematical constants and precise rounding to improve numerical computations.

Table of Content

  1. Potential of Variadic Power in C++23
  2. Morphing Functions and Lambdas
  3. Taming Low-Level IO Operations
  4. Mastering Buffering and Async IO
  5. Outperforming Memory Management
  6. Engineering Memory Performance
  7. Advanced Multithreading for Experts
  8. Thread Synchronization and Atomic Mastery
  9. Turbocharging Floats and Ints

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub