The future of Second Life … continued

Ok, so it seems I don’t need to continue this article. Linden Labs has gone public with their plans. And I was right, they will be the virtual bank. http://secondlife.reuters.com/stories/2007/08/25/exclusive-philip-rosedale-interview-from-slcc/ They will also make money from connection fees from people who wants to connect a simulator to the Grid.

Test

Testing post from Windows Live Writer… :)

WIKI updated with info on scripting

I’ve updated the OpenSim Wiki with: General info about scripting in OpenSim llFunction implementation status And some information about the DotNetScriptEngine internals

Small stresstest

114 scripts loaded. 1 script per AppDomain. Most scripts are alone inside a prim, except the big box over there that has something like 10 scripts in it (it is bigger so I could fit more scripts into it). My computer is a 2,8GHz Prescott with 2GB RAM and Windows Vista Ultimate.60 of the scripts run the timer… Read More »

So where are we now?

[Updated Monday 13:45 GMT+1][Updated Wednesday 21:45 GMT+1][Updated Saturday 22:45 GMT+1] As always its important with a summary for those who don’t want to read techie details. Here is current status of LSL script support:+ We have LSL script support.+ We can run hundreds of scripts simlutaneously, probably not thousands (needs testing). We have confirmed 50 simultaneous scripts without… Read More »

Introduction of a new class

Some LL-commands takes longer to return. These often return with a event. For example llSetTimerEvent(10) will return a timer() event every 10 seconds. llHttpRequest() will return when it receives answer from HTTP-server. To handle these types of requests a new class has been added as a subclass of ScriptEngine. The class is named LSLLongCmdHandler.cs. This class will contain… Read More »

Speed

I’ve added support for multithreading execution of script events. Only one object will be processed at the time. This will benefit from MultiCore CPU’s. Though it makes each call more expensive because we have to keep track of mutexed objects. Also added caching of event binding (function call) so we only use Reflection on first execution of a… Read More »

AppDomains

.Net does not allow unloading of assemblies. If you want to unload an assembly you have to unload the whole AppDomain. I’ve created AppDomainManager that handles creating AppDomain, finding a free AppDomain, loading scripts into it, and unloading AppDomains with no active scripts in them. Its purpose is to create AppDomains and put X number of scripts into… Read More »

llFunction interface/empty prototypes

Charles Krinkle has helped in adding interface and necessary empty prototype implementations of base class for the compiled script. Almost all functions has been implemented (they contain no code yet though). This helps me test the compiler on all kinds of scripts without getting errors. Thanks dude! :)