Re: Performance & Perl
- From: xhoster@xxxxxxxxx
- Date: 29 Oct 2005 23:14:22 GMT
robic0@xxxxxxxxx wrote:
> Or C?
>
> (Disclaimer: I have not delved into the Perl source)
>
> How close does Perl follow C as far as primatives?
Um, not at all. Perl primitives are scalar, self-resizing arrays,
and hashes. C primitives are floats, doubles, ints, bytes, etc, and
primitive arrays.
> Can I rely on Perl language constructs to follow C when
> writing performance code?
I have no idea what that means.
>
> In a runtime race will a Perl for loop time exactly the same as a
> C for loop?
No. A C for loop won't even time *exactly* the same as a C for loop.
>When the race begins, if not, why not?
Why would they?
>
> Any divergence in stack processing Perl to C?
I'm not exactly sure what that means, but I'm pretty sure the
answer is yes.
>
> Is there such a thing as a Perl "temporary" on the stack?
>
> Why would I need to care about any of this on a "higher level"
> language,
Um, I don't know. Why is purply my favorite color?
> or is Perl a higher level language?
Higher than what? C? Yes.
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
.
- Prev by Date: Re: Performance & Perl
- Next by Date: windows program return values vs perl return values from a call to system() -- windows post only
- Previous by thread: Re: Performance & Perl
- Next by thread: Re: Performance & Perl
- Index(es):
Relevant Pages
|
|