Software Side Roads

Scenic Detours Along the Way to Release


Lua

  • Passing Data between Lua and C/C++

    Building on the previous article describing how to embed Lua scripts in C++, this article and source code adds making global variables available in Lua scripts from the parent C++ application and calling functions in the C++ application from the Lua script using an example project in Visual Studio. To pass data into the Lua… Continue reading

  • Embedding Lua in C/C++

    Lua is a scripting language with simple syntax and very fast execution time.  It may be easily embedded in a variety of environments including C/C++ applications. There are many general tutorials geared towards the general aspects of embedding Lua. This pair of examples is directed towards a specific application need in which multiple scripts may… Continue reading

About Me

The focus of my work is writing software tools in support of engineering and financial analysis plus taking care of the source and results data for quality and documentation purposes. Most of my professional time has been spent in the engineering, particularly naval architecture, and finance sectors. Many side tasks which aren’t strictly central to my deliverables crop up and must be dealt with. These posts are notes on the little side tours and cul-de-sacs along the way.

Newsletter