RE: [ANN] Quick and dirty way to get LuaJIT binaries for Windows

  • From: William Adams <william_a_adams@xxxxxxx>
  • To: "luajit@xxxxxxxxxxxxx" <luajit@xxxxxxxxxxxxx>
  • Date: Tue, 15 Jan 2013 22:14:02 +0000

I was thinking, if you're going to be Linux specific, ljsyscall is a much 
better way to go.

If you're going to be "cross platform", then luafilesystem might be beneficial 
for some cases.

But really?  If you're going 'cross', then there's a fair bit that's actually 
only Linux specific anyway (doesn't apply to Windows).

I'd like to see an equivalent to ljsyscall for Windows, and then build higher 
level stuff such as luafilesystem on top of that.  But, I'd probably do it with 
some structured classes, rather than straight API calls.

LuaSocket is a whole other beast.  Here, just having some "native socket" 
interface would be beneficial, and it's very specific for each platform.  Then 
I'd have a bunch of web tools available, like mime, etc.

Then I'd just use Luvit instead and call it a day.

But hay, that's just me.

-- William
===============================
- Shaping clay is easier than digging it out of the ground.
________________________________
> Date: Tue, 15 Jan 2013 21:55:04 +0000 
> Subject: Re: [ANN] Quick and dirty way to get LuaJIT binaries for Windows 
> From: justin@xxxxxxxxxxxxxxxxxxxxx 
> To: luajit@xxxxxxxxxxxxx 
> 
> On Tue, Jan 15, 2013 at 9:18 PM, Evan Wies 
> <evan@xxxxxxxxxxxxx<mailto:evan@xxxxxxxxxxxxx>> wrote: 
> I'm not sure how comprehensive the coverage is, but both have tests: 
> 
> LuaFileSystem: 
> https://github.com/keplerproject/luafilesystem/tree/master/tests 
> 
> LuaSocket: 
> https://github.com/diegonehab/luasocket/tree/unstable/test 
> 
> I've started making the FFI versions of these at least three times, but 
> stopped each time since ljsyscall is so powerful (thank you!). But, I 
> suppose it would be nice since so many other libraries have them as 
> dependencies. 
> 
> Ah yes, looking at them again, LFS should be doable (tests do not look 
> comprehensive though). Luasocket has a lot of C code that is necessary, 
> eg mime, which would need converting to ffi, plus http etc so a fair 
> amount above the socket layer. This is code I would like to write/get 
> someone to write... 
> 
> Glad you like ljsyscall. Still a lot to improve, please add anything 
> that you want changed or any thoughts to github issues (or patches). 
> 
> Justin 
>                                         

Other related posts: