[DotGNU]Re: [Mono-list] Mono / C# on PDAs
Paolo Molaro
lupus@ximian.com
Tue, 26 Nov 2002 15:41:46 +0100
On 11/25/02 Stefan Matthias Aust wrote:
> Even the most current Java VM from Sun has the problem that each
> application has its own heap which contains its own copy of the classes,
> duplicating everything. Normally, this is no problem on desktop PCs but
> for a PDA with restricted memory, that can become an issue.
>
> Can mono/pnet share system classes (loaded from mscore.dll and other
> libs) or will it behave like Sun's Java VM?
What you can do with mono is to load different applications in their own
application domain: this is a feature of the CLR that allows sandboxing
applications inside a single process space. This is usualy exploited to
compartmentalize different parts of the same app, but it can also be
effectively used to reduce the startup and memory overhead.
Using different appdomains the runtime representation of types and
methods is shared across applications.
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better