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.)
August 7th, 2006 at 11:08 pm
Ooh, now I’m intrigued. I need to see this, and preferably a transcript…
August 7th, 2006 at 11:21 pm
I really want to see the slides from the presentation ;0 or preferably VIDEO ;0
August 8th, 2006 at 2:14 pm
[...] You don’t know her, maybe, as the most dangerous woman alive, but Catherine Omega just started blogging for the first time at catherineomega.com, and came out of the gate blazing with a part-one post on verified accounts and trust metrics and also pointers to the news about LSL-to-Mono port. You gotta wonder when her first post is code: state_entry(), exactly how valuable she’s gonna be as her blog evolves. I’m thinkin, quite. [...]