Makay Scribe Posted August 31 Posted August 31 I was reading through the links from the other thread and couldnt catch a timeline. Can I start using Lua now, soon , 4yrs?
Love Zhaoying Posted August 31 Posted August 31 35 minutes ago, Makay Scribe said: Can I start using Lua now, soon , 4yrs? Yes.
Mr Amore Posted August 31 Posted August 31 I'm speculating we'll have betagrid access by the end of this year.
Love Zhaoying Posted August 31 Posted August 31 Thought I read that we may have "cross-compiling" (LSL compiled into Lua byte code) before the ability to actually "write code in Lua"? That could have been an assumption on my part.
Quistess Alpha Posted August 31 Posted August 31 2 hours ago, Love Zhaoying said: Thought I read that we may have "cross-compiling" (LSL compiled into Lua byte code) before the ability to actually "write code in Lua"? That could have been an assumption on my part. That was my understanding. They are or will be soon "silently" compiling scripts to both mono (what we use now) and lua bytecode, running them both simultaneously, and checking that the results are the same. Speculating that they're doing that right now, but not always getting the same answer, that's a lot of development time to fix that, which won't have any visible results until they do. 2
Kristy Aurelia Posted September 1 Posted September 1 On 8/31/2024 at 12:59 PM, Love Zhaoying said: Thought I read that we may have "cross-compiling" (LSL compiled into Lua byte code) before the ability to actually "write code in Lua"? That could have been an assumption on my part. The FAQ is here https://wiki.secondlife.com/wiki/Lua_FAQ But to summarise what's been said during SUG meetings, Luau will roll out in 3 stages: Compile LSL to Luau Bytecode and run in parallel/shadow mode next to LSL scripts (Unconfirmed, but I think this will be on Beta Grid or Specific Test Sims) to verify that the behaviour between the two is identical. Change LSL to run on Luau VM instead of Mono VM, will require script to be recompiled. This should result in speed and memory improvements. All new scripts should just run on Luau VM (There have been some suggestions in regards of swapping old, running scripts to Luau, but preserving state is tricky) Add native Luau support, to allow scripting either in LSL or Luau, while both still compile and run on the same Luau VM. New llFunctions will be added to both LSL and Luau as they are the same C++ functions in the sim code anyway. Luau specific language features will not be ported to LSL. 1
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now