Glad to say that I’ve got the pipeline and sample working on 360 now. Just a matter of tidying up, some docs and then a release…

Some interesting results. running sieve.lua using PC XNA Lua CLR on my 1.2Ghz Laptop takes 0.125 seconds. On X360 its takes 0.21 seconds. Presumable its cos the CLR JIT is much more basic under compact and that the in order processor in X360 is much worse at running the kind of dynamic language that Lua is.

But in case that sounds like a dis of the X360 its not, running the Lua interpretor on my laptop took 0.062 seconds to complete sieve. So its clear that the Lua2IL has some way to go, on at least on this file…

Non of this matter of course, scripts aren’t meant to be very fast doing benchmark like operations. And its an area I’m sure can be much improved over time.

Lua is a lovely langauge for lots of high level operations and bringing that power to XNA was my aim. I’m certainly basing my entity model on lua hooks for flexbility and gameplay design power.

Other interesting note, for some reason source level debugging of Lua only works on PC and not 360 so far. I presume its got something to do with remote debugging.