Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #53694
| From | Mild Shock <janburse@fastmail.fm> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: ANN: Dogelog Player 1.1.5 (HTTP Server) |
| Date | 2024-02-20 17:10 +0100 |
| Message-ID | <ur2it3$ci33$3@solani.org> (permalink) |
| References | <uojfa4$pi4d$1@solani.org> <uoo62r$ru5h$1@solani.org> <uoqmkv$t68e$4@solani.org> <upigf0$18ave$2@solani.org> <uq6nq0$1jfbj$4@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.java.programmer | Previous | Next — Previous in thread | Find similar
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-01-23 11:57 +0100
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-02 11:34 +0100
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-20 17:10 +0100
csiph-web