Chapter 1Lua

by Ian Dees

In 2004, we were hacking our way through a tangled jungle of hardware test code. The proprietary scripting engine at its core had looked like a golden idol when it was still on its pedestal: gleaming, powerful, and ready to make us wealthy. But once we had it in our satchel, we saw that the whole setup was a trap.

The plugin API was an unstoppable boulder that threatened to squash our own code. Constrained schedules didn’t leave us enough room to duck out of the way. Each system crash felt like a dart to the spleen.

Then, like Indiana Jones, Lua swashbuckled its way into our project, toting a metaphorical bullwhip to solve our problems with cultured wit and fearless performance. With Lua on our side, everything changed: ...

Get Seven More Languages in Seven Weeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.