Can I have a question? How is your Queue implementation differing from the std::queue in the STL?
I find STL pretty handy if you wrap classes around them for your needs, but I don't see why you'd totally avoid them.Quote:
Most people will argue otherwise but I think you should avoid STL, and create your own wrappers whenever possible >_>
It's not IDisposable as in the .NET's IDisposable, same naming but different function. It is just a thread-safe referenced smart pointer which destroys objects after they're done with(from what I know).Quote:
Edit:
I don't see a use for an IDispoable in C++.
Exactly as this 'unknown' guy above me says:pQuote:
I find STL pretty handy if you wrap classes around them for your needs, but I don't see why you'd totally avoid them.
It's not IDisposable as in the .NET's IDisposable, same naming but different function. It is just a thread-safe referenced smart pointer which destroys objects after they're done with(from what I know).
Ah ok, that makes a little more sense. The reason I avoid STL is because half the time when you recode the shit yourself it's 1000x faster.Quote:
I find STL pretty handy if you wrap classes around them for your needs, but I don't see why you'd totally avoid them.
It's not IDisposable as in the .NET's IDisposable, same naming but different function. It is just a thread-safe referenced smart pointer which destroys objects after they're done with(from what I know).
Well, once I first picked up on this; I stayed as far a way from STL as I possibly could. Any chance of you guys actually committing to the revision? I wouldn't mind pitching in a bit of help if you can specify what needs to be done.Quote:
It is true that half.. well most of the STL classes are slow but if you test against something like map<key, value>, the results of searching/inserting/removing are pretty close to the R-B trees time complexity ( O(log N) ); so it's not that bad in some cases after all.
The first revision is near to be done, I'm just finishing some network wrappers.Quote:
Well, once I first picked up on this; I stayed as far a way from STL as I possibly could. Any chance of you guys actually committing to the revision? I wouldn't mind pitching in a bit of help if you can specify what needs to be done.
Also, I assume you want this to be cross-platform (because your using boost instead of Windows Library functions), correct?
Ah, ok. No problem. I'll check back now and again then and wait for the first rev'.Quote:
The first revision is near to be done, I'm just finishing some network wrappers.
But if you want to see it before the first revision is committed you can send me a PM. Oh and yes this is going to be cross-platform.