[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
signature.asc
Description: PGP signature
- Re: Python-on-guile, (continued)
- Re: Python-on-guile, Matt Wette, 2021/04/23
- Re: Python-on-guile, Mikael Djurfeldt, 2021/04/24
- Re: Python-on-guile, Stefan Israelsson Tampe, 2021/04/24
- Re: Python-on-guile, Stefan Israelsson Tampe, 2021/04/24
- Re: Python-on-guile, Stefan Israelsson Tampe, 2021/04/24
- Re: Python-on-guile, Stefan Israelsson Tampe, 2021/04/24
- Re: Python-on-guile, Mikael Djurfeldt, 2021/04/25
- Re: Python-on-guile, Stefan Israelsson Tampe, 2021/04/25
- Re: Python-on-guile, Stefan Israelsson Tampe, 2021/04/25
- Re: Python-on-guile,
Dr. Arne Babenhauserheide <=
- Re: Python-on-guile, Vivien Kraus, 2021/04/25
Re: Python-on-guile, Stefan Israelsson Tampe, 2021/04/25
Re: Python-on-guile, Nala Ginrut, 2021/04/27