Not declarative with PHI (Φ) nodes (Re: MIPS is a big Huffman mess [But Hack could do it])

Liste des GroupesRevenir à c theory 
Sujet : Not declarative with PHI (Φ) nodes (Re: MIPS is a big Huffman mess [But Hack could do it])
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.theory comp.lang.c comp.lang.java
Date : 30. Jul 2026, 21:41:13
Autres entêtes
Message-ID : <114gct8$mn2q$3@solani.org>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24
Hi,
Another choice for naming Hack, would be
to call it an intermediate format. But
this is typically used here:
The intermediate representation, or
IR for short, is an in-memory data
structure that represents executable code.
https://www.llvmpy.org/llvmpy-doc/dev/doc/llvm_concepts.html#ssa-form-and-phi-nodes
So I still like the term abstract machine,
as already used in the past by  David H. D. Warren
for the famous, and in my opinion infamous:
Warren Abstract Machine 1983
https://en.wikipedia.org/wiki/Warren_Abstract_Machine
Maybe you can take the term abstract machine
as a hint that it is more lower level, and
more imperative. Not something highlevel, that
is easily malleable. But abstract also captures
the notion that there is still a level further
down, making it concrete. And you find
many Prolog systems that did just that, they
compile WAM into a further instruction stream,
like x86 or whatever, for binary compiled code,
that is not interpreted WAM.
Bye
Mild Shock schrieb:
 > Hi,
 >
 > There is Prolog compiler which spits out Hack.
 >  From there on your are free to develop
 > and/or use any Hack realization that goes
 >
 > from abstract to concrete. You could
 > replace the CPU backends that realize
 > a Hack VM by MIPS. Shouldn't be difficult.
 >
 > Basically I refused to think in Huffman
 > Coding (*) while designing Hack VM. On the
 > other hand the MIPS architecture looks
 >
 > like a big Huffman mess. Already its
 > initial design has 3 instructions types:
 >
 > Type format (bits)
 > R opcode(6) rs(5) rt(5) rd(5) shamt(5) funct(6)
 > I opcode(6) rs(5) rt(5) imme(16)
 > J opcode(6) addr(26)
 >
 > While my Hack has only 1 instruction
 > type, when binary encoded for Hack VM,
 > the currently used design looks as follows:
 >
 > Type format (bits)
 > AD opcode(4) mode(4) cond(4) imme(10) addr(10)
 >
 > But since its an abstract machine, nothing
 > prevents you from translating Hack code
 > into MIPS before executing it.
 >
 > In has far you have to distinguish Hack,
 > which is specified in Prolog. And Hack VM
 > which is a virtual machine, with the above
 >
 > instruction packing. And which has currently
 > a JavaScript runtime, a Python runtime
 > and a Java runtime.
 >
 > Bye
 >
 > (*)
 > https://en.wikipedia.org/wiki/Huffman_coding
 >

Date Sujet#  Auteur
29 Jul 26 * A brain desease of 20 days [Rossy Boy] (Was: Viswath & Charmaigne (vector-wide scalar-word and character machines))39Mild Shock
29 Jul 26 +* Rossy Boys tears could cool a data center [pi-WAM Interleaved Synchronized Emulator]34Mild Shock
29 Jul 26 i+* I don't use Rust, you are crazy [Jump off a bridge, idiot] (Was: Rossy Boys tears could cool a data center [pi-WAM Interleaved Synchronized Emulator])4Mild Shock
4 Aug 26 ii`* Standing on the shoulders of giants (Re: I don't use Rust, you are crazy [Jump off a bridge, idiot])3Mild Shock
4 Aug 26 ii `* You Thief! Stealing Szemeredi, Aristotle, Leibniz, etc.. (Re: Standing on the shoulders of giants)2Mild Shock
4 Aug 26 ii  `- How Rossy Boys plagiarism works [Copy Paste Slop] (Re: You Thief! Stealing Szemeredi, Aristotle, Leibniz, etc..)1Mild Shock
29 Jul 26 i+* Re: Postgres is in C!16Ross Finlayson
29 Jul 26 ii+- Please don't extend your cross posting / What does abstract mean? (Was: Postgres is in C!)1Mild Shock
29 Jul 26 ii+- Please don't extend your cross posting / What does abstract mean? (Was: Postgres is in C!)1Mild Shock
30 Jul 26 ii`* Re: Mars, the MIPS emulator in Java13Ross Finlayson
30 Jul 26 ii +- Re: Mars, the MIPS emulator in Java1Ross Finlayson
30 Jul 26 ii `* Re: Mars, the MIPS emulator in Java11Ross Finlayson
30 Jul 26 ii  +* Re: Mars, the MIPS emulator in Java2Ross Finlayson
31 Jul 26 ii  i`- Re: Decorum1Ross Finlayson
5 Aug 26 ii  `* Re: Mars, the MIPS emulator in Java8Ross Finlayson
5 Aug 26 ii   +* Re: Mars, the MIPS emulator in Java3Chris M. Thomasson
5 Aug 26 ii   i`* Re: Mars, the MIPS emulator in Java2Ross Finlayson
5 Aug 26 ii   i `- Re: Mars, the MIPS emulator in Java1Chris M. Thomasson
6 Aug 26 ii   +* Re: Mars, the MIPS emulator in Java3Ross Finlayson
7 Aug 26 ii   i`* Re: Mars, the MIPS emulator in Java2Ross Finlayson
7 Aug 26 ii   i `- Re: Mars, the MIPS emulator in Java1Ross Finlayson
7 Aug 26 ii   `- Re: Mars, the MIPS emulator in Java1Ross Finlayson
29 Jul 26 i+* Hack ecosystem ignorance paired with paranoia [Nand to Tetris] (Re: Postgres is in C!)12Mild Shock
29 Jul 26 ii+* A funny Q16.16 experiment with Hack (Was: Hack ecosystem ignorance paired with paranoia [Nand to Tetris])3Mild Shock
30 Jul 26 iii`* Summer Challenge: libSQL = Prolog+Modes [VDBE versus π-WAM] (Re: A funny Q16.16 experiment with Hack)2Mild Shock
12 Aug 26 iii `- Re: Bullshit Authorized by Sarah Connor [EyeProlog Failure] (Re: Summer Challenge: libSQL = Prolog+Modes [VDBE versus π-WAM])1Mild Shock
30 Jul 26 ii+* I wrote Hack VM for π-WAM from scratch [4 Months total JavaScript, Python and Java] (Re: Crating Interpreters, Java part)6Mild Shock
30 Jul 26 iii+* For WebGPU I first had SIMD in mind (Was: I wrote Hack VM for π-WAM from scratch)2Mild Shock
30 Jul 26 iiii`- Corr.: 4 Months --> 4 Weeks (Was: For WebGPU I first had SIMD in mind)1Mild Shock
30 Jul 26 iii+* MIPS is a big Huffman mess [But Hack could do it] (Was: I wrote Hack VM for π-WAM from scratch)2Mild Shock
30 Jul 26 iiii`- Not declarative with PHI (Φ) nodes (Re: MIPS is a big Huffman mess [But Hack could do it])1Mild Shock
31 Jul 26 iii`- Quo Vadis: Extend investigations to WebNN (Re: I wrote Hack VM for π-WAM from scratch)1Mild Shock
1 Aug 26 ii+- RCan library(ironpaw) repurpose FFT hardware [Glimps into Ryzen AI 7 350] (Re: Hack ecosystem ignorance paired with paranoia)1Mild Shock
1 Aug 26 ii`- Can library(ironpaw) repurpose FFT hardware [Glimps into Ryzen AI 7 350] (Re: Hack ecosystem ignorance paired with paranoia)1Mild Shock
29 Jul 26 i`- Re: Postgres is in C!1Cóilín Nioclásín Glostéir
1 Aug 26 `* He uses "FIFO objects", and DMA and Noc [Glimps into Ryzen AI 7 350] (Re: A brain desease of 20 days [Rossy Boy]))4Mild Shock
1 Aug 26  `* Tablet and phone UBS-C remote debugging (Re: He uses "FIFO objects", and DMA and Noc)3Mild Shock
1 Aug 26   `* NPUs doing 2d chess comms (Manhattan Distance or L1 Norm) (Re: Tablet and phone UBS-C remote debugging)2Mild Shock
1 Aug 26    `- NACK retransmission might double Manhattan Distance (Re: NPUs doing 2d chess comms)1Mild Shock

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal