
Thoughts ?
http://blog.secondlife.com/2008/08/20/mono-launch/
These forums are CLOSED. Please visit the new forums HERE
Hold on to your hat's guys .. MONO is commin !! |
|
|
Lostmedia Ares
Drinking tea
Join date: 6 Sep 2006
Posts: 290
|
08-21-2008 05:47
Get set for a bumpy few weeks ... this conversion might be the best thing to happen in SL for a while .... Or the worst !!
![]() Thoughts ? http://blog.secondlife.com/2008/08/20/mono-launch/ _____________________
Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
|
|
Steely Carver
The dreamer or the dream?
Join date: 10 Nov 2007
Posts: 515
|
08-21-2008 05:53
Get set for a bumpy few weeks ... this conversion might be the best thing to happen in SL for a while .... Or the worst !! ![]() Thoughts ? http://blog.secondlife.com/2008/08/20/mono-launch/ Being a Linux user, I think Mono will be an asset for those who choose alternate operating systems. I don't know what it will be like from the coder's point of view, but I think it is a good move. I'm sure there will be bumps in the road ahead, however. _____________________
It is a tale told by an idiot, full of sound and fury, signifying nothing.
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
08-21-2008 05:55
It'll be good. There will be glitches, no doubt, and possibly some rollbacks before everything is complete, but Mono is both a win for scripters and a necessary step for grid security.
(I'm just hoping they don't get trigger-happy and disable LSL2 compatibility mode for, oh, say, a decade or so.) |
|
Darkness Anubis
Registered User
Join date: 14 Jun 2004
Posts: 1,628
|
08-21-2008 06:06
This whole Mono thing has me baffled.
Does it mean I have to learn a whole new scripting language or can I keep going my merry way with LSL? |
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
08-21-2008 06:11
(I'm just hoping they don't get trigger-happy and disable LSL2 compatibility mode for, oh, say, a decade or so.) There is an interesting little twist in the 1.21 viewers, even old LSL is compiled on the server now. This is listed as part of the security changes, so I'm curious how long compiling will still work on older viewers and custom preprocessors. _____________________
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
08-21-2008 06:16
Does it mean I have to learn a whole new scripting language or can I keep going my merry way with LSL? The language is pretty much identical, nearly all scripts run as-is just by saving with the Mono box checked. The old LSL will stay around for a while, so you will have time to find out what's gone wrong and how to tweak it if your script is one of the exceptions. _____________________
|
|
Tali Rosca
Plywood Whisperer
Join date: 6 Feb 2007
Posts: 767
|
08-21-2008 06:25
The scripting language, LSL, remains the same. But you now have a choice to compile to either LSL2 bytecode, or Mono bytecode. (Or, will have, once the next viewer is released).
Mono-compiled scripts will run faster when doing calculations, but remain largely the same when "touching" the rest of the world, since that is, after all, not really the script but the sim server doing that work. You have more memory available (64k vs 16k) if choosing to compile to Mono, though some scripts may also *require* more memory, eating away at the additional memory available. We may at some point see some better language features sneaking their way into (Mono-compiled) LSL, and somewhere far down along the line, we may be able to program for SL in other languages. But for now LSL is the same as always; it just gets a "go faster" checkbox. As for thoughts, I am stoked about the future possibilities, but with this server roll-out, it's really the touch positioning which is the great news. |
|
Darkness Anubis
Registered User
Join date: 14 Jun 2004
Posts: 1,628
|
08-21-2008 06:29
The scripting language, LSL, remains the same. But you now have a choice to compile to either LSL2 bytecode, or Mono bytecode. (Or, will have, once the next viewer is released). Mono-compiled scripts will run faster when doing calculations, but remain largely the same when "touching" the rest of the world, since that is, after all, not really the script but the sim server doing that work. You have more memory available (64k vs 16k) if choosing to compile to Mono, though some scripts may also *require* more memory, eating away at the additional memory available. We may at some point see some better language features sneaking their way into (Mono-compiled) LSL, and somewhere far down along the line, we may be able to program for SL in other languages. But for now LSL is the same as always; it just gets a "go faster" checkbox. As for thoughts, I am stoked about the future possibilities, but with this server roll-out, it's really the touch positioning which is the great news. OK let me see if I get this. If I write a new script in LSL then save it with Mono checkbox ticked. I am all good to go. If I resave an older script with the Mono checkbox ticked I may or may not be ok. Is there a list somewhere of what is likely to break with Mono? |
|
Infrared Wind
Gridologist
Join date: 7 Jan 2007
Posts: 662
|
08-21-2008 06:30
Seems like a VERY good thing to me. Looking forward to seeing performance improvements in my scripts.
|
|
Ghosty Kips
Elora's Llama
Join date: 2 May 2008
Posts: 2,386
|
08-21-2008 06:48
As an SL racing enthusiast, Mono has to be a good thing indeed.
Anything that causes math to compute faster will mean a performance boost for scripted racing, and other vehicles too I imagine._____________________
--
Why aren't you doing something more useful, like playing WoW? |
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
08-21-2008 06:51
OK let me see if I get this. If I write a new script in LSL then save it with Mono checkbox ticked. I am all good to go. If I resave an older script with the Mono checkbox ticked I may or may not be ok. Is there a list somewhere of what is likely to break with Mono? There are some changes with handling numbers, problems that used to crash scripts might instead return not-a-number values. The character set changed to a newer version of Unicode, find "known differences" in http://wiki.secondlife.com/wiki/Mono Scripts that depended on LSL running at a certain speed might break ("it takes half a second for this to run, so I don't need to check the time" assumptions will bite). Anything that checks for 16K of memory may display goofy % free values or give up earlier than it needs to. Some of the odd little optimizations that made old LSL run faster or use less memory won't really make a difference any more. _____________________
|
|
Tod69 Talamasca
The Human Tripod ;)
Join date: 20 Sep 2005
Posts: 4,107
|
08-21-2008 07:45
I was playing with the standard Freebie scripts on the Beta Grid & didnt see any difference so far other than the Mono/LSL checkbox when saving.
Now if we could cram 40-60 people in an older Sim, with everyone running AO's and other running scripts, and see how it runs both ways would be interesting to do. _____________________
really pissy & mean right now and NOT happy with Life.
|
|
Tali Rosca
Plywood Whisperer
Join date: 6 Feb 2007
Posts: 767
|
08-21-2008 08:11
As an SL racing enthusiast, Mono has to be a good thing indeed. Anything that causes math to compute faster will mean a performance boost for scripted racing, and other vehicles too I imagine.Not really. Vehicles rely mostly on the physics calculations of the sim; not a script doing heavy calculations. |
|
Tali Rosca
Plywood Whisperer
Join date: 6 Feb 2007
Posts: 767
|
08-21-2008 08:17
OK let me see if I get this. If I write a new script in LSL then save it with Mono checkbox ticked. I am all good to go. If I resave an older script with the Mono checkbox ticked I may or may not be ok. Is there a list somewhere of what is likely to break with Mono? The intention was that nothing should break; much effort was put into making it one-to-one compatible. So bar specific, quirky edge cases, you should be able to simply tick "compile to Mono" and (re)compile. There isn't really any difference between writing a new script and recompiling an old, but old scripts may rely on such edge cases (notably execution speed, as Viktoria mentions). |
|
Ghosty Kips
Elora's Llama
Join date: 2 May 2008
Posts: 2,386
|
08-21-2008 08:42
Not really. Vehicles rely mostly on the physics calculations of the sim; not a script doing heavy calculations. True for the physics calculations, but what about the math involved in varying turning to attained speed, accelleration and braking, downforce, and so forth? The physics are the same for everyone, but how those physics are applied is controlled by the script. That would be the math I'm referring to here. _____________________
--
Why aren't you doing something more useful, like playing WoW? |
|
Darkness Anubis
Registered User
Join date: 14 Jun 2004
Posts: 1,628
|
08-21-2008 08:45
Thanks for all the answers and the wiki link. Doesnt look like this change is gonna negatively impact the family businesses so I am going to breath a big sigh of relief. I wont have to deal with 150+ simple vendors suddenly not being able to add.
![]() |
|
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
|
08-21-2008 08:50
This doesn't affect you unless you are going out and kissing other avatars, right?
_____________________
![]() "There's nothing objectionable nor illegal in having a child-like avatar in itself and we must assume innocence until proof of the contrary." - Lewis PR Linden "If you find children offensive, you're gonna have trouble in this world " - Prospero Linden |
|
Ghosty Kips
Elora's Llama
Join date: 2 May 2008
Posts: 2,386
|
08-21-2008 08:52
This doesn't affect you unless you are going out and kissing other avatars, right? zomg, I knew there had to be a catch ![]() _____________________
--
Why aren't you doing something more useful, like playing WoW? |
|
Tali Rosca
Plywood Whisperer
Join date: 6 Feb 2007
Posts: 767
|
08-21-2008 11:43
True for the physics calculations, but what about the math involved in varying turning to attained speed, accelleration and braking, downforce, and so forth? The physics are the same for everyone, but how those physics are applied is controlled by the script. That would be the math I'm referring to here. While there is *some* math involved there, it's unlikely that you'll see much difference. That's really usually a couple of multiplications; nothing which brings a sim to it's knees. It's only if you're spinning tight loops of math you'll see any difference in individual scripts. The huge speed boosts sometimes quoted are for things like calculating fractals, not for doing a couple of multiplications when the user presses a key. That said, there's an overall benefit in lighter script load; anything taking pressure off a sim host benefits the total experience. Just don't expect sudden, dramatic increases in everything around you, or you're setting yourself up to be disappointed. |
|
Kitty Barnett
Registered User
Join date: 10 May 2006
Posts: 5,586
|
08-21-2008 12:48
There is an interesting little twist in the 1.21 viewers, even old LSL is compiled on the server now. This is listed as part of the security changes, so I'm curious how long compiling will still work on older viewers and custom preprocessors. )On-topic: Mono will have an impact on a limited number of scripts and will have an impact on scripting (language) features, but other than that things will remain more or less the same. Existing scripts stay as they are so a sim's script load isn't going affected in any way and as far as Mono scripts goes: any gain will be overshadowed by people jumping to take advantage of new performance and the larger memory chunk so as Mono compiled scripts replace LSL2 ones the script load will just remain what it is. |
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
08-21-2008 13:17
Existing scripts stay as they are so a sim's script load isn't going affected in any way and as far as Mono scripts goes: any gain will be overshadowed by people jumping to take advantage of new performance and the larger memory chunk so as Mono compiled scripts replace LSL2 ones the script load will just remain what it is. Caveat 1: As already mentioned, Mono memory management is different enough from LSL2 that not all scripts will see much more usable storage than before. Caveat 2: Not all multiple-script applications are multiple because of memory limitations, by any means; typical exceptions are those that need to have permissions from multiple avatars, and those that are working around built-in script delays. But now that you mention it, yeah, as far as sim performance is concerned, dramatically reducing scripted primcount in things like vendors, chessboards, etc.--possible with the upcoming llDetectedTouch*() functions--will probably improve sim performance more than does Mono, actually. |
|
Shirley Marquez
Ethical SLut
Join date: 28 Oct 2005
Posts: 788
|
08-21-2008 13:47
This whole Mono thing has me baffled. Does it mean I have to learn a whole new scripting language or can I keep going my merry way with LSL? Right now; you'll still be programming in LSL. If you choose to compile to Mono (which will be optional in the 1.21 viewer), your code will be compiled to Mono and executed by its runtime engine, instead of being executed by the current LSL runtime. It's likely that compiling new scripts to Mono will become mandatory at some future time, after LL is certain that everything is working well. Runtime support of old LSL scripts will not go away any time soon, as there are existing objects containing compiled scripts for which the source code no longer exists. In the future, LL may make it possible to write scripts in languages other than LSL; Mono will make that easier to do, and it sure would be nice to have a language with real data structures and objects! Any other language would have to be augmented with SL-specific function calls, and vector and quaternion data types, comparable to the ones currently available in LSL, so I don't see that being a near-term project. |
|
Brenda Connolly
Un United Avatar
Join date: 10 Jan 2007
Posts: 25,000
|
08-21-2008 15:00
I see a lot of inventory deleting in my future
_____________________
Don't you ever try to look behind my eyes. You don't want to know what they have seen.
http://brenda-connolly.blogspot.com |
|
Leslie Trihey
Crazy shapeshifter.
Join date: 10 May 2007
Posts: 136
|
08-21-2008 15:09
Hope I don't lose my hat.
Any new feature were you lose your hat is a bad feature. |
|
Colette Meiji
Registered User
Join date: 25 Mar 2005
Posts: 15,556
|
08-21-2008 15:30
This doesn't affect you unless you are going out and kissing other avatars, right? I had it in High School. I'm immune now, right? |