Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.prolog > #13980
| From | Mild Shock <janburse@fastmail.fm> |
|---|---|
| Newsgroups | comp.lang.prolog |
| Subject | Re: ANN: Dogelog Player 1.1.5 (HTTP Server) |
| Date | 2024-02-20 17:09 +0100 |
| Message-ID | <ur2irj$ci33$1@solani.org> (permalink) |
| References | <uojerg$phpb$1@solani.org> <580b77e9-5ce1-4659-b449-7ed5bb40b50dn@googlegroups.com> <uoqmhs$t68e$1@solani.org> <upigdd$18ave$1@solani.org> <uq6nmq$1jfbj$1@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.prolog | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-01-21 16:56 +0100
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <bursejan@gmail.com> - 2024-01-23 02:54 -0800
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-01-24 10:50 +0100
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-02 11:33 +0100
Re: ANN: Dogelog Player 1.1.5 (HTTP Server) Mild Shock <janburse@fastmail.fm> - 2024-02-10 03:40 +0100
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) Mild Shock <janburse@fastmail.fm> - 2024-03-03 20:25 +0100
csiph-web