Some of Ruby's more excentric semantics are <i>really</i> hard to optimize away by a compiler. It takes a much greater effort to compile Ruby source code to machine code of similar quality than for Lua. Since time and money are not infinite resources, especially for compiler development, you'll get worse results in practice.<p>So, yes, language design does impact performance.