STLport

This is a discussion on STLport within the C++ Programming forums, part of the General Programming Boards category; Do you guys use STLport? What are the benefits? Should I consider using it? Thanks for help...

  1. #1
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630

    STLport

    Do you guys use STLport?
    What are the benefits?
    Should I consider using it?

    Thanks for help

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Are you unsatisfied with the standard library provided by your compiler? Do you need any of the additional features STLPort provides? Then you should consider using it.

    If not, just stay with your compiler's default standard library. Nothing special is required to use that.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630
    I'm satisfied with the standard libary, but I wouldnt bother additional features..

    I looked on their website about STLport features. However, I didnt quite get it..
    Is there any particular reason that would make it better than standard libary?
    Such as portability? Is efficiency much better? Maybe anything else?

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    You would have to compare. Portability is not much of an issue, unless the lib you're using has bugs. As for the features, rope can be useful for special applications; other than that, I don't see anything terribly useful that isn't in Boost or TR1.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630
    Quote Originally Posted by CornedBee View Post
    You would have to compare. Portability is not much of an issue, unless the lib you're using has bugs. As for the features, rope can be useful for special applications; other than that, I don't see anything terribly useful that isn't in Boost or TR1.
    Whats TR1?

  6. #6
    Registered User
    Join Date
    Jan 2005
    Posts
    7,328
    The C++ standards committee approved of several libraries and additions to existing libraries, many of which came from boost, and called it Technical Report 1 (or TR1). The point was to agree on items that will almost certainly be in the next standard, but to do so early so people can start using them now and be relatively sure that they won't change much when they are actually standardized.

    For example, the previous standard lacked hash maps because they just couldn't agree on the details in time. TR1 has what will likely be the standard hash maps (called unordered_map).

    http://en.wikipedia.org/wiki/Technical_Report_1

    Most of the stuff in TR1 can be gotten from Boost, and I think Dinkumware has a more complete implementation (possibly for a fee). I'm not sure if other libraries have implemented any parts of TR1.

  7. #7
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    The GNU libstdc++ has a lot of this stuff implemented, including the unordered containers, function, bind and more.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  8. #8
    l2u
    l2u is offline
    Registered User
    Join Date
    May 2006
    Posts
    630
    When can we expect new standard to come out?

  9. #9
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    I think the most likely date is sometime in '09 (since it's called C++0x it's supposed to be released before 2010 in any case)
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Integrating Boost with STLPort
    By Mario F. in forum Tech Board
    Replies: 1
    Last Post: 11-11-2006, 05:49 AM
  2. STLport with MingW - Long Long error on project build
    By Mario F. in forum C++ Programming
    Replies: 2
    Last Post: 08-21-2006, 08:55 AM
  3. STLPort with Dinkumware
    By Kiske in forum C++ Programming
    Replies: 1
    Last Post: 05-23-2005, 12:56 PM
  4. problems Installing stlport with vc7
    By silk.odyssey in forum C++ Programming
    Replies: 0
    Last Post: 12-22-2003, 08:09 AM
  5. STLport precompiled?
    By aker_y3k in forum C++ Programming
    Replies: 0
    Last Post: 10-13-2002, 03:41 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21