unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
To: Damien Mattei <damien.mattei@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: speed difference between Guile and Racket (and Python)
Date: Mon, 07 Nov 2022 10:21:30 +0100	[thread overview]
Message-ID: <871qqfqfjn.fsf@web.de> (raw)
In-Reply-To: <CADEOadc3eEpMhS3TyzPni=rE0GoAzaZtPWxPkJD95Sa2J1J39A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]


Damien Mattei <damien.mattei@gmail.com> writes:

> when comparing the (almost) same code running on Guile and Racket i find
> big speed difference:

Schemes differ a lot in speed of different tasks, but Racket is one of
the fastest ones. Factor 2 difference sounds plausible. For a
comparison, see the r7rs benchmarks:
https://ecraven.github.io/r7rs-benchmarks/

That said, I have seen 10x speedups in Guile code when people went for
optimizing it.

> last version of code is here:
> https://github.com/damien-mattei/library-FunctProg/blob/master/guile/logiki%2B.scm#L3092

Could you give the shell commands to setup and run your speed-test?

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

  parent reply	other threads:[~2022-11-07  9:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-06 16:01 speed difference between Guile and Racket (and Python) Damien Mattei
2022-11-06 22:23 ` Speed " Hans Åberg
2022-11-06 22:35   ` Damien Mattei
2022-11-07  9:21 ` Dr. Arne Babenhauserheide [this message]
2022-11-07 13:23   ` speed " Zelphir Kaltstahl
2022-11-09 14:24   ` Damien Mattei
2022-11-08  8:03 ` Linus Björnstam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qqfqfjn.fsf@web.de \
    --to=arne_bab@web.de \
    --cc=damien.mattei@gmail.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).