As part of New Horizons I'm adding a lot of different functionality which is not included in the base BNW. These include new mechanics on buildings, units, technologies, and other game objects which aren't available with the stock SQL/XML.
My question is, many of these things I'm planning can be implemented either as lua scripts or as C++ code in the DLL. Is there any benefit to using one or the other? I prefer the C++ code because A) I know C++ well and don't know Lua too well and B) it is compiled and should theoretically run faster than equivalent Lua code. Are there other considerations that I should be aware of here?
My question is, many of these things I'm planning can be implemented either as lua scripts or as C++ code in the DLL. Is there any benefit to using one or the other? I prefer the C++ code because A) I know C++ well and don't know Lua too well and B) it is compiled and should theoretically run faster than equivalent Lua code. Are there other considerations that I should be aware of here?