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


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

Re: Is Perl written in C?

From nick_keighley_nospam@hotmail.com
Newsgroups comp.lang.c++
Subject Re: Is Perl written in C?
Date 2012-03-05 00:53 -0800
Organization http://groups.google.com
Message-ID <25425852.104.1330937607179.JavaMail.geo-discussion-forums@vbne13> (permalink)
References (4 earlier) <jitsct$8o5$1@speranza.aioe.org> <373b29-t3j.ln1@wilbur.25thandClement.com> <jiv42n$8u9$1@news.albasani.net> <4f533c42$0$3068$7b1e8fa0@news.nbl.fi> <jj06fa$u8p$1@news.albasani.net>

Show all headers | View raw


On Sunday, March 4, 2012 4:48:35 PM UTC, BGB wrote:
> On 3/4/2012 2:56 AM, Juha Nieminen wrote:
> > BGB<cr88192@hotmail.com>  wrote:

> >> I looked briefly at LLVM before, and it looked sort of like someone was
> >> all like "C++ isn't like Java enough, we sort of need to do it more like
> >> Java, but more badly...".
> >
> >    What's the point in using C++ if you will be writing in Java anyways?
> 
> I am not saying anyone was using Java, rather LLVM seemed to have been 
> written in a vaguely Java-like style, with one-class-per-file, large 
> numbers to includes to include each header file, ...

one-class-per-file is quite a common way to package C++. I wouldn't describe it as Java-like.

> the contrast is to basically dump a bunch of class definitions into 
> shared headers, and maybe aggregate classes in source-files as well, ...
> 
> then, one breaks things up, like say when the files get longer than 
> 1000-2000 lines and start getting unwieldy.
> 
> as well as probably doing the thing of making "compound headers", where 
> one includes a single header and gets all relevant headers for the 
> entire library, without having to include them individually (the 
> compound header includes all sub-headers).
> 
> the advantage to the above is that it only requires a single 
> include-line per source file (and helps keep everything more 
> consistent). a disadvantage though is that of typically longer build times.
<snip>

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


Thread

Is Perl written in C? Man-wai Chang <toylet.toylet@gmail.com> - 2012-03-03 22:15 +0800
  Re: Is Perl written in C? Paavo Helde <myfirstname@osa.pri.ee> - 2012-03-03 08:38 -0600
    Re: Is Perl written in C? Man-wai Chang <toylet.toylet@gmail.com> - 2012-03-03 22:41 +0800
    Re: Is Perl written in C? Man-wai Chang <toylet.toylet@gmail.com> - 2012-03-03 22:43 +0800
      Re: Is Perl written in C? Sam <sam@email-scan.com> - 2012-03-03 09:23 -0600
        Re: Is Perl written in C? Andy Champ <no.way@nospam.invalid> - 2012-03-03 17:08 +0000
          Re: Is Perl written in C? Juha Nieminen <nospam@thanks.invalid> - 2012-03-04 07:02 +0000
        Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-03 12:08 -0700
        Re: Is Perl written in C? jacob navia <jacob@spamsink.net> - 2012-03-03 20:45 +0100
          Re: Is Perl written in C? William Ahern <william@wilbur.25thandClement.com> - 2012-03-03 19:13 -0800
            Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-04 00:01 -0700
              Re: Is Perl written in C? Juha Nieminen <nospam@thanks.invalid> - 2012-03-04 09:56 +0000
                Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-04 09:48 -0700
                Re: Is Perl written in C? nick_keighley_nospam@hotmail.com - 2012-03-05 00:53 -0800
                Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-05 08:08 -0700
                Re: Is Perl written in C? Miles Bader <miles@gnu.org> - 2012-03-06 08:38 +0900
                Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-05 17:06 -0700
                Re: Is Perl written in C? Miles Bader <miles@gnu.org> - 2012-03-06 10:00 +0900
                Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-05 19:35 -0700
                Re: Is Perl written in C? Juha Nieminen <nospam@thanks.invalid> - 2012-03-06 09:29 +0000
                Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-06 09:20 -0700
                Re: Is Perl written in C? Ian Collins <ian-news@hotmail.com> - 2012-03-06 13:35 +1300
                Re: Is Perl written in C? BGB <cr88192@hotmail.com> - 2012-03-05 19:24 -0700
            Re: Is Perl written in C? Juha Nieminen <nospam@thanks.invalid> - 2012-03-04 09:58 +0000

csiph-web