lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

We looked briefly at XNua; notably it said coroutine support was untested and potentially broken;

coroutines are a major feature for us, so this was a bit disturbing, but we haven't confirmed it yet.

it also *seems* XNua hasn't been updated since 2007, which bodes well for any further work being done on it (should there be major features missing).

As for using .NET bytecode at runtime, I dunno if Silverlight or XNA allow that, might seem like a security risk *shrug*


On Fri, Sep 4, 2009 at 3:57 PM, Timothy Baldridge <> wrote:
Well, there is this:

XNua takes C# code and translates it to .Net bytecode. This is fine,
but I would like to see a bit higher level abstract of this.

I've been digging into this lately, and it doesn't seem all that hard
to do a port of Lua to C#, where the lua execution loop is a C# loop.
This is a project I may start on soon, but haven't yet. So I'm
interested in hearing other people's thoughts about the whole issue.

Timothy Baldridge

On Fri, Sep 4, 2009 at 1:59 PM, Raymond Jacobs<> wrote:
> Greetings all,
> I'm currently developing a write-once-run-anywhere game authoring tool,
> which uses lua for scripting.
> Our main 'VM' is in C++/Win32/DirectX, but we have strong aspirations for:
> Flash10
> Silverlight
> So far, I've found very little in the way of getting Lua to run on these
> platforms.
> The closest I have come, is using lua-alchemy for Flash/Flex; but they lack
> the C-API which we rely on.
> I've found various C#/.NET lua implementations however, due to the
> 'lockdown' of silverlight and XNA it doesn't seem they will work.
> So the questions are;
> Is there any concern among the Lua group about the difficulties of spreading
> Lua to these new and popular technologies?
> Are we simply waiting for a 'native' Lua VM Library to be written by an
> industrious fellow, in C# or the like?
> What are some basic difficulties in writing/porting a lua compiler/vm with
> the C-API present?
> Am I mistaken in any of my assertions, maybe I'm just missing something?
> Any feedback i can get on this would be excellent,
> Thanks,
> Raymond Jacobs
> Owner,
> Ethereal Darkness Interactive

“One of the main causes of the fall of the Roman Empire was
that–lacking zero–they had no way to indicate successful termination
of their C programs.”
(Robert Firth)