What exactly will happen to our scripts when Mono is implemented?
|
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
|
08-22-2005 14:43
Re: http://secondlife.blogs.com/babbage/2005/08/second_life_in_.htmlI'm not real clear on how the transition will work. What will happen to the data and stack segments when our scripts are "recompiled from LSL source to run on the Mono VM"? If they are somehow translated over to work on the new VM, it should be transparent. If they are NOT translated - effectively causing every script to reset - there could be widespread problems. Many scripted objects, such as the DarkLife backpacks mentioned at the blog, would lose their state. There's also the problem of multithreaded applications where one thread (script) expects another to already be running when it starts up. These days I build my stuff to be tolerant of that kind of situation, but I didn't in the past, and I see no reason to believe there aren't plenty of multithreaded apps by other people that could end up restarting improperly or not at all. Inevitably, some of these would be in the hands of customers already, and not easily replaced. If the data and stack segments are left behind during the transition, a lot of extra work (without extra pay, I think) will be made for a lot of people.
|
Enabran Templar
Capitalist Pig
Join date: 26 Aug 2004
Posts: 4,506
|
08-22-2005 14:59
They'll have to spend a few weeks in the hospital and drink a lot of fluids.
_____________________
From: Hiro Pendragon Furthermore, as Second Life goes to the Metaverse, and this becomes an open platform, Linden Lab risks lawsuit in court and [attachment culling] will, I repeat WILL be reverse in court. Second Life Forums: Who needs Reason when you can use bold tags?
|
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
|
08-22-2005 17:47
Hmmmm. Enabran's pretty much right.
|
Siggy Romulus
DILLIGAF
Join date: 22 Sep 2003
Posts: 5,711
|
08-22-2005 18:45
Just be gratefull they didn't choose pink eye instead...
That would really suck.
_____________________
The Second Life forums are living proof as to why it's illegal for people to have sex with farm animals. From: Jesse Linden I, for one, am highly un-helped by this thread
|
Jamie Bergman
SL's Largest Distributor
Join date: 17 Feb 2005
Posts: 1,752
|
08-23-2005 08:53
Too complicated to worry about. I'll just ignore it until it hits me on the head.
|
Oz Spade
ReadsNoPostLongerThanHand
Join date: 23 Sep 2003
Posts: 2,708
|
08-23-2005 15:03
Good questions Huns, I'm curious about this as well.
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad
|
Buster Peel
Spat the dummy.
Join date: 7 Feb 2005
Posts: 1,242
|
08-23-2005 16:59
Probably run faster and not tax the server so much.
|
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
|
08-23-2005 22:14
Yes, a very good question. Perhaps they could keep the currently running scripts running on the old VM until which time they are recompiled and when they are, swap them over to mono.
|
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
|
08-24-2005 02:21
Maybe recompile the LSL bytecode into CIL assembly instead of recompiling it from the text source ?
I can't wait to start scripting in C/Python. Will I also be able to use Perl ?
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
|
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
|
08-24-2005 06:24
From: Jesrad Seraph Maybe recompile the LSL bytecode into CIL assembly instead of recompiling it from the text source ?
I can't wait to start scripting in C/Python. Will I also be able to use Perl ? C# / Java / PHP / Perl functionality is something that will not be immediate. There still needs to be an interface made for them to work.
_____________________
Hiro Pendragon ------------------ http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio
Visit my SL blog: http://secondtense.blogspot.com
|
Cristiano Midnight
Evil Snapshot Baron
Join date: 17 May 2003
Posts: 8,616
|
08-24-2005 06:31
From: Alondria LeFay Yes, a very good question. Perhaps they could keep the currently running scripts running on the old VM until which time they are recompiled and when they are, swap them over to mono. Unfortunately, I think if they do that, then much of the performance benefits will be pointless, as a significant amount of scripts will still be running on the old VM. Think of all of the scripts in all of the shoes, AOs, dance bracelets, vehicles, sex balls with multiple listens, etc. Huns' question is interesting. Are there really that many scripts in world that rely on a constant, persistent state that would be ruined by a recompile? i would think by now, any script requiring that would be offputting it to an external server and not relying on always being in the item itself. If it isn't, it very well should be.
_____________________
Cristiano ANOmations - huge selection of high quality, low priced animations all $100L or less. ~SLUniverse.com~ SL's oldest and largest community site, featuring Snapzilla image sharing, forums, and much more. 
|
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
|
08-24-2005 10:37
From: Cristiano Midnight Huns' question is interesting. Are there really that many scripts in world that rely on a constant, persistent state that would be ruined by a recompile? i would think by now, any script requiring that would be offputting it to an external server and not relying on always being in the item itself. If it isn't, it very well should be. Storing persistent data to an external server and retrieving it in the event of a reset is not trivial. You have to actually have an external server (costs money) and write some kind of database schema and middle tier software (costs time, effort, and specific skills.) XML-RPC is severely hobbled, so you have to put up with the vagaries of email to make it work, at least initially.
|