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


Groups > comp.lang.javascript > #124465

π-WAM Assembly: Comfortable Labels and Goto (RRe: π-WAM Contest: 1 Million Packets with Prolog)

Path csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Mild Shock <janburse@fastmail.fm>
Newsgroups comp.lang.javascript
Subject π-WAM Assembly: Comfortable Labels and Goto (RRe: π-WAM Contest: 1 Million Packets with Prolog)
Date Sun, 9 Aug 2026 19:39:16 +0200
Message-ID <115ae04$6ap5$3@solani.org> (permalink)
References <1148lq6$hg9r$2@solani.org> <114ppi7$svql$2@solani.org> <114vaau$10nl1$2@solani.org> <1154v18$2m36$3@solani.org>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Sun, 9 Aug 2026 17:39:16 -0000 (UTC)
Injection-Info solani.org; logging-data="207653"; mail-complaints-to="abuse@news.solani.org"
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24
Cancel-Lock sha1:nx4a6VXrOuVVyBrf9JqECaADOu0=
In-Reply-To <1154v18$2m36$3@solani.org>
X-User-ID eJwNy7EBACEIBLCVFDh8xkHg9h/h7dIE6tvrmMMNBHW3fbAlzREUtiYyCc2RGDsyURM3pJ/6NSE8VIlLv7V+TsQVnA==
Xref csiph.com comp.lang.javascript:124465

Show key headers only | View raw


Hi,

What Hamelt is to English language, is Hack to
Compiler Construction. The playbook of Hack contains
every drama that a Compiler Construction will face.
In the following we show how we realized Project 6:
Assembler from the Nand to Tetris journey via
a little Prolog DSL.

Our initial quick and dirty prototype deploys
double buffering to determine code lengths and
is brittle in examples such as between/3. Our
assembly DSL does without symbol tables but with
Prolog logical variables only. We could fix the
between/3 glitch and give a first disjunction
(;)/2 prototype.

Bye

See also:

π-WAM Assembly: Comfortable Labels and Goto
https://medium.com/2989/1a11dd512813

Mild Shock schrieb:
 > Hi,
 >
 > We recently demonstrated a Prolog emulator for
 > ADA RendezVous without ACK and NACK. This is basically
 > a bounded buffer with max_size=1. We now went on and
 > implemented this kind of fire and forget channel
 > object natively for JavaScript, Java and Python.
 > Some results.
 >
 > Our 100 producers and 100 consumers, that communicate
 > 10000 packets through a single channel, is the camel
 > to go through the eye of a needle test case. Both
 > π-WAM and SWI-Prolog can do it below a second using
 > different means, but π-WAM beats SWI-Prolog here
 > by a factor of ca. 1.5x.
 >
 > Bye
 >
 > See also:
 >
 > π-WAM Contest: 1 Million Packets with Prolog
 > https://medium.com/2989/ec3e91551773

Back to comp.lang.javascript | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

ANN: Dogelog Player 2.2.4 (Parallel π-WAM) Mild Shock <janburse@fastmail.fm> - 2026-07-28 00:24 +0200
  GPU Backend: Find 0xCAFFEE with π-WAM (Re: ANN: Dogelog Player 2.2.4 (Parallel π-WAM)) Mild Shock <janburse@fastmail.fm> - 2026-08-03 12:12 +0200
    Emulating ADA RendezVous in π-WAM (Re: GPU Backend: Find 0xCAFFEE with π-WAM) Mild Shock <janburse@fastmail.fm> - 2026-08-05 14:29 +0200
      π-WAM Contest: 1 Million Packets with Prolog (Re: Emulating ADA RendezVous in π-WAM) Mild Shock <janburse@fastmail.fm> - 2026-08-07 17:53 +0200
        π-WAM Assembly: Comfortable Labels and Goto (RRe: π-WAM Contest: 1 Million Packets with Prolog) Mild Shock <janburse@fastmail.fm> - 2026-08-09 19:39 +0200

csiph-web