Remember part one of Marc Garrett’s interview with Mark Hamburg, the lead developer of Adobe Lightroom? Part two is now up, and there’s some great stuff, including this on the heavy use of Lua to write the application logic:
So what we do with Lua is essentially all of the application logic from running the UI to managing what we actually do in the database. Pretty much every piece of code in the app that could be described as making decisions or implementing features is in Lua until you get down to the raw processing, which is in C++. The database engine is in C; the interface to the OS is in C++ and Objective C as appropriate to platform. But most of the actually interesting material in the app beyond the core database code (which is SQLite) and the raw processing code (which is essentially Adobe Camera Raw) is all in Lua.
★ Tuesday, 20 February 2007