Sujet : Re: ANN: Dogelog Player 1.2.5 (bun.js Support)
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.prologDate : 19. Dec 2024, 17:00:29
Autres entêtes
Message-ID : <vk1fur$131fo$1@solani.org>
References : 1 2 3 4 5
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19
Ok, thanks!
There is a problem that I haven't resolved yet.
Namely node.js ≥ 22.11.0 is too optimistic.
Especially when using JavaScript together with
the AntScript that runs the test cases. When
I use the AntScript test cases on Dogelog Player 1.2.6,
with node.js version 23.x I see this Warning:
Test run ...
Generating dump ...
comply_reference_report
Warning: Detected unsettled top-level await
Result: 13
The warning doesn't show with node.js version 22.x.
Since it happens when running some test cases which
do all kind of non-sunshine probing, it could be a
problem that somewhere I really miss settling a promise,
or its an ugly timing problem. It doesn't happen when
opening the top-level or running a script.
Like the top-level shows me:
> node.exe player\canned\dogelog.mjs
Dogelog Spieler, Prolog zum Mond, 1.2.6 (05.12.2024)
(c) 1985-2024, XLOG Technologies AG, Schweiz
?- current_prolog_flag(host_info, X).
X = 'node, JavaScript 23.4.0'.
?- X=0;X=1.
X = 0;
X = 1.
?- end_of_file.
So its all fine if we do simple things. But something
is wrecked when running the test suite. It doesn't
happen with bun.js. I will open a ticket as a reminder.
Aleks Grabowski schrieb:
Date :Sat, 7 Dec 2024 14:38:36 +0100. Mild Shock wrote:
Whats also extremly annonying. A very early version of node 23.x didn't
work correctly. So I fell back to node 22.x. Still waiting to do some
retest with 23.x.
>
What worked for me in the tip release is actually published here:
>
j Dogelog Player 1.2.5, Java 23.0.1 js Dogelog Player 1.2.5,
JavaScript
22.11.0 py Dogelog Player 1.2.5, Python 3.10.14
>
https://www.novacuor.ch/exatab/doclet/docs/10_core/ryzen/package.html?
hash=bench
>
But Python is in fact PyPy and JavaScript is curently node.
But the above doesn't reflect really the minimum, rather only the known
maximum on Windows 11.
Current version requirements for arch package are:
py CPython ≥ 3.10.14 or pypy3 (any version)
js nodejs ≥ 22.11.0 or bun (any version)
j java-runtime ≥ 21
I expect users to apply common sense when trying to run Dogelog it should
be obvious that very old interpreters might not work :)