Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #9425

Re: Why use C++?

From Nobody <nobody@nowhere.com>
Subject Re: Why use C++?
Date 2011-08-29 07:06 +0100
Message-Id <pan.2011.08.29.06.06.22.456000@nowhere.com>
Newsgroups comp.lang.c++
References <28bced55-7cfb-4bb0-9743-6ded548853ef@s2g2000vby.googlegroups.com> <ca23c1cb-982d-43a5-b1e7-4044474a11c7@x11g2000prk.googlegroups.com> <4e5ab8a5$0$28935$ec3e2dad@news.usenetmonster.com>
Organization Zen Internet

Show all headers | View raw


On Sun, 28 Aug 2011 17:52:37 -0400, Alexei Zakharov wrote:

> What I noticed is that programming in Perl allows me to express
> algorithms in a most pure and simple manner.  You would think that a
> language like C++ would be best for that kind of job.  But it turns out
> a good high-level scripting language with excelent support for basic
> data structures is better.

The main advantage of such languages over C++ is garbage collection.

If you try to write "naive" code using complex data structures in C++, you
would end up either performing many deep copies or leaking memory.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Why use C++? Miro <nickbergeronsemail@gmail.com> - 2011-08-06 14:00 -0700
  Re: Why use C++? jt@toerring.de (Jens Thoms Toerring) - 2011-08-06 22:29 +0000
  Re: Why use C++? SG <s.gesemann@gmail.com> - 2011-08-12 02:11 -0700
    Re: Why use C++? James Kanze <james.kanze@gmail.com> - 2011-08-21 16:44 -0700
      Re: Why use C++? Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-08-23 01:47 -0700
        Re: Why use C++? Dombo <dombo@disposable.invalid> - 2011-08-23 20:01 +0200
          Re: Why use C++? Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-09-01 02:08 -0700
        Re: Why use C++? James Kanze <james.kanze@gmail.com> - 2011-08-26 08:25 -0700
          Re: Why use C++? Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-09-01 02:43 -0700
            Re: Why use C++? James Kanze <james.kanze@gmail.com> - 2011-09-01 15:51 -0700
  Re: Why use C++? Krice <paulkp@mbnet.fi> - 2011-08-13 01:09 -0700
    Re: Why use C++? Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-08-23 02:08 -0700
    Re: Why use C++? Michael DOUBEZ <michael.doubez@free.fr> - 2011-08-23 03:33 -0700
  Re: Why use C++? Noah Roberts <roberts.noah@gmail.com> - 2011-08-27 12:38 -0700
    Re: Why use C++? "Duga Chernobyl" <duga_c3@gmx.com> - 2011-08-28 14:37 +0200
      Re: Why use C++? James Kanze <james.kanze@gmail.com> - 2011-08-29 04:11 -0700
        Re: Why use C++? Noah Roberts <roberts.noah@gmail.com> - 2011-08-29 16:25 -0700
          Re: Why use C++? Juha Nieminen <nospam@thanks.invalid> - 2011-08-30 05:57 +0000
      Re: Why use C++? Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-09-01 02:45 -0700
    Re: Why use C++? Alexei Zakharov <alexeiz+usenet@gmail.com> - 2011-08-28 17:52 -0400
      Re: Why use C++? Nobody <nobody@nowhere.com> - 2011-08-29 07:06 +0100
        Re: Why use C++? James Kanze <james.kanze@gmail.com> - 2011-08-29 04:17 -0700

csiph-web