Roland Posted December 23, 2011 Share Posted December 23, 2011 LUA 5.2 has been released. Will LE2 be updated to that version? Lua 5.2Lua 5.2 was released on 16 Dec 2011. The main features in Lua 5.2 are yieldable pcall and metamethods, new lexical scheme for globals, ephemeron tables, new library for bitwise operations, light C functions, emergency garbage collector, goto statement, and finalizers for tables. The current release is Lua 5.2.0, released on 16 Dec 2011. LUA 5.2 Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
YouGroove Posted December 23, 2011 Share Posted December 23, 2011 Better keep it for LE3D ? Lot more people seems to use C++ with LE2, and that's better to concentrate on LE3D than putting time on adding las LUA version. Perhaps i'm wrong if it really brings a lot to LE2 ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Roland Posted December 23, 2011 Author Share Posted December 23, 2011 Better keep it for LE3D ? Lot more people seems to use C++ with LE2, and that's better to concentrate on LE3D than putting time on adding las LUA version. Perhaps i'm wrong if it really brings a lot to LE2 ? I don't know if it would have any difference for LE2 as I'm not a LUA programmer YET. Its on my TODO list for the Christmas Holiday. I was just wondering if it will be updated or not. I guess not, and thats no problem for me. Maybe some LUA Guru could tell if 5.2 would bring any big new things into the mix. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Canardia Posted December 23, 2011 Share Posted December 23, 2011 Here are some examples how Lua 5.2 is different from Lua 5.1: http://www.corsix.org/content/look-lua-52-work3 Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Roland Posted December 23, 2011 Author Share Posted December 23, 2011 Here are some examples how Lua 5.2 is different from Lua 5.1: http://www.corsix.org/content/look-lua-52-work3 Thanks Mika :-) Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Josh Posted December 23, 2011 Share Posted December 23, 2011 If the improvements can't be summed up in one easily readable sentence, they aren't significant. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Roland Posted December 23, 2011 Author Share Posted December 23, 2011 If the improvements can't be summed up in one easily readable sentence, they aren't significant. In fact that's a quite good statement. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Rick Posted December 23, 2011 Share Posted December 23, 2011 Coroutines can yield in many more places - In Lua 5.1, a coroutine (Lua thread) couldn't yield across a C call boundary, unless a modification like Coco was used. Lua 5.2-work3 introduces three new functions to the C API: lua_callk, lua_pcallk, and lua_yieldk. That would be handy. Still can't figure out why I get that error telling me I can't do this in LE now when I didn't before when LE2 first came out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.