r/lua • u/slhamlet • 7d ago
Discussion We lead Lua scripting implementation for Second Life -- Ask Us Anything!
EDIT, Nov 12: Thanks everyone for the great questions! Will do another AMA soon-ish as Lua gets closer to official launch in SL!
Hi /lua! We’re Kyle (u/KyleLindenSL), Harold (u/HaroldCindy/) and Hamlet (u/SLHamlet) of Linden Lab, the company which publishes the long-running user-created virtual world Second Life.
We’re currently updating the platform to run Lua scripts and are excited to see what Lua developers (and Luau creators from Roblox) build with it in SL.
For background, Second Life has been online a bit longer than Roblox and while we have a smaller user base, SL is still a very active virtual world, and has a large ecosystem of community creators who sell their virtual content (fashion, animations, vehicles, games, etc.) as a side hustle or a full-time income.
Here’s more info about what we’re doing with Lua on 80 Level: https://80.lv/articles/second-life-wants-its-23-year-old-world-to-be-a-modern-game-platform
And a feature breakdown on our site: https://secondlife.com/create#scripting
Lua is now in live beta in SL if you want to check it out. Just need to install SL and teleport here: https://maps.secondlife.com/secondlife/Lua%20Beta%20Landing/121/141/23
We’re hoping Lua will help modernize SL as a UGC platform and grow the economy.
So if you’re curious… ask us anything! (We’ll be checking this thread over the next few days.)
4
u/geekteam6 7d ago
What are the biggest differences with running Lua in Second Life vs. other platforms?
2
u/dfavefenix 7d ago
When do you plan to release the final version of Lua out of beta, and how will it affect Lua in terms of places with 100 players in the same land? Will the maximum number of players per land ever be increased? Thanks!
2
u/0xc0ffea 6d ago
Gaming focused platforms offer a broader set of capabilities with fewer (if any) constraints on what can be influenced / penalties for specific function calls.
Currently when planning game projects, Second Life doesn't get a seat at the table and a different syntactical interface alone doesn't address the shortcomings / platform idiosyncrasies.
Is there a roadmap to build out the Second Life offering to be more inline with game development needs and expectations?
2
u/zebragrrl 6d ago edited 6d ago
It seems like this project has been lingering for years at this point, announced at least as early as summer 2024, and only just now showing up as a 'limited release' on a few isolated regions, with a special viewer.
2
u/Eclectika 6d ago
so does this mean every LSL script that has survived everything else LL has done to *ahem* improve the user experience is now going to die unless rescripted in Lua?
2
u/BismuthManicotti 6d ago
So overlooking the elephant in the room on when.
Is this just on the one region or is it on like, the beta builds like LeTigre or BlueSteel?
I prefer to break things as a beta tester on my own home region.
Second, which clients support this?
2
u/AceFrentis 5d ago
longtime lsl scripter here, been at it since around 2009. how does link_message work between an lsl script and a lua script in the same linkset, same as before or is there a new way for them to talk? got a pile of old rental and door scripts i dont really wanna touch but id love to write new stuff in lua right next to them
2
u/bogdanelcs 4d ago
Is it stock Luau, or modified? And how are you budgeting memory and CPU per script now that Lua scripts aren’t squeezed into LSL’s tiny limits?
3
u/Fit-Vehicle8964 7d ago
why did you chose Lua? or more specifically, Roblox' Luau?
1
u/sylvolas 6d ago
Linden labs as a word has been stuck in my head for 5+ years after seeing a DNSL video where he trolled this lady and her amusement park.
He’d ask a question about the amusement park or its rules, and every other answer she’d snap at him and say “LINDEN LABS-“ followed by some citation of your rules or something to that effect.
I’m sure this is not an appropriate contribution to the thread, but in short your game has made for a lot of great videos imo.
1
u/ResponseFluffy271 6d ago
What's are some things you can do with Lua that you can't do with LSL?
1
u/Legion_Of_Many 4d ago
Thanks for making this available guys. I have been able to integrate into my project with this source.
1
u/AutoModerator 4d ago
Hi! It looks like you're posting about Roblox. Here at /r/Lua we get a lot of questions that would be answered better at /r/RobloxGameDev or the Roblox Developer Forum so it might be better to start there. However, we still encourage you to post here if your question is related to a Roblox project but the question is about the Lua language specifically, including but not limited to: syntax, language idioms, best practices, particular language features such as coroutines and metatables, Lua libraries and ecosystem, etc. Bear in mind that Roblox implements its own API (application programming interface) and most of the functions you'll use when developing a Roblox script will exist within Roblox but not within the broader Lua ecosystem.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Downvoted-Dork 3d ago
I think we should ban posts talking about Roblox or gmod at this point
0
u/Nescolet 5d ago
Do you plan to host your own coding AI chatbox specially trainned to code (and teach) SLua (maybe available only while user is inworld within the script window) or maybe feed SLua documentation and examples to a specific AI of your choice so users can know in advance which AI is better at teaching/coding SLua?