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


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

Re: Is Perl written in C?

Message-ID <373b29-t3j.ln1@wilbur.25thandClement.com> (permalink)
From William Ahern <william@wilbur.25thandClement.com>
Subject Re: Is Perl written in C?
Newsgroups comp.lang.c++
References <jit924$bgq$1@dont-email.me> <XnsA00BA95DA7F19myfirstnameosapriee@216.196.109.131> <jitamf$jkn$1@dont-email.me> <cone.1330788195.705265.4061.1000@monster.email-scan.com> <jitsct$8o5$1@speranza.aioe.org>
Date 2012-03-03 19:13 -0800

Show all headers | View raw


jacob navia <jacob@spamsink.net> wrote:
> Le 03/03/12 16:23, Sam a écrit :
> > Man-wai Chang writes:
> >
> >>> Why do you think a C++ group is the best place to ask about Perl and C?
> >>
> >> I figured out maybe 2 good reasons:
> >>
> >> 1. resources
> >> 2. security
> >>
> >> I think C is the basic building blocks for a lot of high-level
> >> languages like Perl. Python? Ruby? PHP?
> >
> > There are only two kinds of languages:
> >
> > 1. C/C++

> You can eliminate the C++ here since C++ compilers are written in C...

> :-)

> (Look at the gcc sources for instance)

> The lcc C compiler is also written in C.

clang/llvm is a C++ compiler written in C++. There's not a line of C as far
as I can tell. Although, I haven't looked too hard because all the
inheritance and casting makes my eyes bleed. For every line of code that
builds or processes the AST there's 12 lines of C++ boilerplate. I'm
undecided on whether it's preferable to the macro nightmare that is GCC.

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