[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Including code in a non-Guile language into Guix
From: |
Maxim Cournoyer |
Subject: |
Re: Including code in a non-Guile language into Guix |
Date: |
Sun, 15 Dec 2024 21:22:27 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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