Email or username:

Password:

Forgot your password?
Ekaitz Zárraga 👹

So I finally implemented a bytepusher (with no audio) because I wanted to:

1. play a little bit more with #guile
2. see how fast is #guile for games

Comparing with a roughly equivalent code done in C, this is consuming much more CPU power... Now I wonder if it's something I did and if there's anything I could improve.

git.elenq.tech/bytepusher/tree

Any ideas on what should I optimize?
I want this to be as lightweight as possible, just as a learning exercise.

2 comments
Ekaitz Zárraga 👹

@jeko do you have any idea on how can I make this faster?
I think the `get-pixels` function might be the bottleneck, but still need to make sure...
Do you know if guile has a profiler?

⠴Ninjatrappeur⠦
@ekaitz_zarraga @jeko

*random pleroma creep joins*

I used https://www.gnu.org/software/guile/manual/html_node/Statprof.html last weekend to profile parts of Guix. It's dog slow, but it helped me quite a lot. The documentation is decent.
Go Up