Sujet : ANN: Dogelog Player 1.2.2 (Block I/O)
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.pythonDate : 03. Sep 2024, 10:41:16
Autres entêtes
Message-ID : <vb6i3b$23dm5$2@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.2
Dear All,
We are happy to announce a new edition of the
Dogelog player:
- Novacore get_atom/[2,3]:
In the previous version, get_atom/[2,3] allowed
reading text files, in particular entire files or
just lines could be read. After introducing type(binary)
we have now also adjusted the signature of the predicate.
It now accepts an options list.
- library(charsio):
get_atom/[2,3] is still implemented 100% Prolog, but
now also allows reading binary blocks using the compress/1
and max/1 options. Accordingly, we renamed enum_lines/2
to enum_atoms/2 and introduced enum_atoms/3, the latter
accepting the same options list.
- library(files):
So far, copy_binary/2 was implemented natively synchronously,
for the platforms JavaScript, Python and Java. The disadvantage
was that execution could block. The new asynchronous
implementation is based on enum_atoms/3 and allows other
tasks to be executed while waiting for I/O.
Have Fun!
Jan Burse, 03.09.2024,
http://www.xlog.ch/