Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #122551
| From | Mild Shock <janburse@fastmail.fm> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: ANN: Dogelog Player 1.1.5 (HTTP Server) |
| Date | 2024-02-20 17:09 +0100 |
| Message-ID | <ur2ish$ci33$2@solani.org> (permalink) |
| References | <uojet0$phpb$2@solani.org> <uoo65n$ru5h$3@solani.org> <uoqmjs$t68e$3@solani.org> <upiggd$18ave$3@solani.org> <uq6nnt$1jfbj$2@solani.org> |
Dogelog Player is a Prolog system that features a ‘$YIELD’/1 instruction. The instruction was conceived for single threaded runtimes with an event loop. We could now demonstrate how to realize it without an explicit event loop in a multi threaded runtime. The idea is that threads use a bouncer semaphore to get a permission to execute and thus become “coroutines”. Now that we have layed the foundation we started asyncifying Dogelog Player for Java. We demonstrate a HTTP server and HTTP client interaction in the same JVM. See also: Surrogate Async/Await with JDK 21 https://twitter.com/dogelogch/status/1759972607355470296 Surrogate Async/Await with JDK 21 https://www.facebook.com/groups/dogelog Mild Shock schrieb: > > We already reported the new capability > that we can read async from streams. We made > this available for the file system reads on > nodeJS. We report here about a further progress > extending the async approach to HTTP fetch in > the browser and on nodeJS. > > Multiple downloads make a case for async I/O > since RFC 2616 limits the number of connections. > HTTP/2 allows to send off multiple requests > which async I/O can capitalize. We demonstrate > quasi-parallel execution in Dogelog Player for > both the browser and nodeJS. > > See also: > > Async HTTP Client for Dogelog Player > https://twitter.com/dogelogch/status/1756144112946807135 > > Async HTTP Client for Dogelog Player > https://www.facebook.com/groups/dogelog
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-20 17:09 +0100
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-02-20 19:41 +0000
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-21 00:54 +0100
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-21 00:56 +0100
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-21 01:13 +0100
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <bursejan@gmail.com> - 2024-02-20 16:20 -0800
csiph-web