[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Guidance needed on C# and Lua integration
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 21 Apr 2015 07:54:55 +0200
On Tue, Apr 21, 2015 at 3:04 AM, Josh Simmons <simmons.44@gmail.com> wrote:
> I'm not sure what you mean by "just" but once you have something like this
> https://github.com/jsimmons/LuaSharp/blob/master/LuaWrap/LuaLib.cs (5.1)
> you can do whatever you like and have it run on all platforms. More
> automated things obviously require more magical stuff on the part of
> the C# library.
I always feel guilty when C#/Lua comes up, because I maintain MonoLuainterface.
The rather cool aspect of the 'LuaInterface' part is that reflection
makes the C# binding almost trivial.
There's no reason why external C shared libraries can't be pulled into
the mix using P/Invoke - a lot more straightforward than the JNI
needed for Java interop.
steve d.