Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: Re: Re: C vs. Perl

by Elian (Parson)
on Oct 22, 2003 at 20:44 UTC ( #301359=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: C vs. Perl
in thread C vs. Perl

I specifically stated in a later paragraph that high-performance items should be written in C over Perl. (I make no statement about any other language in that sentence.)
You were specifically talking performance in that chunk of caveat. I wasn't necessarily--I was talking about ease. There are things that are easier in C than in perl, even when performance requirements are factored out.

Also, as to this:

As for writing interpreters in one language vs. another ... I'm going to suspect that writing the parsing portion for an interpreter is easier to do in Perl than in C, simply for the string manipulation functions.
That turns out not to be the case. There are a number of styles of parsing that are easier in C than they are in Perl both as hand-rolled parsers and taking the language as a target for a parser generator.

I'll reiterate--you may think that perl is easier than C in all cases, but that turns out not to be the case.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://301359]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2021-08-05 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (44 votes). Check out past polls.

    Notices?