(with-websocket
(lambda ()
(send-message (string-append "you said: " (receive-message)))))
I'll add "porting Chicken web sockets to GNU Guile" to my ever growing todo list. (with-websocket
(lambda ()
(send-message (string-append "you said: " (receive-message)))))
I'll add "porting Chicken web sockets to GNU Guile" to my ever growing todo list.It probably isn't very portable right now, unfortunately. It uses a lot of CHICKEN specific things to increase speed and memory efficiency but I'm totally open to making it more portable.
I'm very familiar with that cycle. I'm writing a game engine in Guile and I am constantly implementing something, throwing it away, and trying again. Every time you get a bit closer to the API you really want.
>It probably isn't very portable right now, unfortunately.
That's alright. Portable Scheme is cool, but I prefer using what the implementation gives me instead of restricting myself to RnRS. Especially so for something like networking code.
I might never get around to it, but if I find myself wanting to tackle a new project, I'll give porting this a try.