dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pnetlib architecture (was Re: [DotGNU]Gnome to be based on .NET)


From: Gopal.V
Subject: Re: pnetlib architecture (was Re: [DotGNU]Gnome to be based on .NET)
Date: Tue, 5 Feb 2002 10:59:55 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, S11001001 wrote:
>> First I though the low-level classes contained OS native calls, but that's 
>> not the case? The low-level classes contain methods that's specific for pnet 
>> and pnet uses OS native calls?
> 
> They may. pnet is written in C(++?), so it has to rely on native calls :)
        Actually you might find it interesting to read the "pnet/engine/lib_*.c"
files, this is where the Pnet's native methods are implemented. They are not
called native methods, but as internal-calls. These are not standardised,
and may be defined in any way you like. So Mono & Pnet have different
internal-calls and their classes abstracting these calls are not cross-
compatible.

        So lowlevel classes contain internal-call methods, and these in turn
are implemented in Pnet using OS native calls when necessary. So if someone
implements all the internal-calls in Pnet in a new CLR in a cleanroom fashion,
they can use the Pnetlib. Read the "pnetlib/doc/native.html" for a list of
all the internal calls.


Gopal.V

PS: Native methods are methods *outside* the VM which can be called from
    a C# class. Internal-calls are methods *inside* the VM which can be 
    called using an abstracted C# method. eg...System.Math.Log()
-- 
 The difference between insanity and genius is only measured by success
 //===<=>===\\
|| GNU RULEZ ||
 \\===<=>===//


reply via email to

[Prev in Thread] Current Thread [Next in Thread]