Article View: comp.lang.functional
Article #1112Re: Why such poor recursive behaviour?
From: namekuseijin
Date: Thu, 31 Jul 2008 18:09
Date: Thu, 31 Jul 2008 18:09
10 lines
1967 bytes
1967 bytes
On 31 jul, 05:28, torb...@pc-003.diku.dk (Torben Ægidius Mogensen) wrote: > I think the difference is not due to the speed of recursive function > calls but due to the speed of arithmetic. Most functional languages > check for overflow at every arithmetic operations, which adds a > considerable overhead. C does not. Hmm, I thought languages like Ada, Oberon-2 or Java did check for arithmetic overflow as well.
Technical Details
Message-ID:
<02fa4769-6bf5-459a-a6c6-2eb1aaba6aee@8g2000hse.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!8g2000hse.googlegroups.com!not-for-mailReferences:
<525fb940-a88e-4276-bd80-86b0b178a08a@m3g2000hsc.googlegroups.com> <7zhca6sbja.fsf@pc-003.diku.dk>Show Full Headers
Complete Article Headers
X-Google-Thread: 107f24,904ab2e1d637ae0f X-Google-Thread: ff861,904ab2e1d637ae0f X-Google-Thread: 10707f,904ab2e1d637ae0f X-Google-Thread: 103d24,904ab2e1d637ae0f X-Google-Thread: f4fd2,904ab2e1d637ae0f X-Google-Attributes: gid107f24,gidff861,gid10707f,gid103d24,gidf4fd2,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!8g2000hse.googlegroups.com!not-for-mail From: namekuseijin <namekuseijin@gmail.com> Newsgroups: comp.lang.functional,fa.caml,fa.haskell,comp.lang.scheme,comp.lang.lisp Subject: Re: Why such poor recursive behaviour? Date: Thu, 31 Jul 2008 11:09:52 -0700 (PDT) Organization: http://groups.google.com Lines: 10 Message-ID: <02fa4769-6bf5-459a-a6c6-2eb1aaba6aee@8g2000hse.googlegroups.com> References: <525fb940-a88e-4276-bd80-86b0b178a08a@m3g2000hsc.googlegroups.com> <7zhca6sbja.fsf@pc-003.diku.dk> NNTP-Posting-Host: 189.60.59.171 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1217527792 28635 127.0.0.1 (31 Jul 2008 18:09:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 31 Jul 2008 18:09:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 8g2000hse.googlegroups.com; posting-host=189.60.59.171; posting-account=AhEwOgoAAABfI1IAWWBiHDSU2pvzqVnt User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe)