LuaInterface vs Tao.Lua

Last time I mentioned that I was going to try out the Tao.Lua bindings and see how much faster they perform than LuaInterface.

LuaInterface is really simple to use, and provides a full interface between your code and Lua without any need for wrappers. The downside is that invoking .Net methods is really slow. For every 10 of those flowers you can see in my last video, the framerate drops by 100!

My other option is to use pure Lua bindings, such as provided by the TaoFramework. I will have to write up wrappers for all the objects I wish to expose, but it will mean you will need hundreds of flowers before you notice a frame drop!

Managed LuaPlus may help with the wrapping, but I am definitely moving to pure Lua bindings. I have started working on the changes already!

Advertisements
Explore posts in the same categories: Boxycraft, Level Editor

One Comment on “LuaInterface vs Tao.Lua”

  1. AgeofHock Says:

    CMON BOXYcraft Release !!!
    😀 😀 😀 😀


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: