Big Chunks of Adobe Lightroom Written in Lua

Gus Mueller, on the fact that 40 percent of Lightroom is reportedly written in Lua, a scripting language:

Holy Crap. 40%? Wow. That’s nuts. I had heard it described as a Cocoa app, so I needed to download it to check it out.

The first thing I did when I got the .dmg was to open up the package and snoop around a bit. Not that many .nib files laying around, but I bet they are using Cocoa. I found a couple of .lua files.. but they were in byte code for so I couldn’t see what was in them (damn!). A little shell script action reveals that there are 223 different .lua files in there. Wow.

Tuesday, 10 January 2006