guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Including code in a non-Guile language into Guix


From: Simon Tournier
Subject: Re: Including code in a non-Guile language into Guix
Date: Tue, 10 Dec 2024 17:24:50 +0100

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

Cheers,
simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]