IRC channel logs

2025-08-18.log

back to list of logs

<ArneBab>sneek: later tell ttz: I think the first step before standardization would be to find out what’s needed to speed up the implementation in Guile. ⇒ 3P: 3 Pillars of improvement: Experimentation, Implementation, Standardization. ⇒ https://www.draketo.de/software/programming-scheme#compare-equal
<sneek>Okay.
<ttz>ArneBab: you asked to see the numbers so I documented everything in here: https://codeberg.org/ttz/inner-product-benchmark.
<ttz>As I said, no break-through here but it is rather pleasant to see that Chez is actually able to reach Rust speed.
<ttz>Guile is suprisingly good too!
<ArneBab>ttz: thank you! that’s really neat! You could try to kick Guile a bit deeper by pre-compiling with guild compile -O3 FILE.scm -o FILE.go and then call guile with guile -L . -C .
<dsmith>sneek, botsnack
<sneek>:)
<dsmith>!uptime
<sneek>I've been aware for 7 months
<sneek>This system has been up 30 weeks, 1 day, 8 hours, 40 minutes
<ttz>ArneBab: the command you suggested that first compiles using O3 produced no noticeable change at all :/
<ArneBab>ttz: then Guile already does all applicable optimizations on O2 -- thank you for testing!
<reyman>hi !
<reyman>Seems a previous guix pull broke both my gnome start but also failed to compile a derivation : guix-science channel package jupyter.scm is broken with unbound variable for nss-certs-for-test
<identity>reyman: you probably want to ask about that in #guix instead
<reyman>oups
<ttz>Is it possible to cond-expand an import inside a library?
<ttz>or cond-expand anything at all inside a library?
<ttz>I have this error: https://paste.debian.net/1392272/
<mwette>must be library thing, it's used in (system base lalr) module
<mwette>maybe try define-syntax-rule ?
<mwette>^ is Guile specific. Maybe (define-syntax fl:* (identifier-syntax *))
<ttz>So it's said in the SRFI that "The construct is restricted to the top level of a program".
<ttz>And anyway Chez does not have cond-expand in its base namespace.
<ttz>So I would need to import SRFI-0 I guess... which guile does not implement...
<ttz>So I am going to have a module for both in different files but with the same name, and manually load the dedicated file in each REPL I guess.
<ttz>This is really a hack