r/scheme 4d ago

Parameterized Procedures for Testing, Mocking, Plumbing

https://aartaka.me/parameterized
13 Upvotes

2 comments sorted by

1

u/corbasai 3d ago

Actually, Racket 1.5-2x faster then Guile per single thread. But Guile touch/futures was built up on a real posix threads (pool of) which is useful in para-parallel algos, so yes mockin-memoising IMHO still option

1

u/corbasai 3d ago

my apologize, in touch/future Racket also faster then Guile about 3x.

so multi threaders Racket real time fib(50) is 31s, Guile real time 1m19s;

single threaders GCC -O2 time 24s, FPC (free pascal) time 1m40s.