Writing your own C++ Standard Library implementation...

This is a discussion on Writing your own C++ Standard Library implementation... within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Have any of your older, more experienced programmers known of anyone who's taken on this task to write their own ...

  1. #1
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,066

    Writing your own C++ Standard Library implementation...

    Have any of your older, more experienced programmers known of anyone who's taken on this task to write their own implementation of the C++ Standard Library? I know many young programmers write compilers, but I assume that means they just write the parsing and converting to assembly parts and they use pre-made implementations to the Standard Library. So has anyone embarked, or known someone who embarks, on this tedious quest? Surely, the real experienced programmers have known some cocky programmers in the past that insisted they could write more efficient implementations... it's just a matter of if they put their money where their mouth is.
    Sent from my iPad®

  2. #2
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    Old co-worker of mine, his roommate was taking PhD level Comp Sci stuff, one of the classes they worked in teams to reimplement the STL as a class. In the end it came out to be better in some spots but overall less efficient.

  3. #3
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    498

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,412
    Do you keep this stuff like in a notebook? Or is it your memory is that good?

    Man! *clap* *clap*
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    Nah, he's just a robot.
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  6. #6
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,066
    Prelude was a given... I didn't even expect her to reply. I was asking about others.
    Sent from my iPad®

  7. #7
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Quote Originally Posted by SlyMaelstrom
    Prelude was a given... I didn't even expect her to reply. I was asking about others.

    is she a she now?

  8. #8
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,401
    is she a she now?
    Julian Walker? That's confuzzling.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  9. #9
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Quote Originally Posted by laserlight
    Julian Walker? That's confuzzling.

    that's ironic
    http://www.eternallyconfuzzled.com/

  10. #10
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    that's ironic
    Really?
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  11. #11
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    I'm slowly building up my own class & function library but it's nowhere near par with the STL - mainly a messy collection of useful... stuff.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  12. #12
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,412
    We had someone here that knew Stroustrup. He'd die to enter this thread.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  13. #13
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,262
    >> We had someone here that knew Stroustrup. He'd die to enter this thread.

    Stroustrup??? What did he ever do to a standard C++ library implementation?


    Quote Originally Posted by http://www.research.att.com/~bs/
    I designed and implemented the C++ programming language.
    Imagine being able to say that!


    >> Nah, he's just a robot.
    Or perhaps just a spider ... one who beats Google and Yahoo to their game
    Last edited by twomers; 10-02-2006 at 11:58 AM.

  14. #14
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    498
    Quote Originally Posted by Mario F.
    Do you keep this stuff like in a notebook? Or is it your memory is that good?
    My memory .

  15. #15
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >Prelude was a given...
    Hmm, I think you guys give me too much credit.

    >is she a she now?
    It depends on whom you ask. I'm sure that not a few people here see me as a dude.

    >We had someone here that knew Stroustrup. He'd die to enter this thread.
    That would be Dean. He's...indisposed at the moment and won't be joining the discussion. But his "knowing" Stroustrup was limited to email exchanges, and it's common knowledge that Bjarne Stroustrup is good about answering his email.

    >Stroustrup??? What did he ever do to a standard C++ library implementation?
    Save it from every crap proposal that crossed his desk?
    My best code is written with the delete key.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GUI with Standard Library
    By Sly in forum C Programming
    Replies: 2
    Last Post: 03-13-2009, 05:06 PM
  2. C++ main standard library Question
    By invisibleghost in forum Linux Programming
    Replies: 2
    Last Post: 10-24-2004, 12:05 PM
  3. C++ >> Standard Library >> Header File
    By hrk2006 in forum C++ Programming
    Replies: 2
    Last Post: 06-24-2003, 08:30 PM
  4. Source code of the standard library functions...
    By Nutshell in forum C Programming
    Replies: 2
    Last Post: 01-21-2002, 11:35 AM
  5. C standard library
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 12-08-2001, 11:08 AM

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