IRC channel logs

2024-05-24.log

back to list of logs

<ArneBab>old: maybe the first actual scheme — the first semi-scheme was biwascheme, AFAIK. But that combines the syntax of Scheme with the broken scoping of Javascript.
<ecraven>there were many scheme-on-javascript, no?
<mwette>kawa: scheme on jvm
<cpli>i'm using a c library which in-term uses libuv. i'm attempting to incorporate (system repl coop-server) in the way the documentation intends ("programs utilizing an event loop") here: https://paste.sr.ht/~cpli/5973451294f9270bd40e7eaad459c1e634ac4c20 but run into hurdles attempting to "select" on the client
<cpli>*on the client sockets
<mwette>hmm, I use spawn-coop-repl-server and then loop with poll-coop-repl-server; Once your server is running, try `telnet localhost 37146' to see if that connects.
<cpli>oh yes, (system repl coop-server) definitely works! if you look at the paste mwette, you could see what unholy shenanigans i'm trying to achieve
<cpli>i'm basically pulling the server to pieces, such that i can pass the client file descriptors to libuv.. i.e. such that i don't need to "own" the event loop
<daviid>cpli: unless for spome reason you are forced to bew in C and/or use that libuv lib, you could instead 'do all this in scheme', using fibers or guile-a-sync3, fwiw