Donate Share

CSTL

Subscribe

NSLT vs CSTL?

  1. nobody

    2007-09-21 22:02:40 UTC
    Without comparing source code, can anyway say whether these are separate projects and which is considered to be in better condition or actively maintained.

    NSTL is located on CodePlex here and is maintained by a different person, "Andy M".
    http://www.codeplex.com/nstl

  2. 2007-09-25 21:09:25 UTC

    I have looked at NSTL. NSTL and CSTL are separate projects. Since I am the creator of CSTL, I am obviously biased, but these are the differences that I see

    - NSTL has more recent additions.
    - NSTL has more collections at the moment.
    - It looks to me that CSTL has more algorithms implemented, but not by much.
    - NSTL is designed to be a direct port of an STL implementation to C# and .NET. CSTL is STL'ish, but I have opted to go in a different direction in some areas. Namely,
    - Algorithms that take IList<T> and IEnumerable<T> methods
    - Overloads that take IComparer<T> and Comparison<T> where appropriate
    - Heavy use of anonymous methods as predicates and function objects.

    NSTL looks good. I think the maintainer knows what he is doing. However, I think the algorithms in CSTL are easier to work with from C# because of what I mention above. See the CSTL readme for more about the philosophy behind the library.

    H^2

< Previous | 1 | Next >

Add a Reply

You can use Markdown syntax in your reply.

Preview

Monitor this

Log in to monitor this topic. Not registered? Create an account to receive email updates when replies are posted to this topic. If you do not log in or register, your reply will be added anonymously.