unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
To: Jean Abou Samra <jean@abou-samra.fr>
Cc: "guile-user@gnu.org" <guile-user@gnu.org>, guile-devel@gnu.org
Subject: Re: Guile optimizations slowing down the program?
Date: Wed, 09 Mar 2022 11:25:07 +0100	[thread overview]
Message-ID: <87h787wgy9.fsf@web.de> (raw)
In-Reply-To: <9F1BBE98-4FF0-4B50-8B45-7377B82DE373@abou-samra.fr>

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


Jean Abou Samra <jean@abou-samra.fr> writes:

>>> There is also a felicitous feedback effect in that because the
>>> baseline compiler is much smaller than the CPS compiler, it takes less
>>> time to macro-expand — https://wingolog.org/archives/2020/06/03/a-baseline-compiler-for-guile
>
> As far as I understand, this is about the speed of compilation. For
> the reason explained above, it doesn't factor into the speed of
> LilyPond.

The speed of compilation is only part of it. The blog post also shows
that the optimizations gain factor 4 in speed for the compiled code, but
if there are lots of macros to expand in the *.ly files, unoptimized
code (which is smaller, because it is higher-level) might actually be
faster.

This as all highly speculative on my side, though …

> Thanks for responding!

In my opinion Lilypond is one of the most important Guile-Programs.
Since I started running Guix as Distro, Lilypond is no longer *the* most
important Guile program for me (since without Guix my system would
simply not run), but Lilypond is still the one tool I really need.

All the other Guile-using utilities I have are nice to have conveniences
(or code I wrote myself). Lilypond is the only mission-critical tool for
which I would not be able to find a replacement, because I require it to
improve my songbook. There’s just nothing like it.

Thank you very much for working on Lilypond!

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 --]

      reply	other threads:[~2022-03-09 10:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-08 23:31 Guile optimizations slowing down the program? Jean Abou Samra
2022-03-09  7:28 ` Maxime Devos
2022-03-09  7:53   ` Dr. Arne Babenhauserheide
2022-03-09 10:01     ` Jean Abou Samra
2022-03-09 10:25       ` Dr. Arne Babenhauserheide [this message]

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=87h787wgy9.fsf@web.de \
    --to=arne_bab@web.de \
    --cc=guile-devel@gnu.org \
    --cc=guile-user@gnu.org \
    --cc=jean@abou-samra.fr \
    /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).