Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Hold on to your hat's guys .. MONO is commin !!

Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
08-21-2008 15:50
I am looking forward to this upgrade. I know the road will bumpy but all sorts of things will improve once we ditch the crusty old LSL engine. Script performance will leap as more scripts get converted and new things will be possible under the new engine. :)
_____________________

Trout Rating: I'm giving you an 8.2 on the Troutchter Earth-Movement Slut Scale. You are an amazing, enchanting woman, and, when the situation calls for it, a slut of the very best sort. Congratulations and shame on you!
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
08-21-2008 16:40
If I recall correctly one might expect mono compiled scripts to occupy more space than the older compiler produced.

Is this going to mean more lag crossing sim borders with mono laden objects due to more bytes to transfer from one sim to the next?
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
08-21-2008 16:43
From: SuezanneC Baskerville
If I recall correctly one might expect mono compiled scripts to occupy more space than the older compiler produced.

Is this going to mean more lag crossing sim borders with mono laden objects due to more bytes to transfer from one sim to the next?
Good question, I don't know. I would hope not. If it turns out to be true then we will have a take na step back instead of forward given how bad border crossings can be.
_____________________

Trout Rating: I'm giving you an 8.2 on the Troutchter Earth-Movement Slut Scale. You are an amazing, enchanting woman, and, when the situation calls for it, a slut of the very best sort. Congratulations and shame on you!
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
08-21-2008 16:56
From: SuezanneC Baskerville
If I recall correctly one might expect mono compiled scripts to occupy more space than the older compiler produced.

Old LSL had a fixed 16K image size, the new stuff is variable (potentially a lot smaller for the really simple scripts out there), so that part might be a wash. More of an open question is how good each VM is at picking up those blobs and continuing with execution.
_____________________
Butch Adzebills
Bold, yet beautiful
Join date: 21 Oct 2006
Posts: 269
08-21-2008 19:38
I'm a scripting no-hoper, so forgive me.

For a while, I would imagine there'll be an optional mono release client and a regular, old fashioned standard client. Will the mono created scripts work in the standard client?
Farallon Greyskin
Cranky Seal
Join date: 22 Jan 2006
Posts: 491
08-21-2008 20:24
I did a fairly thorough testing of mono vs non-mono LSL scripts some time ago and the outcome is a mixed bag.

The actual running of the scripts was a dead heat to nicely faster (like 3-5x faster). It would be pretty rare for anything to run like 220x faster :/ consider twice as fast over all fortunate. Not bad. However there is a HUGE gotcha (Of course, there has to be always!)

The initialization/setup of launching a script in a sim is like 100 times slower. Meaning if a 1500 mono script dragon were to rez into your sim it would probably die for a time. I pulled out like 70 scripts at once and got the sim to lag pretty bad.

Will be fun to see if that problem has been fixed or not in the coming days.
Tod69 Talamasca
The Human Tripod ;)
Join date: 20 Sep 2005
Posts: 4,107
08-22-2008 01:18
From: Colette Meiji
I had it in High School. I'm immune now, right?


My parents thought I had it. Turned out I was just really bored. :D
_____________________
really pissy & mean right now and NOT happy with Life.
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
08-22-2008 01:53
From: Butch Adzebills
I'm a scripting no-hoper, so forgive me.

For a while, I would imagine there'll be an optional mono release client and a regular, old fashioned standard client. Will the mono created scripts work in the standard client?

Script execution is all server-side. When the sim supports Mono, it will be able to run both Mono- and LSL2-compiled scripts, regardless of which version of the viewer one is using.

The problem is with *compiling* scripts: pre-Mono, that happened in the viewer, and the resulting bytecode was uploaded to the sim. With Mono, all script compilation happens on the server, so a new viewer is needed for that.
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
08-22-2008 02:52
And the new viewer is needed to interact with scripts that use the new llDetectedTouch functions as the old viewer will not pass the co-ordinates back to the script.
It is up to the scripter at this point to notify you that your viewer is not supported.
Clubside Granville
Registered Bonehead
Join date: 13 Apr 2006
Posts: 478
08-22-2008 04:19
The new viewer is only necessary to create MONO scripts. Scripts execute on the server (which is why people are asking about their effect during region crossings) so then client isn't an issue.

I think the move to supporting standard Mono languages will come sooner than expected. That is a good thing as LSL is a horribly designed language. Mono is an implementation of Microsoft's .NET technologies which allow multiple "high" level languages compile to an intermediary bytecode that executes in the Virtual Machine. There are dozens of languages available under .NET beyond VB.net and C# and many of them are supported under MONO. Integrating the Second Life-specific functions as libraries to the framework will allow you to combine standard programming constructs with needed SL functions. Add a wealth of existing libraries and things such as remote procedure calls get true error trapping and a wealth of internal data storage options.
_____________________
Second Life Home Page Forums - slhomepage.com

Second Life Handbook - slhandbook.com

Second Life Mainland - slmainland.com
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
08-22-2008 07:15
From: Clubside Granville
The new viewer is only necessary to create MONO scripts. Scripts execute on the server (which is why people are asking about their effect during region crossings) so then client isn't an issue.


Scripts interact with Viewers and a new viewer IS Required if the NEW llDetectedTouch Functions are used. I agree that scripts compiled to MONO that DO NOT use any of the new functions will not need a new Viewer but a blanket statement that the client is not an issue is wrong. Not trying to start a fight, it's just that as this is a non technical forum I would hate for the readers to be misled into thinking that the scripts are broken when, in fact, they need a new viewer to use them.
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
08-22-2008 07:26
The new touch functions were are also added to the old LSL runtime. There are also clients that can compile to Mono, with or without those functions, but not use them. So they're really separate things.
_____________________
Gordon Wendt
404 - User not found
Join date: 10 May 2006
Posts: 1,024
08-22-2008 08:12
From: Very Keynes
Scripts interact with Viewers and a new viewer IS Required if the NEW llDetectedTouch Functions are used. I agree that scripts compiled to MONO that DO NOT use any of the new functions will not need a new Viewer but a blanket statement that the client is not an issue is wrong. Not trying to start a fight, it's just that as this is a non technical forum I would hate for the readers to be misled into thinking that the scripts are broken when, in fact, they need a new viewer to use them.


They don't need a viewer to run them (except for llDetectedTouch etc... scripts) just to edit them, I think your confusing the two in this case since having a viewer to deal with mono is only relevant for script writers and those that want to recompile scripts in mono.

I'm sure this probably been mentioned earlier in this thread but I believe currently the beta viewer is the only one that has client side mono support since I don't think the rc is out yet for mono.... Ctrl G will bring up the change grid dialog and you can change aditi to agni though to get a mono viewer that works on the main grid now.
_____________________
Twitter: http://www.twitter.com/GWendt
Plurk: http://www.plurk.com/GordonWendt

GW Designs: XStreetSL

Lindal Kidd
Dances With Noobs
Join date: 26 Jun 2007
Posts: 8,371
08-22-2008 08:58
From: Leslie Trihey
Hope I don't lose my hat.


Any new feature were you lose your hat is a bad feature.


/me stands up and claps! :D

But you heff to do de aggzent or pipple von't get de referenze.
_____________________
It's still My World and My Imagination! So there.
Lindal Kidd
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
08-27-2008 19:44
From: Gordon Wendt
Ctrl G will bring up the change grid dialog and you can change aditi to agni though to get a mono viewer that works on the main grid now.


Pressing CTRL-G when?
_____________________
Thread attempting to compile a list of which animations are freebies, and which are not:

http://forums.secondlife.com/showthread.php?t=265609
Gordon Wendt
404 - User not found
Join date: 10 May 2006
Posts: 1,024
08-27-2008 19:58
From: Chaz Longstaff
Pressing CTRL-G when?


Oh, on the login screen, press control G and a new dropdown box will appear showing the different grid identifiers.
_____________________
Twitter: http://www.twitter.com/GWendt
Plurk: http://www.plurk.com/GordonWendt

GW Designs: XStreetSL

1 2