Wednesday, September 17, 2003 - Posts

Another article on Generics.

I bumped onto an article on Gyro. It's about working with Generics in Rotor ! In case you didn't know, Gyro is a set of files that convert an existing installation of the Microsoft Shared Source CLI to support generic type definitions and generic methods.

Not a very comprehensive read but is good enough for a start :)

Feed URI formats.

This is an addendum to my post on standardising feed URI ! There is one awesome discussion going on which started off from here .. It's the discussion to standardise the URI format for RSS, RDF and ATOM feeds and the subscription mechanism for doing the same for aggregators ...

Also check out this article on why this idea came into picture and the list of aggregators that will support this type of URI syntax in the near future.. Hope to see SharpReader too there soon .. Also Greg Reinacker's points out to a tutorial that shows how to register an application to a URL protocol ! Perfect.

Dotnetjunkies weblog home page

There is something absolutely wrong with the Dotnetjunkies weblog homepage !! Donny is there a maintenance or something like that going on ?! I thought there is something cranky with my system alone .. But Nope... The html source looks ok though or probably i might have missed out something ! Something wrong with the formatting ..

Inside Generic types.

<Quote>

 Normally, the definition of a method directly defines what the method does. A generic method definition, on the other hand, defines what its constructed method instances will do. The generic method itself does nothing but act as a model for how specific instances are constructed. CompareHashCodes<T> is a generic method from which method instances that compare hash codes are constructed. A constructed instance, such as CompareHashCodes<Int32>, does the actual work; it compares hash codes of integers. In contrast, CompareHashCodes<T> is one level of indirection removed from being callable.

  Generic types are similarly one level of indirection removed from their simple counterparts. A simple type definition such as a class or structure is used by the system to create objects in memory. For example, the System.Collection.Stack type in the class library is used to create stack objects in memory. In a way, you can think of the new keyword in C# or the newobj instruction in intermediate language code as an object factory that creates object instances using a managed type as the blueprint for each object.

  Generic types, on the other hand, are used to instantiate closed types rather than object instances. A type, constructed from a generic type, can then be used to create objects.

</Quote>

.NET - Introducing Generics in the CLR. Beautifully said by Jason Clark. I have some thoughts on this.. Will pour them out when i get some time ...