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.
http://git.elenq.tech/bytepusher/tree/bytepusher.scm
Any ideas on what should I optimize?
I want this to be as lightweight as possible, just as a learning exercise.
@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?