www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dtl - MinTL update

reply Ben Hinkle <bhinkle4 juno.com> writes:
I've added three new containers to MinTL:
- singly linked list
- concurrent queue as a circular singly linked list
- dualqueue with per-thread node pools

Included are implementations of compare-and-set (32 and 64 bit) for win32
and Linux.

usual place: http://home.comcast.net/~benhinkle/mintl/

-Ben
Aug 28 2004
parent reply Gold Dragon <dragonwing dragonu.net> writes:
Ben Hinkle wrote:
 I've added three new containers to MinTL:
 - singly linked list
 - concurrent queue as a circular singly linked list
 - dualqueue with per-thread node pools
 
 Included are implementations of compare-and-set (32 and 64 bit) for win32
 and Linux.
 
 usual place: http://home.comcast.net/~benhinkle/mintl/
 
 -Ben

Has the MinTL and DTL been worked out on whether or not they will combine or something? I'm still waiting for DTL and D to mature before I start using them. All the projects so far just blow my mind. In that, it is good since D now has somethings I wish were in C++ (or I just can't find them for C++, Demios is pretty awesome).
Aug 28 2004
next sibling parent Ben Hinkle <bhinkle4 juno.com> writes:
Gold Dragon wrote:

 Ben Hinkle wrote:
 I've added three new containers to MinTL:
 - singly linked list
 - concurrent queue as a circular singly linked list
 - dualqueue with per-thread node pools
 
 Included are implementations of compare-and-set (32 and 64 bit) for win32
 and Linux.
 
 usual place: http://home.comcast.net/~benhinkle/mintl/
 
 -Ben

Has the MinTL and DTL been worked out on whether or not they will combine or something? I'm still waiting for DTL and D to mature before I start using them. All the projects so far just blow my mind. In that, it is good since D now has somethings I wish were in C++ (or I just can't find them for C++, Demios is pretty awesome).

Maybe but there are a number of decisions that seem to be pretty different so it won't be completely trivial. Eventually I was going to see how hard it would be to wrap some MinTL stuff (say the rbtree) to work in DTL but to be honest I had a hard time figuring out DTL. So much was commented out I couldn't tell what to do to add a new container. -Ben
Aug 28 2004
prev sibling parent John Reimer <brk_6502 NOSP_AM.yahoo.com> writes:
Gold Dragon wrote:
 Ben Hinkle wrote:
 
 
 Has the MinTL and DTL been worked out on whether or not they will 
 combine or something?
 
 I'm still waiting for DTL and D to mature before I start using them. All 
 the projects so far just blow my mind. In that, it is good since D now 
 has somethings I wish were in C++ (or I just can't find them for C++, 
 Demios is pretty awesome).

Perhaps it might be best that they remain separate for awhile. It would be nice to see alternatives evolve on their own.
Aug 28 2004