Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computer Certification > MCSD > Collections Improvement

Thread Tools

Collections Improvement

Posts: n/a
Anyboby aware of any MS initiative to provide an c++ STL
stle Lib withc# Generics coming in .net 2.0!?(I guessed it)

Reply With Quote
Posts: n/a
"Disillusioned_01" <(E-Mail Removed)> wrote:

>Anyboby aware of any MS initiative to provide an c++ STL
>stle Lib withc# Generics coming in .net 2.0!?(I guessed it)

There will be a generics version of the collections in the


namespace ,that much was suggested in Juval Lowy's article
"An Introduction to C# Generics" from August 2003

but nothing approaching the STL.

Generic Containers should perform better and are inherently
typesafe (no casting required).

You have to keep in mind that generics are not templates. If
I understand it correctly generics are not a feature of the
implementation language but of the IL - it would follow that
the generic data type is only expanded once the IL is
compiled to native code - delaying the potential bloat as
long as possible.

Generics only allow types as template parameters - so some
of the meta-programming stunts that Alexandrescu pulled in
his LOKI library just aren't possible with generics.

Meanwhile some people having been using this 'freeware
template-based code generator'

to fill their needs.

Anyway read the above article and judge for yourself.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Performance improvement in the 2.0 framework =?Utf-8?B?TWFyYyBIb2Vpam1hbnM=?= ASP .Net 6 03-22-2006 07:48 PM
Improvement on website MaxMustermann HTML 9 07-25-2005 04:43 AM
IMHO: DataBinding for ASP.NET list controls needs improvement (VS.NET 2003) JV ASP .Net 4 03-18-2005 06:40 PM
Sorting collections based on nested collections Doug Poland Java 9 09-27-2003 10:46 PM
InnerProperty Persistance for Collections containing other Collections mutex ASP .Net Building Controls 0 07-27-2003 02:45 PM