[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Web development without connections to external repl (in geiser)
From: |
Dr. Arne Babenhauserheide |
Subject: |
Re: Web development without connections to external repl (in geiser) |
Date: |
Sun, 16 Oct 2022 09:12:42 +0200 |
User-agent: |
mu4e 1.8.9; emacs 28.1 |
Dmitry Polyakov <liltechdude@gmail.com> writes:
>> Using fibers, I thought I could run the web server in seperate thread
>> that dont block current one where, for example, I could rebind the
>> handler (via ice-9 atomics or something). But it's not, after eval
>> (run-server handler), repl get stuck. May be I misunderstood something?
>> This is code:
>
> May this is because of main thread is blocked by REPL?
Have a look at the cooperative REPL in chickadee:
https://www.gnu.org/software/guile/manual/html_node/Cooperative-REPL-Servers.html
https://dthompson.us/manuals/chickadee/Live-Coding.html
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
signature.asc
Description: PGP signature