Path: csiph.com!news.mixmin.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mostowski Collapse Newsgroups: comp.lang.javascript Subject: Re: ANN: Dogelog Runtime, Prolog to the Moon (2021) Date: Mon, 13 Sep 2021 17:09:41 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 13 Sep 2021 15:09:39 -0000 (UTC) Injection-Info: solani.org; logging-data="666"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.9 Cancel-Lock: sha1:o4MNsi4X6SVTDlFGZEO5dbpfICU= X-User-ID: eJwFwQkBwDAIA0BLpQSayeH1L2F3pi5eD24OW9sYn9HseziNJbLKwD3I5rH81pq0G7GSKGrKkw31bikGfn6pFn8= In-Reply-To: Xref: csiph.com comp.lang.javascript:40380 Meanwhile maintaining a JavaScript and Python version in parallel. The Standard Python version of Dogelog runtime is annoyingly slow. So we gave it a try with andother Python, and it was 6x times faster. We could test GraalVM. We worked around the missing match in Python 3.8 by replacing it with if-then-else. Performance is a little better, we find: /* Standard Python Version, Warm Run */ ?- time(fibo(23,X)). % Wall 3865 ms, gc 94 ms, 71991 lips X = 46368. /* GraalVM Python Version, Warm Warm Run */ ?- time(fibo(23,X)). % Wall 695 ms, gc 14 ms, 400356 lips X = 46368. See also: JDK 1.8 GraalVM Python is 6x faster than Standard Python https://twitter.com/dogelogch/status/1437395917167112193 JDK 1.8 GraalVM Python is 6x faster than Standard Python https://www.facebook.com/groups/dogelog Mostowski Collapse wrote: > Dear All, > > Ok a simple mark and sweep works, and > a simple trigger mechanism does the job: > > ANN: Dogelog Runtime, Prolog to the Moon (2021) > https://qiita.com/j4n_bur53/items/17f86429745426bd14fd > > And we are 10x times faster than TauProlog! LoL > > Best Regards