guile-user
[Top][All Lists]
Advanced

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

Re: Python-on-guile


From: Dr. Arne Babenhauserheide
Subject: Re: Python-on-guile
Date: Sun, 25 Apr 2021 12:54:14 +0200
User-agent: mu4e 1.4.15; emacs 27.2

Stefan Israelsson Tampe <stefan.itampe@gmail.com> writes:

> (define-syntax-rule (letec f)
>   (let/ec x (f x))))
>
> Actually lead to similar speeds as python3.

Please keep in mind that this is math. There are parts of Python that
are heavily optimized, for example reading strings from disk. Guile will
likely have a hard time to compete with that.

But for math Guile is quite a bit faster than Python :-)

(next frontier: compete with math that’s implemented via numpy — you
can find RPython implementations of the basics of numpy in the
pypy-sources:
https://foss.heptapod.net/pypy/pypy/-/tree/branch/default/pypy/module/micronumpy
)

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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