BT

InfoQ Homepage News Second Life Now Running Mono Trials

Second Life Now Running Mono Trials

Bookmarks

The popular virtual world Second Life is now publicly testing a Mono viewer. When in a Mono region, this viewer allows LSL scripts to be compiled against Mono. In theory, this will provide reduced lag and improved stability for Second Life users. According to Linden Labs, early results are promising:

We've run some benchmarks to compare the performance of the LSL2 virtual machine and the Mono VM. When we run the tests side by side we found that Mono is up to 220x faster than LSL2. These benchmarks were math intensive scripts usually used to evaluate performance. Once we get the beta program going we hope to get input from residents on Mono performance with more typical SL scripts.

Script performance is an essential consideration for Second Life. Unlike most online worlds, Second Life relies heavily on user-generated scripts. Even the simplest objects may have some scripting attached to them and a given server may be running hundreds of them simultaneously.

Since the LSL byte code isn't directly translatable into the IL byte code used by Mono, only scripts that still have the original LSL source code can be ported. Also, the Mono VM only accepts raw source so no "pre-compiled" .NET code can be inserted. Presumably this could change if Linden Labs follows their current plan of eventually opening it up to other .NET languages.

It was first announced that Linden Labs was considering Mono in August 2005.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • cool!

    by Lu Laser /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    very glad to see that!

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.