Re: [PATCH] build: Use PKG_INSTALL_DIR

2024-03-25 Thread David Pirotte
Hello Arsen, > ... > This patch is in a similar vein to my earlier patch to Guile itself > posted at > https://lists.gnu.org/archive/html/guile-devel/2023-03/msg00040.html > These came up while I was working on packaging Guile in Gentoo. > ... I pushed the proposed changes to the devel branch, w

RE: Non-blocking web server

2024-03-25 Thread Maxime Devos
Your flag #:blocking? #true would do a per-connection thread, which while implementing lack of blocking, is a stronger property than non-blocking. Also, (kernel-level) threads have some overhead, which is sub-optimal; Instead of a flag, I propose defining a new ‘server-impl’ Web Server (Guile R

Re: Non-blocking web server

2024-03-25 Thread Nala Ginrut
Hi Ryan! For the single-threaded non-blocking server in Guile, you have to make sure at least 3 steps: 1. set socket to non-blocking 2. enable suspended ports to prepare delimited-continuation powered coroutine 3. designed your own scheduler Even in the single thread, you can handle requests concu