Re: COBOL compiler

From: Pigeon (jah.pigeon_at_ukonline.co.uk)
Date: 08/27/03

  • Next message: Pigeon: "Re: Faked From-Adress with my domain on them"
    Date: Wed, 27 Aug 2003 12:41:17 +0100
    To: debian-user@lists.debian.org
    
    
    

    On Tue, Aug 26, 2003 at 07:53:34PM -0500, Ron Johnson wrote:
    > On Tue, 2003-08-26 at 19:35, Britton wrote:
    > > On Tue, 26 Aug 2003, Bijan Soleymani wrote:
    > >
    > > > On Tue, Aug 26, 2003 at 11:25:55AM -0500, Ron Johnson wrote:
    > [snip]
    > > This just isn't true. Perl at least is brought to its knees by a variety
    > > of problems that C has no trouble with whatsoever. I've had simple
    > > pixel-crawling image processing algorithms take a day to run in Perl, when
    > > I rewrote in C about 30 seconds. And that's with PDL (admittedly PDL call
    > > overhead was I think the major thing slowing perl down, but that's hardly
    > > reassuring). The scripting languages just aren't anywhere near as fast as
    > > the older, simpler, compiled ones. Its not that I don't still write first
    > > drafts of many codes in perl, its just that now I budget time to rewrite
    > > them in C if I need to (its still usually faster overall to prototype
    > > first in perl, even if you know you are doomed speed-wise). I don't know
    > > if perl and cobol have the same relationship, or if there are common
    > > business tasks that still need the speed, but it seems like a definite
    > > possibility.
    >
    > You might want to try Python as a prototyping, and even implementation,
    > language. It has many graphics libraries that are coded in C for
    > speed. Thus, you get the benefits of a VHLL plus a LLL (low level
    > language) when speed is needed.

    Is there any reason why any of these complex scripting languages have
    to be interpreted, as opposed to compiled?

    Some quite complex packages are around which have been written in
    such languages; Perl seems to be both common and expensive. It would
    appear that the inefficiency of Perl is the reason why my print server
    (a 600MHz box) takes forever to render pages for my Canon LBP-4, which
    uses a foomatic driver, compared to the time it takes for a printer
    that speaks straight HewlettPackardish and can use one of cups's
    built-in drivers. Similarly, spamassassin seems to be notorious for
    chewing up lots of resources.

    To me, it seems that the obvious solution is to run the script through
    a Perl compiler, and produce a binary executable that should execute
    at the same order of speed as any other compiled HLL code. Why is this
    not done? Is it simply that nobody's bothered to write a Perl
    compiler, or is there some infelicity in the design of Perl that makes
    it impractical?

    -- 
    Pigeon
    Be kind to pigeons
    Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Pigeon: "Re: Faked From-Adress with my domain on them"

    Relevant Pages

    • Re: Fwd: DBD::Informix A configuration failure
      ... Perl doesn't think your compiler handles prototypes. ... Testing whether your Informix test environment will work... ... >> problems with the test program, you will need to revisit this ...
      (perl.dbi.users)
    • Re: ANNOUNCE: DBD:Oracle 1.18
      ... Well a warning in one compiler is better than and error in an other so I ... This might be a problem more with the older oracle OCI in your client. ... perl -Mblib t/26exe_array.t ...
      (perl.dbi.users)
    • Re: Fwd: DBD::Informix A configuration failure
      ... Your previous subject line was 'problem install DBD Informix'. ... > perl Makefile.PL ... > Configuring IBM Informix Database Driver for Perl Version 2003.04 ... Perl doesn't think your compiler handles prototypes. ...
      (perl.dbi.users)
    • Re: Compiler and an interpreter
      ... >>> error.Can anybody please tell me how the compiler and interpreter will ... Some small unit of the language is an acceptable input. ... > Perl does not to my knowledge in any way require the reading of the ...
      (comp.programming)
    • Re: Redefinition of target errors
      ... compiler instead of the Borland compiler. ... I can't remember if you said your Perl was activestate. ... to find a link or a way to get dmake for Borland. ... The last time I tried to compile a perl module written in C for Windows it was a real PITA. ...
      (perl.dbi.users)