All pastes #62961 Raw Edit

Miscellany

public text v1 · immutable
#62961 ·published 2006-06-07 15:13 UTC
rendered paste body
<h1>Microthreading with Mono</h1>

	<p>Jim Pubrick has written an <a
	href="http://secondlife.blogs.com/babbage/2006/05/microthreading_.html">interesting
	blog entry</a> detailing how they are using Mono on Second
	Life.  Second Life is using Mono to run the user-provided
	scripts with native code (which am told can be up to 150 times
	faster than the current engine).

	<p>SecondLife is using Mono in a non-conventional way, which I
	like to think is one of the benefits of having an open source
	engine, they have added a micro-threading implementation.

	<p>Microthreading was necessary because some of their
	simulations are made up of thousand of threads/routines, and
	using the default threads in Mono (which are mapped to
	operating system threads) would have been too heavy.

	<p>Their micro-threading implementation is different than
	Tomi's <a href="http://bat.org/~tomba/monoco.html">recent
	continuation</a> work in that Second Life has added support to
	"migrate" running code across machines.