An Object can describe itself, a ValueType can't. That is the difference.

A reference is the address that points to an object.

A managed pointer is the address pointing to just a piece of memory.

Chriss.

Jonathan Chayce Dickinson wrote:
>> [...]
>> ref and pointers are not the same. The former points to an object, the
>> later contains only an address. The AOT treats them differently.
>>     
> [Jonathan Dickinson] 
> Hmm... Interesting. However, one thing that I beg to differ is that, is an
> object not only a piece of memory (what is in the actual memory space is
> irrelevant)? So if:
>
> Memory ::= <sequence of bytes>
> Pointer ::= <location> Memory
>
> Object ::= Memory
>   
Object ::= Header + Memory
> Ref ::= <location> Object
>
> Thus:
> Ref ::= <location> Memory
>
> Thus:
>
> Ref == Pointer
>
> I am not stating something, I am trying to clear up a delusion of mine. How
> does the AOT tell them apart, so that we can get the stub generator working?
>
> Also, an interesting exercise with VS.Net is to make a new project.
> Properties on that project, uncheck reference mscorlib.dll and compile. It
> tells you what you need to implement.
>
>   
>> It would be great to take a look at the whole list of stubs.
>>     
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> SharpOS-Developers mailing list
> SharpOS-Developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sharpos-developers
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

Reply via email to