unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: Ricardo Wurmus <rekado@elephly.net>,
	 Evan Cooney <evancooney71@gmail.com>,
	 guix-devel@gnu.org
Subject: Re: Including code in a non-Guile language into Guix
Date: Sun, 15 Dec 2024 21:22:27 +0900	[thread overview]
Message-ID: <87ttb5w2yk.fsf@gmail.com> (raw)
In-Reply-To: <87pllzy08d.fsf@gmail.com> (Simon Tournier's message of "Tue, 10 Dec 2024 17:24:50 +0100")

Hello,

Simon Tournier <zimon.toutoune@gmail.com> writes:

> Hi,
>
> On Thu, 31 Oct 2024 at 17:15, Ricardo Wurmus <rekado@elephly.net> wrote:
>
>>> by rewriting some of the
>>> code in a more performance-oriented language like C?
>>
>> No.
>>
>> Guile is not the bottleneck.
>
> For what it is worth, some months ago I gave a look to ’sort’.
>
> The current implementation provided by Guile is written in C.  Guess
> what?  I wrote some pure Guile as fast as such C (if not faster!).
>
> https://simon.tournier.info/posts/2024-02-05-guile-sort/index.html
>
> To make explicit my understanding of Ricardo’s answer: no it’s not the
> Scheme compiler provided by Guile that is the current performance
> bottleneck but there is still room of improvement for the whole Guile
> (Garbage Collection, Standard Library, etc.).

Thanks for sharing; that was a fun (and impressive!) read.  Congrats for
the blog post and new sort Scheme implementation!

-- 
Thanks,
Maxim


  reply	other threads:[~2024-12-15 12:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-31  2:34 Including code in a non-Guile language into Guix Evan Cooney
2024-10-31 12:31 ` Daniel Littlewood
2024-10-31 14:15   ` Suhail Singh
2024-10-31 16:13     ` Ricardo Wurmus
2024-10-31 17:12       ` Suhail Singh
2024-10-31 16:15     ` Runciter via Development of GNU Guix and the GNU System distribution.
2024-10-31 16:23       ` Evan Cooney
2024-12-10 16:30   ` Simon Tournier
2024-10-31 16:15 ` Ricardo Wurmus
2024-12-10 16:24   ` Simon Tournier
2024-12-15 12:22     ` Maxim Cournoyer [this message]
2024-11-01 22:49 ` Attila Lendvai

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://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87ttb5w2yk.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=evancooney71@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    --cc=zimon.toutoune@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).