RE: Just starting out.. newbie help :)

[email protected] ("Jacoby, David")
Newsgroups perl.ai
Message-ID <[email protected]>
If they badly wanted eval within C, they'd probably get it badly.

-- 
Dave Jacoby, Systems Administrator for Arnett Clinic
(765) 448-8098	[email protected]
  If you're too tired to type the password right,
    you shouldn't be root anyway.

> -----Original Message-----
> From:	John Porter [SMTP:[email protected]]
> Sent:	Thursday, May 24, 2001 8:48 AM
> To:	[email protected]
> Subject:	Re: Just starting out.. newbie help :)
> 
> Lee Goddard wrote:
> > if you can do it in Perl, you can do it in C,
> 
> Unfortunately, not true. Perl is a very dynamic language,
> on the order of Lisp.  That makes it capable of things
> compiled languages can't do.  There is no "eval" in C.
> 
> Of course, these languages are Turing-equivalent, so you
> really could do "eval" in C if you really, REALLY wanted
> to. But no one wants to bad enough to actually do it. :-)
> 
> 
> > and as the compiled C
> > is not interpreted, and can be better optimised, it's usually faster.
> 
> Yes. For the things that *can* be done in C, they will usually
> be faster.  The major downside is the horrendous *programmer*
> inefficiency of writing in C instead of a high-level language
> like Perl!
> 
> -- 
> John Porter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.