Re: [vox-tech] libstdc++ and sgi and hp?

2009-09-01 Thread Brian Lavender
On Tue, Sep 01, 2009 at 01:40:34PM -0400, Hai Yi wrote:
> On Tue, Sep 1, 2009 at 12:35 PM, Brian Lavender wrote:
> > I thought the STL was renamed to the Standard Library. I thought the
> > article was interesting where Stephanov described how C++ programmers
> > tried to form generics (or however you call it) using the object
> > oriented approach and it would invariably fail. The STL (or standard
> > library ) is a great thing and it is hard to imagine C++ without it.
> >
> >
> According to "Effective C++", STL and Standard Library is not superset
> of either. STL concentrates on algorithm, iterator, containers,
> functors and maybe, allocator, while standard library includes part(if
> not all) STL, besides, it has io packages and C89 library,etc.
> 

Is the following considered a part of the "Standard Library"?
This is an example from Yolinux.com

#include 
#include 
#include 

using namespace std;

main()
{
   vector SS;

   SS.push_back("The number is 10");
   SS.push_back("The number is 20");
   SS.push_back("The number is 30");

   cout << "Loop by index:" << endl;

   int ii;
   for(ii=0; ii < SS.size(); ii++)
   {
  cout << SS[ii] << endl;
   }

   vector::reverse_iterator rii;
   for(rii=SS.rbegin(); rii!=SS.rend(); ++rii)
   {
   cout << *rii << endl;
   }

}

-- 
Brian Lavender
http://www.brie.com/brian/
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] libstdc++ and sgi and hp?

2009-09-01 Thread Hai Yi
On Tue, Sep 1, 2009 at 12:35 PM, Brian Lavender wrote:
> I thought the STL was renamed to the Standard Library. I thought the
> article was interesting where Stephanov described how C++ programmers
> tried to form generics (or however you call it) using the object
> oriented approach and it would invariably fail. The STL (or standard
> library ) is a great thing and it is hard to imagine C++ without it.
>
>
According to "Effective C++", STL and Standard Library is not superset
of either. STL concentrates on algorithm, iterator, containers,
functors and maybe, allocator, while standard library includes part(if
not all) STL, besides, it has io packages and C89 library,etc.

> On Tue, Sep 01, 2009 at 09:56:40AM -0400, Hai Yi wrote:
>> it seems to me Stepanov is good at convincing people so that he was
>> able to push his ideas and make his marks no matter where he was,
>> hehe.
>>
>> And libstdc++, anyone knows the history? (Wiki redirect this item to
>> "C++ standard Library")
>>
>> Hai
>>
>>
>> On Tue, Sep 1, 2009 at 9:09 AM, Ken Bloom wrote:
>> > On Mon, 2009-08-31 at 19:51 -0700, Jeff Newmiller wrote:
>> >> Hai Yi wrote:
>> >> > I've been reading some general stuff about C++, it appears to me that
>> >> > in unix/linux, libstdc++ is a c++ implementation from gnu, but there
>> >> > are the sgi and hp's copyright info in the header files like
>> >> > /usr/include/c++/4.3/vector . I used to use sgi's stl website as
>> >> > reference (http://www.sgi.com/tech/stl/ ), which gave me an impression
>> >> > that this company used to be a big contributor to C++ (or STL? )
>> >> > standardization; however, from wiki, it appears HP is the one behind
>> >> > the STL effort.
>> >> >
>> >> > Anyone can have a brief history lesson about libstdc++, sgl and hp's
>> >> > relations in regard to STL?
>> >>
>> >> Alexander Stepanov might [1][2] have something to say about the latter
>> >> two, but I don't think he reads this mailing list.
>> >>
>> >> [1] http://www.sgi.com/tech/stl/drdobbs-interview.html
>> >> [2] http://www.stlport.org/resources/StepanovUSA.html
>> >>
>> >
>> > Sounds from these articles and Wikipedia like:
>> >
>> > Alexander Stepanov is the contributor, and whatever company employs him
>> > at the time is the one behind the the STL effort. So the earliest
>> > conceptual work in generic programming was stuff Stepanov did at GE and
>> > later AT&T. Stepanov must have started working with generic programming
>> > in C++ when he was at HP (and he published a full STL while he was
>> > there). He then did further development on the STL at SGI, and that's
>> > the version that's standardized.
>> >
>> > There are other languages these days that also seem to do a good job at
>> > generic programming, in particular Haskell, and dynamic languages like
>> > Ruby.
>> >
>> > --Ken
>> > ___
>> > vox-tech mailing list
>> > vox-tech@lists.lugod.org
>> > http://lists.lugod.org/mailman/listinfo/vox-tech
>> >
>> ___
>> vox-tech mailing list
>> vox-tech@lists.lugod.org
>> http://lists.lugod.org/mailman/listinfo/vox-tech
>
> --
> Brian Lavender
> http://www.brie.com/brian/
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] libstdc++ and sgi and hp?

2009-09-01 Thread Chanoch (Ken) Bloom
On Tue, Sep 01, 2009 at 09:56:40AM -0400, Hai Yi wrote:
> it seems to me Stepanov is good at convincing people so that he was
> able to push his ideas and make his marks no matter where he was,
> hehe.

Well, I've definitely looked at the HP STL, and the SGI STL, and SGI's
definitely has some differences and SGI's version matches the
standard, there's no question that at some point the cutting edge work
on the STL moved from HP to SGI. The only question was why. When I
read in one of Stepanov's interviews that he was part of the SGI
group, I understood why.

Having a project like this follow its creator from company to company
is actually not so unusual.

--Ken

-- 
Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/


signature.asc
Description: Digital signature
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] libstdc++ and sgi and hp?

2009-09-01 Thread Brian Lavender
I thought the STL was renamed to the Standard Library. I thought the
article was interesting where Stephanov described how C++ programmers
tried to form generics (or however you call it) using the object
oriented approach and it would invariably fail. The STL (or standard
library ) is a great thing and it is hard to imagine C++ without it.


On Tue, Sep 01, 2009 at 09:56:40AM -0400, Hai Yi wrote:
> it seems to me Stepanov is good at convincing people so that he was
> able to push his ideas and make his marks no matter where he was,
> hehe.
> 
> And libstdc++, anyone knows the history? (Wiki redirect this item to
> "C++ standard Library")
> 
> Hai
> 
> 
> On Tue, Sep 1, 2009 at 9:09 AM, Ken Bloom wrote:
> > On Mon, 2009-08-31 at 19:51 -0700, Jeff Newmiller wrote:
> >> Hai Yi wrote:
> >> > I've been reading some general stuff about C++, it appears to me that
> >> > in unix/linux, libstdc++ is a c++ implementation from gnu, but there
> >> > are the sgi and hp's copyright info in the header files like
> >> > /usr/include/c++/4.3/vector . I used to use sgi's stl website as
> >> > reference (http://www.sgi.com/tech/stl/ ), which gave me an impression
> >> > that this company used to be a big contributor to C++ (or STL? )
> >> > standardization; however, from wiki, it appears HP is the one behind
> >> > the STL effort.
> >> >
> >> > Anyone can have a brief history lesson about libstdc++, sgl and hp's
> >> > relations in regard to STL?
> >>
> >> Alexander Stepanov might [1][2] have something to say about the latter
> >> two, but I don't think he reads this mailing list.
> >>
> >> [1] http://www.sgi.com/tech/stl/drdobbs-interview.html
> >> [2] http://www.stlport.org/resources/StepanovUSA.html
> >>
> >
> > Sounds from these articles and Wikipedia like:
> >
> > Alexander Stepanov is the contributor, and whatever company employs him
> > at the time is the one behind the the STL effort. So the earliest
> > conceptual work in generic programming was stuff Stepanov did at GE and
> > later AT&T. Stepanov must have started working with generic programming
> > in C++ when he was at HP (and he published a full STL while he was
> > there). He then did further development on the STL at SGI, and that's
> > the version that's standardized.
> >
> > There are other languages these days that also seem to do a good job at
> > generic programming, in particular Haskell, and dynamic languages like
> > Ruby.
> >
> > --Ken
> > ___
> > vox-tech mailing list
> > vox-tech@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> >
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
Brian Lavender
http://www.brie.com/brian/
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] libstdc++ and sgi and hp?

2009-09-01 Thread Hai Yi
it seems to me Stepanov is good at convincing people so that he was
able to push his ideas and make his marks no matter where he was,
hehe.

And libstdc++, anyone knows the history? (Wiki redirect this item to
"C++ standard Library")

Hai


On Tue, Sep 1, 2009 at 9:09 AM, Ken Bloom wrote:
> On Mon, 2009-08-31 at 19:51 -0700, Jeff Newmiller wrote:
>> Hai Yi wrote:
>> > I've been reading some general stuff about C++, it appears to me that
>> > in unix/linux, libstdc++ is a c++ implementation from gnu, but there
>> > are the sgi and hp's copyright info in the header files like
>> > /usr/include/c++/4.3/vector . I used to use sgi's stl website as
>> > reference (http://www.sgi.com/tech/stl/ ), which gave me an impression
>> > that this company used to be a big contributor to C++ (or STL? )
>> > standardization; however, from wiki, it appears HP is the one behind
>> > the STL effort.
>> >
>> > Anyone can have a brief history lesson about libstdc++, sgl and hp's
>> > relations in regard to STL?
>>
>> Alexander Stepanov might [1][2] have something to say about the latter
>> two, but I don't think he reads this mailing list.
>>
>> [1] http://www.sgi.com/tech/stl/drdobbs-interview.html
>> [2] http://www.stlport.org/resources/StepanovUSA.html
>>
>
> Sounds from these articles and Wikipedia like:
>
> Alexander Stepanov is the contributor, and whatever company employs him
> at the time is the one behind the the STL effort. So the earliest
> conceptual work in generic programming was stuff Stepanov did at GE and
> later AT&T. Stepanov must have started working with generic programming
> in C++ when he was at HP (and he published a full STL while he was
> there). He then did further development on the STL at SGI, and that's
> the version that's standardized.
>
> There are other languages these days that also seem to do a good job at
> generic programming, in particular Haskell, and dynamic languages like
> Ruby.
>
> --Ken
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] libstdc++ and sgi and hp?

2009-09-01 Thread Ken Bloom
On Mon, 2009-08-31 at 19:51 -0700, Jeff Newmiller wrote:
> Hai Yi wrote:
> > I've been reading some general stuff about C++, it appears to me that
> > in unix/linux, libstdc++ is a c++ implementation from gnu, but there
> > are the sgi and hp's copyright info in the header files like
> > /usr/include/c++/4.3/vector . I used to use sgi's stl website as
> > reference (http://www.sgi.com/tech/stl/ ), which gave me an impression
> > that this company used to be a big contributor to C++ (or STL? )
> > standardization; however, from wiki, it appears HP is the one behind
> > the STL effort.
> > 
> > Anyone can have a brief history lesson about libstdc++, sgl and hp's
> > relations in regard to STL?
> 
> Alexander Stepanov might [1][2] have something to say about the latter
> two, but I don't think he reads this mailing list.
> 
> [1] http://www.sgi.com/tech/stl/drdobbs-interview.html
> [2] http://www.stlport.org/resources/StepanovUSA.html
> 

Sounds from these articles and Wikipedia like:

Alexander Stepanov is the contributor, and whatever company employs him
at the time is the one behind the the STL effort. So the earliest
conceptual work in generic programming was stuff Stepanov did at GE and
later AT&T. Stepanov must have started working with generic programming
in C++ when he was at HP (and he published a full STL while he was
there). He then did further development on the STL at SGI, and that's
the version that's standardized.

There are other languages these days that also seem to do a good job at
generic programming, in particular Haskell, and dynamic languages like
Ruby.

--Ken
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] libstdc++ and sgi and hp?

2009-08-31 Thread Brian Lavender
On Mon, Aug 31, 2009 at 07:51:59PM -0700, Jeff Newmiller wrote:
> Hai Yi wrote:
> > I've been reading some general stuff about C++, it appears to me that
> > in unix/linux, libstdc++ is a c++ implementation from gnu, but there

[snip]
> 
> Alexander Stepanov might [1][2] have something to say about the latter
> two, but I don't think he reads this mailing list.
> 
> [1] http://www.sgi.com/tech/stl/drdobbs-interview.html
> [2] http://www.stlport.org/resources/StepanovUSA.html

I was under the impression SGI was the one, seeing how all the docs have
been on their site.

Good to see the stuff still exists on the SGI website,
as SGI is now completely dead.

http://www.sgi.com/company_info/newsroom/press_releases/2009/april/rackable.html

brian
-- 
Brian Lavender
http://www.brie.com/brian/
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] libstdc++ and sgi and hp?

2009-08-31 Thread Hai Yi
they are insightful interviews, interesting to read. Thanks!

On Mon, Aug 31, 2009 at 10:51 PM, Jeff
Newmiller wrote:
> Hai Yi wrote:
>> I've been reading some general stuff about C++, it appears to me that
>> in unix/linux, libstdc++ is a c++ implementation from gnu, but there
>> are the sgi and hp's copyright info in the header files like
>> /usr/include/c++/4.3/vector . I used to use sgi's stl website as
>> reference (http://www.sgi.com/tech/stl/ ), which gave me an impression
>> that this company used to be a big contributor to C++ (or STL? )
>> standardization; however, from wiki, it appears HP is the one behind
>> the STL effort.
>>
>> Anyone can have a brief history lesson about libstdc++, sgl and hp's
>> relations in regard to STL?
>
> Alexander Stepanov might [1][2] have something to say about the latter
> two, but I don't think he reads this mailing list.
>
> [1] http://www.sgi.com/tech/stl/drdobbs-interview.html
> [2] http://www.stlport.org/resources/StepanovUSA.html
>
> --
> ---
> Jeff Newmiller                        The     .       .  Go Live...
> DCN:        Basics: ##.#.       ##.#.  Live Go...
>                                       Live:   OO#.. Dead: OO#..  Playing
> Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
> /Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
> ---
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] libstdc++ and sgi and hp?

2009-08-31 Thread Jeff Newmiller
Hai Yi wrote:
> I've been reading some general stuff about C++, it appears to me that
> in unix/linux, libstdc++ is a c++ implementation from gnu, but there
> are the sgi and hp's copyright info in the header files like
> /usr/include/c++/4.3/vector . I used to use sgi's stl website as
> reference (http://www.sgi.com/tech/stl/ ), which gave me an impression
> that this company used to be a big contributor to C++ (or STL? )
> standardization; however, from wiki, it appears HP is the one behind
> the STL effort.
> 
> Anyone can have a brief history lesson about libstdc++, sgl and hp's
> relations in regard to STL?

Alexander Stepanov might [1][2] have something to say about the latter
two, but I don't think he reads this mailing list.

[1] http://www.sgi.com/tech/stl/drdobbs-interview.html
[2] http://www.stlport.org/resources/StepanovUSA.html

-- 
---
Jeff NewmillerThe .   .  Go Live...
DCN:Basics: ##.#.   ##.#.  Live Go...
   Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
---
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] libstdc++ and sgi and hp?

2009-08-31 Thread Hai Yi
I've been reading some general stuff about C++, it appears to me that
in unix/linux, libstdc++ is a c++ implementation from gnu, but there
are the sgi and hp's copyright info in the header files like
/usr/include/c++/4.3/vector . I used to use sgi's stl website as
reference (http://www.sgi.com/tech/stl/ ), which gave me an impression
that this company used to be a big contributor to C++ (or STL? )
standardization; however, from wiki, it appears HP is the one behind
the STL effort.

Anyone can have a brief history lesson about libstdc++, sgl and hp's
relations in regard to STL?

Thanks!
Hai
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech