by makecheck · 16y ago · 0 comments
While C was the first language used, I added the others to gain their strengths, which include maintainability and access to powerful libraries.
I find python + weave.inline (insert C++ which is dynamically compiled the first time called) pretty awesome at getting performant apps which are fast to build and simple to debug.
I know that Eve is Python on top of a large, custom C++ code base. Civ and Blender as well. Adobe's Lightroom is a nice case study of 50% C++ and 50% Lua.
I've never used Python+Weave, but it makes total sense. I do think Python's built-in CTypes library is unfortunately underused. (highlights: You can create C-callable function pointers and you can call C DLL functions from default Python. No add-on libs required.)
What a small world.
Did you write the C and ObjC code it's calling, or are they independent libraries?