Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.prolog > #14506 > unrolled thread

BigNums: JavaScript is killing it [Node.js v24.0.1]

Started byMild Shock <janburse@fastmail.fm>
First post2025-05-11 11:36 +1000
Last post2025-05-14 11:59 +1000
Articles 2 — 1 participant

Back to article view | Back to comp.lang.prolog


Contents

  BigNums: JavaScript is killing it [Node.js v24.0.1] Mild Shock <janburse@fastmail.fm> - 2025-05-11 11:36 +1000
    Denoising Fixpoint Operator in Prolog (Was: BigNums: JavaScript is killing it [Node.js v24.0.1]) Mild Shock <janburse@fastmail.fm> - 2025-05-14 11:59 +1000

#14506 — BigNums: JavaScript is killing it [Node.js v24.0.1]

FromMild Shock <janburse@fastmail.fm>
Date2025-05-11 11:36 +1000
SubjectBigNums: JavaScript is killing it [Node.js v24.0.1]
Message-ID<vvouv0$gt77$1@solani.org>
Hi,

Just noticed that Node.js v24.0.1 has mostlikely
faster BigNums. Here is some test:

/* Dogelog Player 1.3.3 for JavaScript */
?- time(_ is 7^(8^9)).
% Zeit 3813 ms, GC 0 ms, Lips 5, Uhr 11.05.2025 11:31
true.

Not bad , current bun.js cannot do it. And it is
almost like this here based on GMP:

/* SWI-Prolog 9.3.21 */
?- time(_ is 7^(8^9)).
% 0 inferences, 1.594 CPU in 1.677 seconds
true

Bye

[toc] | [next] | [standalone]


#14508 — Denoising Fixpoint Operator in Prolog (Was: BigNums: JavaScript is killing it [Node.js v24.0.1])

FromMild Shock <janburse@fastmail.fm>
Date2025-05-14 11:59 +1000
SubjectDenoising Fixpoint Operator in Prolog (Was: BigNums: JavaScript is killing it [Node.js v24.0.1])
Message-ID<1000ted$kft4$1@solani.org>
In reply to#14506
Prolog and logic programming has traditionally
payed a lot of attention to fix point theory. For
example one can defin the least herbrand model
of a definite program.

Anybody already experimented in pure Prolog code
with stable diffusion, aka a fixpoint operator that
is a denoising autoencoder and do the thing as a
kernel operator over a grid?

P.S.: Interesting fixpoint scenarios and
maybe even new hardware:

GENERATIVE PSEUDO-INVERSE MEMORY
https://openreview.net/pdf?id=Harn4_EZBw

Mild Shock schrieb:
> Hi,
> 
> Just noticed that Node.js v24.0.1 has mostlikely
> faster BigNums. Here is some test:
> 
> /* Dogelog Player 1.3.3 for JavaScript */
> ?- time(_ is 7^(8^9)).
> % Zeit 3813 ms, GC 0 ms, Lips 5, Uhr 11.05.2025 11:31
> true.
> 
> Not bad , current bun.js cannot do it. And it is
> almost like this here based on GMP:
> 
> /* SWI-Prolog 9.3.21 */
> ?- time(_ is 7^(8^9)).
> % 0 inferences, 1.594 CPU in 1.677 seconds
> true
> 
> Bye

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.prolog


csiph-web