Re: Whats the best language to learn...



"Juha Nieminen" <nospam@xxxxxxxxxxxxxx> wrote in message news:BCxrk.113$fv3.22@xxxxxxxxxxxxxxxx
cr88192 wrote:
in particular, before it had sounded like maybe you had thought STL was a
part of the compiler (vs being part of the standard library), ...

I only said that the standard C++ library is part of the C++ language
(because it's defined and specified by the C++ standard). This means
that, effectively, you can use anything in the standard library as if it
was part of the core language. The differences are purely technical and
compiler implementation related.

What bothered me is that some people here seem to talk about the "STL"
(which is an obsolete name, really) as if it was some kind of separate,
third-party library set (similar to, for example, the boost libraries)
rather than part of the C++ language specification, while at the same
time considering things like "system()" to be part of the standard C
language (even though that is also just a function defined in a library).

In C++ there's no big difference between, for example, <stdio.h>
and <list>. Both are standard libraries. There's not such a thing as
"the STL" (that name is only a historical one for a boost-style set of
libraries which were at the time still not part of the C++ standard).
While it is still used nowadays to talk about certain parts of the C++
library, it's not really the "official" name.


The beauty of C++ is that one could use pure C++ to implement the STL; no platform dependant crap needed indeed!

=^D

.



Relevant Pages

  • Re: The Great Debate V. What have changed ?
    ... programming" and "strategy optimization" and how this produces much better ... is that using standard libraries is one of the fastest ways ever invented ... As an assembler, it is far more capable than RosAsm. ...
    (alt.lang.asm)
  • Re: How Common Lisp sucks
    ... Java libraries are not the best for the respective tasks at hand. ... you don't seem to disagree that having more standard libraries in CL ... I am thinking about the CLOS MOP spec here, which contains a number of problems that cannot be easily fixed from outside the language. ... Languages like Java, Perl, Ruby, Python have been designed with certain specific applications in mind. ...
    (comp.lang.lisp)
  • Re: #pragma lib buggers everything up
    ... EXE and DLL are two separate modules, ... It was all STL functions that were being multiply defined (when I had the ... >> libraries to linker input, and 'drift off and use someone else's ... the linker input manually rather than the compiler being told to do this ...
    (microsoft.public.vc.language)
  • Re: linker question
    ... If you have a compiler similar to gcc, you can stop it from including ... On passing this option, compiler doesn't link standard libraries by ...
    (comp.unix.programmer)
  • Re: STL.NET news
    ... | the importance of this because you don't understand the STL (once you've ... STL (and other template based libraries), I'm not an expert, but I know ... I'm saying managed types ...
    (microsoft.public.dotnet.languages.vc)