Monday, December 06, 2004

I HATE STL !!!

9 Comments:

At December 6, 2004 at 7:41 PM, Blogger Alex Pilchin said...

LOL .. please clarify :)

I actually think its not that bad ... although I've seen better libraries that in some instances partialy wrapped around STL for certain objects.

 
At December 7, 2004 at 12:57 PM, Blogger Ilyia Kaushansky said...

indecipherable compile time error messages, lack of proper documentation.. need I say more ?

 
At December 8, 2004 at 12:17 PM, Blogger Alex Pilchin said...

http://www.sgi.com/tech/stl/ --Full documentation
http://www.cppreference.com/ - Some common objects and helpful for searching
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang98/HTML/INDEX_Table_of_Contents.asp#STL
http://www.cplusplus.com/ref/#libs -- Good for IO

 
At December 8, 2004 at 7:55 PM, Blogger Diego Matute said...

I agree. STL is ok for beginners but there are much better libraries. Limited control over whats going on, memory leaks in hash implementations, its has some problems.

One solid alternative : QT http://www.trolltech.com/

 
At December 8, 2004 at 10:28 PM, Blogger Ilyia Kaushansky said...

What do you mean memory leaks in hash map implementation?? Aren't there a bunch of different implementations? Which implementation are you talking about ?

 
At December 8, 2004 at 10:34 PM, Blogger Diego Matute said...

I think it was SGI implementation.

 
At December 8, 2004 at 10:38 PM, Blogger Diego Matute said...

Which implmentation are you using??

 
At December 8, 2004 at 10:54 PM, Blogger Alex Pilchin said...

Ok, It looks like hash maps are not part of standard STL , but some companies chose to include it; apparently MS doesn't support it by default in VS 6.0 or .NET.

"hash_map was introduced by SGI and is present in only some implementations of the STL", More here ... towards the bottom. http://forums.devshed.com/t55093/s.html

 
At December 8, 2004 at 10:59 PM, Blogger Ilyia Kaushansky said...

Interesting. I don't know which one I'm using.. whichever one comes with GCC if I'm working from home, or whichever one is used by Google at work. I really doubt that Google would use a hash_map with a memory leak though.

 

Post a Comment

<< Home