« C U in RL in SL | Main | Your You're The Boss »

December 21, 2005

Mono Log

Lots of progress on the Mono front: LSL scripts can now be optionally compiled to CIL assembler in the viewer, uploaded to the simulator, assembled, verified, saved as assets, rezzed, run on the Mono virtual machine, persisted, reset and migrated across region boundaries between simulators.

Below: the first cilbyte asset; the first LSL script compiled to CIL assembler in the viewer and then rezzed in a simulator; the first region boundary crossing by a Mono script; LSL and Mono versions of a script running side by side.

Cilbyte Helloavatarmono Regioncrossingmono Monovslsl2

Comments

I've got to ask... What's in the God menu?

That's SO cool. I just hope you'll create some standalone APIs so we can use an compilation environment of our choice. ^^

Great work!

*drools at the asset server* cool way of limiting the asset dump... what is the type number for cilbyte? would it be 23?
I was wondering how things were stored on the server since they had the same uuid.

The Guardian Unlimited is pretty good with computer news.

So... when can we play with it? ^_^

ETA for delivery? :)

Burp
Andrew Linden said:
I'll bet you'll be able to run your own tests sometime in January.
http://forums.secondlife.com/showthread.php?p=813129

I'm glad to hear that its on track with the ETA given last year (which was Q1 '06).

Blind, Thanks for pointing me to the forum thread. I've added a few more details and clarifications there.

Trust Andrew to start throwing dates around after I'd been studiously avoiding any mention of release dates for months ;-)

Anyway, it's looking good. There are a few more kinks I need to straighten out and a lot of testing to be done, but sometime in January for a first look seems reasonable.

Happy New Year!

So, when are you going to let us use trusted parts of the Mono common library from LSL?

:)

So if I was sadistic enough could I write Second Life scripts in native CIL? Actually this would be quite useful. I could use my own CIL compiler for my favorite language and then paste in the resulting CIL into my Second Life scripts.

Kitten, opening up parts of the .NET framework should be pretty easy and I'd like to do it as soon as we have Mono in and stable.

Gordon, yes you could use CIL to script Second Life right now if the client didn't try to compile it and passed it straight on to the simulator (I don't actually think CIL's not that bad for an assembly language, but then I've written a compiler that targets it).

So, January has come and gone. Can we expect any MONO tests in Feb or March?

Any ETA on when I can start writing stuff in C#? LSL is really starting to get on my nerves lol.

paulie, a Mono simulator is currently running and being tested within Linden Lab and I'm currently working on the remaining issues that we need to resolve before we can open the test up to residents.

It's march now... any updates?

I love how everyone immediately assumes Mono implementation in SL means they will be able to write scripts in C#.

Mono != C#

Some implementations of Mono come with a C# CIL bytecode compiler. But it appears that Linden Labs will not be providing C# to us anytime soon.

still waiting. :)

are we there yet? everyone would appreciate a progress update...

So I decided to abstain from Second Life for a while until the Mono VM is done being implemented.

BTW, for those who have doubts. It wouldn't make much sense at all for LL to not allow C#. They don't even need to include a Mono compiler, they can just support CIL code. Programmers can compile the C# to CIL and then just paste that into Second Life. Mono is quite flexible. Second Life doesn't need any compilers for someone to write code in most languages.

Any updates on the mono status?

I'm currently waiting on the implementation of bytecode verification and full assembly unloading in Mono, which we need before we can do a public test. I'm working with the Mono team to get these features implemented, but feel free to help out :-)

well ... its been quite a while and no word yet, still waiting on the bytecode verification and assembly unloading?
couldnt be that hard can it?
i mean, i know how long some things take to impliment i have experience in this area.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment