Path: ...!news.nobody.at!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock Newsgroups: comp.lang.java.programmer Subject: ANN: Dogelog Player 1.1.6 (HTTP Client) Date: Thu, 7 Mar 2024 18:09:49 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 7 Mar 2024 17:09:49 -0000 (UTC) Injection-Info: solani.org; logging-data="1137277"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.1 Cancel-Lock: sha1:nwE1y/ApJEvGqcjGoI0lulxeJ6Y= X-User-ID: eJwFwQkBwDAIA0BLZSU8cgIU/xJ2h2ti7WowxWJbEo++zBfuzlO1UkBMF+JcX+MUh+8Q0poYgKaeGvZ97wd1lhX+ X-Mozilla-News-Host: news://news.solani.org:119 Bytes: 2133 Lines: 33 Dear All, We are happy to announce a new edition of the Dogelog player: - Enhanced '$YIELD'/1: Previously the '$YIELD'/1 instruction was hard coded to understand an integer for sleep/1 and an atom for native library loading. The implementation has been change to accept a Promise object, known from JavaScript. Emulations were made available for Java and Python. - Async I/O: Based on the new '$YIELD'/1 and a buffer fast path idea, the console reading, file property and file reading have been asyncified. There is no change in the Prolog API, files are still to be opened via the ISO core open/3 and accessed via ISO core get_code/2 respectively ISO core peek_code/2. But input can now be executed quasi-parallel by multiple tasks. - HTTP client: The ISO core open/4 has been moved to the library(spin). The support of the HTTP and HTTPS protocol in open/3 and open/4, has been extended from the JavaScript browser to the JavaScript command line (by means of new fetch in nodejs >21). Further supported targets are now Python and Java (by means of new HTTP client in JDK >21). Have Fun! Jan Burse, http://www.xlog.ch/ , 07.03.2024