Omega Point

A blog by Catherine Winters

07 Aug

Miguel de Icaza on the LSL-to-Mono port


Mono project founder Miguel de Icaza writes about Linden Lab’s presentation at Lang.NET 2006 in which Cory and Babbage Linden described the upcoming move to the Mono CLI.

The challenge is to stop and save a running script. This is something that is relatively easy done with their scripting language, but it becomes trickier with the CLI.

Their implementation instruments the generated CIL assembly to allow any script to suspend itself and resume execution on demand. This is a bit like continuations, the main difference is that the script does not control when it is suspended, the runtime does. The instrumentation basically checks on every back-branch and on every call site whether the script should stop (in Jim’s words, “eventually, you run out of method, or you run out of stack”) and if it must stop, it jumps to the end of the method where a little stub has been injected that saves the state in a helper class and returns.

A very clever idea. Hopefully the slides for the presentation will be posted soon.

I’d very much like to have attended that presentation, and I’d be interested in seeing those slides as well.

Following my attorney’s advise I have obtained a Second Life account.

Welcome to Second Life, Miguel!

(Link stolen from Baba Sucks.)


Filed under: LSL


3 Responses to “Miguel de Icaza on the LSL-to-Mono port”

  1. By Siobhan Taylor on Aug 7, 2006 | Reply

    Ooh, now I’m intrigued. I need to see this, and preferably a transcript…

  2. By Baba on Aug 7, 2006 | Reply

    I really want to see the slides from the presentation ;0 or preferably VIDEO ;0

  1. 1 Trackback(s)

  2. Catherine Omega, new blogger at Eric Rice

Post a Comment