🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4297

Relative Speed of Perl vs. Tcl vs. C

#4297
From: Yogi
Date: Wed, 17 Jan 1996 04:42
28 lines
1709 bytes
I don't want to start a religeous war, and YES, I did read the FAQ's,
and did not find any info on relative speed of comparing C vs Perl vs Tcl
vs Java in a very general sort of fashion. (I know specific features of each
will vary...)

I'm very interested in the uses of Tcl and Perl, with regard to Tk and 
other GUI toolkits (what other's are there?) 

Can't seem to find any info on statements I have read that seem to conflict:

Somewhere I have read that Perl coded grep runs as fast or faster than C
coded grep in Unix. (Larry Wall wrote this, correct me if I'm wrong.)

And in a CGI-web book I read that Perl is an interpreted language that runs
10 times slower than C. But Perl is compiled, right? So how is that different
than say, the Tcl interpreter? Is this just semantics? I would say that
Perl is a run-time compiled language if I had to guess...

So what's the real answer, or are both statements true somehow? I know that
Perl can run faster or slower depending on how you code it, (C too) and 
so I guess you would have to find the fastest C code for a particular function
and similar fastest Perl code (or Tcl) and compare THOSE programs to get 
a definative answer.

And then, what about the speed of Java in comparison to the other 3?

Perl/Tcl/Java Newbie-
Technical Details
Message-ID: <4dhuoj$cbe@shellx.best.com>
Path: arc1-ca.pugleaf.net!shellx.best.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!shellx.best.com!not-for-mail
From: yogi@shellx.best.com (Yogi)
Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java
Subject: Relative Speed of Perl vs. Tcl vs. C
Date: 16 Jan 1996 20:42:59 -0800
Organization: Best Internet Communications
Message-ID: <4dhuoj$cbe@shellx.best.com>
NNTP-Posting-Host: shellx.best.com
X-Newsreader: TIN [version 1.2 PL2]