Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Unix soit qui mal y pense [Unix to him who evil thinks?]


devel / comp.arch / New computer architecture patent approved by UKIPO

SubjectAuthor
* New computer architecture patent approved by UKIPOIr. Hj. Othman bin Hj. Ahmad
+* Re: New computer architecture patent approved by UKIPOMitchAlsup
|`* Re: New computer architecture patent approved by UKIPOOthman Ahmad
| `* Re: New computer architecture patent approved by UKIPOGeorge Neuner
|  `* Re: New computer architecture patent approved by UKIPOThomas Koenig
|   +* Re: New computer architecture patent approved by UKIPOTerje Mathisen
|   |+* Re: New computer architecture patent approved by UKIPOBakul Shah
|   ||`- Re: New computer architecture patent approved by UKIPOMitchAlsup
|   |+* Re: New computer architecture patent approved by UKIPODavid Brown
|   ||`* Re: New computer architecture patent approved by UKIPOBakul Shah
|   || `* Re: New computer architecture patent approved by UKIPODavid Brown
|   ||  +* Re: New computer architecture patent approved by UKIPOIvan Godard
|   ||  |`* Re: New computer architecture patent approved by UKIPOrobf...@gmail.com
|   ||  | +* Re: New computer architecture patent approved by UKIPOGeorge Neuner
|   ||  | |+- Re: New computer architecture patent approved by UKIPOAnton Ertl
|   ||  | |`- Re: New computer architecture patent approved by UKIPOTim Rentsch
|   ||  | `* Re: New computer architecture patent approved by UKIPODavid Brown
|   ||  |  `* Re: New computer architecture patent approved by UKIPOTerje Mathisen
|   ||  |   +* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||  |   |`* Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||  |   | +* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||  |   | |`- Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||  |   | +* Re: New computer architecture patent approved by UKIPOJimBrakefield
|   ||  |   | |+- Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||  |   | |`* Re: New computer architecture patent approved by UKIPOmac
|   ||  |   | | `* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||  |   | |  `* Re: subscripts, wasNew computer architecture patent approved by UKIPOJohn Levine
|   ||  |   | |   `- Re: subscripts, wasNew computer architecture patent approved by UKIPOMitchAlsup
|   ||  |   | `- Re: New computer architecture patent approved by UKIPOTerje Mathisen
|   ||  |   +* Re: New computer architecture patent approved by UKIPOBakul Shah
|   ||  |   |+* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||  |   ||+* Re: New computer architecture patent approved by UKIPOBakul Shah
|   ||  |   |||`- Re: New computer architecture patent approved by UKIPOIvan Godard
|   ||  |   ||`- Re: New computer architecture patent approved by UKIPOIvan Godard
|   ||  |   |+- Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||  |   |`* Re: New computer architecture patent approved by UKIPOTerje Mathisen
|   ||  |   | `- Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||  |   `- Re: New computer architecture patent approved by UKIPODavid Brown
|   ||  `* Re: New computer architecture patent approved by UKIPOBakul Shah
|   ||   +- Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||   `* Re: New computer architecture patent approved by UKIPODavid Brown
|   ||    `* Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||     +* Re: New computer architecture patent approved by UKIPOStefan Monnier
|   ||     |`- Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||     `* Re: New computer architecture patent approved by UKIPODavid Brown
|   ||      +* Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||      |+- Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |`* Re: New computer architecture patent approved by UKIPODavid Brown
|   ||      | +- Re: New computer architecture patent approved by UKIPOJimBrakefield
|   ||      | `* Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||      |  +- Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||      |  `* Re: New computer architecture patent approved by UKIPODavid Brown
|   ||      |   +- Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |   +* Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||      |   |`* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |   | `* Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||      |   |  `* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |   |   `* Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||      |   |    `* Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||      |   |     +* Re: New computer architecture patent approved by UKIPOBrian G. Lucas
|   ||      |   |     |`* Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||      |   |     | `- Re: New computer architecture patent approved by UKIPOBrian G. Lucas
|   ||      |   |     `- Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||      |   `* Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||      |    +* Re: New computer architecture patent approved by UKIPODavid Brown
|   ||      |    |`* Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||      |    | +* Re: New computer architecture patent approved by UKIPODavid Brown
|   ||      |    | |+* Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||      |    | ||`- Re: New computer architecture patent approved by UKIPODavid Brown
|   ||      |    | |`* Re: New computer architecture patent approved by UKIPODavid Brown
|   ||      |    | | `- Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||      |    | `* Re: New computer architecture patent approved by UKIPOEricP
|   ||      |    |  `* Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||      |    |   `* Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||      |    |    `- Re: New computer architecture patent approved by UKIPOMarcus
|   ||      |    +- Re: New computer architecture patent approved by UKIPOStefan Monnier
|   ||      |    `* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |     `* Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||      |      `* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |       `* Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||      |        `* Re: New computer architecture patent approved by UKIPOStephen Fuld
|   ||      |         `* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |          +* Re: New computer architecture patent approved by UKIPOIvan Godard
|   ||      |          |`- Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |          +* Re: New computer architecture patent approved by UKIPOÖö Tiib
|   ||      |          |+* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |          ||`* Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |          || `- Re: New computer architecture patent approved by UKIPOTim Rentsch
|   ||      |          |`- Re: New computer architecture patent approved by UKIPOÖö Tiib
|   ||      |          `* Re: New computer architecture patent approved by UKIPOTerje Mathisen
|   ||      |           +- Re: New computer architecture patent approved by UKIPOMitchAlsup
|   ||      |           `* Re: New computer architecture patent approved by UKIPOTim Rentsch
|   ||      |            +- Re: New computer architecture patent approved by UKIPOMarcus
|   ||      |            `- Re: New computer architecture patent approved by UKIPOTerje Mathisen
|   ||      `* Re: New computer architecture patent approved by UKIPOThomas Koenig
|   ||       `- Re: New computer architecture patent approved by UKIPODavid Brown
|   |`- Re: New computer architecture patent approved by UKIPOThomas Koenig
|   `* Re: New computer architecture patent approved by UKIPOTim Rentsch
|    `* Re: New computer architecture patent approved by UKIPOThomas Koenig
|     +* Re: New computer architecture patent approved by UKIPOThomas Koenig
|     |`* Re: New computer architecture patent approved by UKIPONiklas Holsti
|     `* Re: New computer architecture patent approved by UKIPOTim Rentsch
`* Re: New computer architecture patent approved by UKIPOMarcus

Pages:12345
New computer architecture patent approved by UKIPO

<1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22307&group=comp.arch#22307

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:622a:2c9:: with SMTP id a9mr53404qtx.28.1639692319789;
Thu, 16 Dec 2021 14:05:19 -0800 (PST)
X-Received: by 2002:a4a:8746:: with SMTP id a6mr94307ooi.93.1639692319465;
Thu, 16 Dec 2021 14:05:19 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Thu, 16 Dec 2021 14:05:19 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=60.48.14.105; posting-account=JwRkAAkAAADB2qESRxaIoL0MVeLh5Uyo
NNTP-Posting-Host: 60.48.14.105
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
Subject: New computer architecture patent approved by UKIPO
From: othm...@gmail.com (Ir. Hj. Othman bin Hj. Ahmad)
Injection-Date: Thu, 16 Dec 2021 22:05:19 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 9
 by: Ir. Hj. Othman bin H - Thu, 16 Dec 2021 22:05 UTC

After more than 8 years, my patent for a new computer architecture, defined using an instruction set has been approved by UKIPO. I only file it in UKIPO and MYIPO but abandoned in MYIPO.

It is the simplest possible because no opcode decoding using logic gates required. Just straight wires through. Also, it is typeless, so should be able to use operators for multi dimensional data types.

the limitation is the number of operands. Only 3 opeands in the A = B + C type.

Only this instruction is supported and the secret for RISC performance. It is able to use 3-ported memories. More than 3 should be messy but can lead to more performance. someone has to look deeper into this.

Simplest word-size scalable processor, GB1420325.1
https://www.ipo.gov.uk/p-ipsum/Case/ApplicationNumber/GB1420325.1

Re: New computer architecture patent approved by UKIPO

<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22309&group=comp.arch#22309

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:5aa4:: with SMTP id u4mr291310qvg.7.1639697435945;
Thu, 16 Dec 2021 15:30:35 -0800 (PST)
X-Received: by 2002:a9d:75d4:: with SMTP id c20mr324222otl.85.1639697435646;
Thu, 16 Dec 2021 15:30:35 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Thu, 16 Dec 2021 15:30:35 -0800 (PST)
In-Reply-To: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:d1ad:2cc5:c286:f93a;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:d1ad:2cc5:c286:f93a
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
Subject: Re: New computer architecture patent approved by UKIPO
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Thu, 16 Dec 2021 23:30:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 27
 by: MitchAlsup - Thu, 16 Dec 2021 23:30 UTC

On Thursday, December 16, 2021 at 4:05:20 PM UTC-6, Ir. Hj. Othman bin Hj. Ahmad wrote:
> After more than 8 years, my patent for a new computer architecture, defined using an instruction set has been approved by UKIPO. I only file it in UKIPO and MYIPO but abandoned in MYIPO.
>
> It is the simplest possible because no opcode decoding using logic gates required. Just straight wires through. Also, it is typeless, so should be able to use operators for multi dimensional data types.
>
> the limitation is the number of operands. Only 3 opeands in the A = B + C type.
>
> Only this instruction is supported and the secret for RISC performance. It is able to use 3-ported memories. More than 3 should be messy but can lead to more performance. someone has to look deeper into this.
>
> Simplest word-size scalable processor, GB1420325.1
> https://www.ipo.gov.uk/p-ipsum/Case/ApplicationNumber/GB1420325.1
<
The front ½ of the patent talks about scalability
a) how do you intend to scale this to 64-bits
b) how do you intend to scale this into multiprocessing
c) how do you intend to scale this into floating point
d) how do you intend to scale this into vector processing
??
<
BTW: congratulations on the patent.

Re: New computer architecture patent approved by UKIPO

<spin0u$rkc$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22321&group=comp.arch#22321

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: m.del...@this.bitsnbites.eu (Marcus)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Fri, 17 Dec 2021 20:05:01 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <spin0u$rkc$2@dont-email.me>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 17 Dec 2021 19:05:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6f67e59a95dc83f92342c7224b2aba4b";
logging-data="28300"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yDMuqVY1PlOw6VOBED4s+FZHrYrJO0Fs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:GOuFWI6qGn3EL4mnrEOFfF5Sb+w=
In-Reply-To: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
Content-Language: en-US
 by: Marcus - Fri, 17 Dec 2021 19:05 UTC

On 2021-12-16, Ir. Hj. Othman bin Hj. Ahmad wrote:
> After more than 8 years, my patent for a new computer architecture, defined using an instruction set has been approved by UKIPO. I only file it in UKIPO and MYIPO but abandoned in MYIPO.

Congratulations!

>
> It is the simplest possible because no opcode decoding using logic gates required. Just straight wires through. Also, it is typeless, so should be able to use operators for multi dimensional data types.
>
> the limitation is the number of operands. Only 3 opeands in the A = B + C type.
>
> Only this instruction is supported and the secret for RISC performance. It is able to use 3-ported memories. More than 3 should be messy but can lead to more performance. someone has to look deeper into this.
>
> Simplest word-size scalable processor, GB1420325.1
> https://www.ipo.gov.uk/p-ipsum/Case/ApplicationNumber/GB1420325.1
>

Interesting! Do you have any more references, like a simulator or
a hardware implementation, running programs, etc?

/Marcus

Re: New computer architecture patent approved by UKIPO

<7f7c9f3e-e562-40af-9131-55687a5882f5n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22452&group=comp.arch#22452

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:538d:: with SMTP id x13mr10295813qtp.648.1640479726729;
Sat, 25 Dec 2021 16:48:46 -0800 (PST)
X-Received: by 2002:a05:6808:1141:: with SMTP id u1mr8841293oiu.30.1640479726349;
Sat, 25 Dec 2021 16:48:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sat, 25 Dec 2021 16:48:46 -0800 (PST)
In-Reply-To: <spin0u$rkc$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=60.48.14.105; posting-account=JwRkAAkAAADB2qESRxaIoL0MVeLh5Uyo
NNTP-Posting-Host: 60.48.14.105
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com> <spin0u$rkc$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7f7c9f3e-e562-40af-9131-55687a5882f5n@googlegroups.com>
Subject: Re: New computer architecture patent approved by UKIPO
From: othm...@gmail.com (Othman Ahmad)
Injection-Date: Sun, 26 Dec 2021 00:48:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 101
 by: Othman Ahmad - Sun, 26 Dec 2021 00:48 UTC

On Saturday, 18 December 2021 at 03:05:04 UTC+8, Marcus wrote:
> On 2021-12-16, Ir. Hj. Othman bin Hj. Ahmad wrote:
> > After more than 8 years, my patent for a new computer architecture, defined using an instruction set has been approved by UKIPO. I only file it in UKIPO and MYIPO but abandoned in MYIPO.
> Congratulations!
> >
> > It is the simplest possible because no opcode decoding using logic gates required. Just straight wires through. Also, it is typeless, so should be able to use operators for multi dimensional data types.
> >
> > the limitation is the number of operands. Only 3 opeands in the A = B + C type.
> >
> > Only this instruction is supported and the secret for RISC performance. It is able to use 3-ported memories. More than 3 should be messy but can lead to more performance. someone has to look deeper into this.
> >
> > Simplest word-size scalable processor, GB1420325.1
> > https://www.ipo.gov.uk/p-ipsum/Case/ApplicationNumber/GB1420325.1
> >
> Interesting! Do you have any more references, like a simulator or
> a hardware implementation, running programs, etc?
>
> /Marcus
I have checked your work and it is very impressive. You should try to design your own instruction set for commercial use as well.
I only managed to write an assembler based on my simplest assembler.
It was simulated on a third party CPU simulator but not completely.

I stopped this work a few years ago, but would like to continue it later on..
I am currently busy with designing and probably manufacturing my Transparent SUV, if my funding is successful.

I major in Electronic Engineering, especially Microelectronic Design, not Mechanical but all engineers should be more flexible.
My Transparent SUV is more electrical than mechanical with no steering at all. Mechanical Engineers scoff at it but experience can be misleading. We should go back to first principles.

I have another patent: Imperfect Perpetual MOtion Heat Engine, originally called Perpetual MOtion Heat Engine, also granted, after I threate n legal action through the standard UKIPO process. Unlike USPTO PTAB, actual judges are involved in the court proceedings.

USPTO PTAB has rejected my Zero Aerodynamic Vehicles patent based on clarity (interpretation of claims) despite pointing out that patents cannot be rejected based on clarity, because the examiner cannot determine the novelty because he has grossly misterpreted the invention. And worst, clarity issues can be amended at will, as explained by USPTO guidelines published in MPEP.

UKIPO granted my patent and will be used for the Transparent SUV because it is vital that we reduce any energy loss in a solar powered car.

Another patent, Optimum Collision DAmage REduction System, still under process, but it is too late already, so I need to pay huge penalties to continue with it.

When I started patenting about 10 years ago, I suspected something like this should happen but actually the cost is small if we do it ourselves. Engineers should not avoid learning about legal proceedings. I attended lectures from the Law department of City University of London, which was formerly call Inns College, where Mahatma Gandhi graduated. No wonder they were really impressive, although I ended up not answering any law question. Too hard to remember judges, date, courts, apart from the case details. We were not alowed to refer to them during exam.

The cheapest and most professional is UKIPO. My total cost for each patent was 200 pound. 200 pound for court proceeding. AFter they were granted we need to pay yearly fees, which amount to 400 pound for 9 years. Still these are cheaper than even the Microentity patents in USPTO.

I encougrage anyone who has a patentable idea to patent them instead of pubishing them in conference papers. Patents also get reviews from even professionals unlike academic papers, that are reviewed by amateurs and self interested professors. I say amateurs because many reviewers also review papers that are not their major fields. REally frustrating arguing with them. Worst, you cannot challenge them in court.

So what has got to do with comp.arch? Everything. computers are useful for the self-driving technologies. Even Tesla now builds its own computers. However, it relied on ARM architecture.

I designed my SWORD precisely for signal processing based on my Intelligence Theory. I published it in a ISITA/IEEE conference, because it is based on Information Theory. NOt philosophy that is more mumbo jumbo than anything an engineer can use. We cannot patent a scientific principle, so we need to design a CPU to demonstrate it.

Any computer architect should try to understand my Intelligence Theory, but to get over it, you need to master Information Theory first.
In a nutshell, intelligence is just trial and error. But information theory also states that information is just data that cannot be compressed. It is not something useful or anything at all. Scientific theories are just to examine experimental data, not find absolute truth. That is why engineers can use them to design real objects.

I published my work on the simplest assembler and simulator somewhere in groups. Maybe in my blogs also.

Re: New computer architecture patent approved by UKIPO

<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22453&group=comp.arch#22453

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a37:bd05:: with SMTP id n5mr8264914qkf.293.1640479987115;
Sat, 25 Dec 2021 16:53:07 -0800 (PST)
X-Received: by 2002:a05:6808:1914:: with SMTP id bf20mr9062463oib.7.1640479986686;
Sat, 25 Dec 2021 16:53:06 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Sat, 25 Dec 2021 16:53:06 -0800 (PST)
In-Reply-To: <37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=60.48.14.105; posting-account=JwRkAAkAAADB2qESRxaIoL0MVeLh5Uyo
NNTP-Posting-Host: 60.48.14.105
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com> <37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
Subject: Re: New computer architecture patent approved by UKIPO
From: othm...@gmail.com (Othman Ahmad)
Injection-Date: Sun, 26 Dec 2021 00:53:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 40
 by: Othman Ahmad - Sun, 26 Dec 2021 00:53 UTC

On Friday, 17 December 2021 at 07:30:37 UTC+8, MitchAlsup wrote:
> On Thursday, December 16, 2021 at 4:05:20 PM UTC-6, Ir. Hj. Othman bin Hj.. Ahmad wrote:
> > After more than 8 years, my patent for a new computer architecture, defined using an instruction set has been approved by UKIPO. I only file it in UKIPO and MYIPO but abandoned in MYIPO.
> >
> > It is the simplest possible because no opcode decoding using logic gates required. Just straight wires through. Also, it is typeless, so should be able to use operators for multi dimensional data types.
> >
> > the limitation is the number of operands. Only 3 opeands in the A = B + C type.
> >
> > Only this instruction is supported and the secret for RISC performance. It is able to use 3-ported memories. More than 3 should be messy but can lead to more performance. someone has to look deeper into this.
> >
> > Simplest word-size scalable processor, GB1420325.1
> > https://www.ipo.gov.uk/p-ipsum/Case/ApplicationNumber/GB1420325.1
> <
> The front ½ of the patent talks about scalability
> a) how do you intend to scale this to 64-bits
Just extend the least significant bits and tell this information to your assembler or ALU.
> b) how do you intend to scale this into multiprocessing
It is supposed to be only word-size scalable only, but because the data type is not defined, you can use data that utilise multiprocessing, just as operators for arrays.

> c) how do you intend to scale this into floating point
floating point is just a data type, just define an instruction for this data type

> d) how do you intend to scale this into vector processing

vectors are arrays. define arrays and operators to for these arrays
> ??
> <
> BTW: congratulations on the patent.
Thank you but it is just the beginning and I am getting old. 63 already.

Re: New computer architecture patent approved by UKIPO

<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22486&group=comp.arch#22486

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: gneun...@comcast.net (George Neuner)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Mon, 27 Dec 2021 11:01:16 -0500
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com> <37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com> <5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="ef7337105b312d09786953c66dd4af19";
logging-data="25469"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qfWjwcgZIQPf1+/GVrVpQmmfDTXLew7A="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:x2fmJXQAiLwc7qdh4p1MovqmvDY=
 by: George Neuner - Mon, 27 Dec 2021 16:01 UTC

On Sat, 25 Dec 2021 16:53:06 -0800 (PST), Othman Ahmad
<othmana@gmail.com> wrote:

>vectors are arrays. define arrays and operators to for these arrays

You need to be careful with that analogy: a vector and a 1D array look
very similar, but a vector of vectors is not the same as a 2D array.

YMMV,
George

Re: New computer architecture patent approved by UKIPO

<sqcvuq$l2h$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22490&group=comp.arch#22490

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.de!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-eb03-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Mon, 27 Dec 2021 18:16:58 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sqcvuq$l2h$1@newsreader4.netcologne.de>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
Injection-Date: Mon, 27 Dec 2021 18:16:58 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-eb03-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:eb03:0:7285:c2ff:fe6c:992d";
logging-data="21585"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 27 Dec 2021 18:16 UTC

George Neuner <gneuner2@comcast.net> schrieb:
> On Sat, 25 Dec 2021 16:53:06 -0800 (PST), Othman Ahmad
><othmana@gmail.com> wrote:
>
>>vectors are arrays. define arrays and operators to for these arrays
>
> You need to be careful with that analogy: a vector and a 1D array look
> very similar, but a vector of vectors is not the same as a 2D array.

Very much so.

It is one of the weaknesses of C that a multi-dimensional array
is not very well supported. You either have the pointer forest,
or you have to roll your own indexing manually.

Re: New computer architecture patent approved by UKIPO

<sqf32u$irb$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22528&group=comp.arch#22528

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!rd9pRsUZyxkRLAEK7e/Uzw.user.46.165.242.91.POSTED!not-for-mail
From: terje.ma...@tmsw.no (Terje Mathisen)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Tue, 28 Dec 2021 14:22:39 +0100
Organization: Aioe.org NNTP Server
Message-ID: <sqf32u$irb$1@gioia.aioe.org>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="19307"; posting-host="rd9pRsUZyxkRLAEK7e/Uzw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
Firefox/68.0 SeaMonkey/2.53.10.1
X-Notice: Filtered by postfilter v. 0.9.2
 by: Terje Mathisen - Tue, 28 Dec 2021 13:22 UTC

Thomas Koenig wrote:
> George Neuner <gneuner2@comcast.net> schrieb:
>> On Sat, 25 Dec 2021 16:53:06 -0800 (PST), Othman Ahmad
>> <othmana@gmail.com> wrote:
>>
>>> vectors are arrays. define arrays and operators to for these arrays
>>
>> You need to be careful with that analogy: a vector and a 1D array look
>> very similar, but a vector of vectors is not the same as a 2D array.
>
> Very much so.
>
> It is one of the weaknesses of C that a multi-dimensional array
> is not very well supported. You either have the pointer forest,
> or you have to roll your own indexing manually.

This, 100%

We have discussed the issue many times here, and the "proper" answer is
of course to have array descriptors, with base, dimensions,[dim x
(count,stride)].

What I don't understand is why this isn't an std default feature in C++.

Terje

--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Re: New computer architecture patent approved by UKIPO

<sqgaga$a40$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22540&group=comp.arch#22540

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bak...@iitbombay.org (Bakul Shah)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Tue, 28 Dec 2021 16:35:20 -0800
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <sqgaga$a40$1@dont-email.me>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 Dec 2021 00:35:22 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f7af8debf30721064174210413ab4961";
logging-data="10368"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4Yr1fTf4384lFtRAgt2Iu"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:68.0)
Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.10.1
Cancel-Lock: sha1:rLTYo1Zr1zv/vjXLeTfosEr+sIc=
In-Reply-To: <sqf32u$irb$1@gioia.aioe.org>
 by: Bakul Shah - Wed, 29 Dec 2021 00:35 UTC

On 12/28/21 5:22 AM, Terje Mathisen wrote:
> Thomas Koenig wrote:
>> George Neuner <gneuner2@comcast.net> schrieb:
>>> On Sat, 25 Dec 2021 16:53:06 -0800 (PST), Othman Ahmad
>>> <othmana@gmail.com> wrote:
>>>
>>>> vectors are arrays. define arrays and operators to for these arrays
>>>
>>> You need to be careful with that analogy: a vector and a 1D array look
>>> very similar, but a vector of vectors is not the same as a 2D array.
>>
>> Very much so.
>>
>> It is one of the weaknesses of C that a multi-dimensional array
>> is not very well supported.  You either have the pointer forest,
>> or you have to roll your own indexing manually.
>
> This, 100%
>
> We have discussed the issue many times here, and the "proper" answer is
> of course to have array descriptors, with base, dimensions,[dim x
> (count,stride)].
>
> What I don't understand is why this isn't an std default feature in C++.

Because they want to keep the language small :-)

Re: New computer architecture patent approved by UKIPO

<0b999646-9b2e-4b91-91cf-8bc8d3ec20e4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22543&group=comp.arch#22543

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:1988:: with SMTP id bm8mr17341727qkb.494.1640738939523;
Tue, 28 Dec 2021 16:48:59 -0800 (PST)
X-Received: by 2002:a05:6830:154d:: with SMTP id l13mr17058709otp.282.1640738939299;
Tue, 28 Dec 2021 16:48:59 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Tue, 28 Dec 2021 16:48:59 -0800 (PST)
In-Reply-To: <sqgaga$a40$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:8d47:d976:4476:a5f6;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:8d47:d976:4476:a5f6
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com> <5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com> <sqcvuq$l2h$1@newsreader4.netcologne.de>
<sqf32u$irb$1@gioia.aioe.org> <sqgaga$a40$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0b999646-9b2e-4b91-91cf-8bc8d3ec20e4n@googlegroups.com>
Subject: Re: New computer architecture patent approved by UKIPO
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Wed, 29 Dec 2021 00:48:59 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 27
 by: MitchAlsup - Wed, 29 Dec 2021 00:48 UTC

On Tuesday, December 28, 2021 at 6:35:25 PM UTC-6, Bakul Shah wrote:
> On 12/28/21 5:22 AM, Terje Mathisen wrote:
> > Thomas Koenig wrote:
> >> George Neuner <gneu...@comcast.net> schrieb:
> >>> On Sat, 25 Dec 2021 16:53:06 -0800 (PST), Othman Ahmad
> >>> <oth...@gmail.com> wrote:
> >>>
> >>>> vectors are arrays. define arrays and operators to for these arrays
> >>>
> >>> You need to be careful with that analogy: a vector and a 1D array look
> >>> very similar, but a vector of vectors is not the same as a 2D array.
> >>
> >> Very much so.
> >>
> >> It is one of the weaknesses of C that a multi-dimensional array
> >> is not very well supported. You either have the pointer forest,
> >> or you have to roll your own indexing manually.
> >
> > This, 100%
> >
> > We have discussed the issue many times here, and the "proper" answer is
> > of course to have array descriptors, with base, dimensions,[dim x
> > (count,stride)].
> >
> > What I don't understand is why this isn't an std default feature in C++.
> Because they want to keep the language small :-)
<
Lol, LoL, LOL, lOl,.......

Re: New computer architecture patent approved by UKIPO

<sqh6rs$uqh$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22549&group=comp.arch#22549

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Wed, 29 Dec 2021 09:39:23 +0100
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <sqh6rs$uqh$1@dont-email.me>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 Dec 2021 08:39:24 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d84561556947bb7e45f604e97b9d041b";
logging-data="31569"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/iVHhgp3SBmnBNFZN6HoSfaQnAyqsSuv0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:VxYOt67ToFHFwjBYzE0bHVMCLbw=
In-Reply-To: <sqf32u$irb$1@gioia.aioe.org>
Content-Language: en-GB
 by: David Brown - Wed, 29 Dec 2021 08:39 UTC

On 28/12/2021 14:22, Terje Mathisen wrote:
> Thomas Koenig wrote:
>> George Neuner <gneuner2@comcast.net> schrieb:
>>> On Sat, 25 Dec 2021 16:53:06 -0800 (PST), Othman Ahmad
>>> <othmana@gmail.com> wrote:
>>>
>>>> vectors are arrays. define arrays and operators to for these arrays
>>>
>>> You need to be careful with that analogy: a vector and a 1D array look
>>> very similar, but a vector of vectors is not the same as a 2D array.
>>
>> Very much so.
>>
>> It is one of the weaknesses of C that a multi-dimensional array
>> is not very well supported.  You either have the pointer forest,
>> or you have to roll your own indexing manually.
>
> This, 100%
>
> We have discussed the issue many times here, and the "proper" answer is
> of course to have array descriptors, with base, dimensions,[dim x
> (count,stride)].
>
> What I don't understand is why this isn't an std default feature in C++.
>
> Terje
>
>

C++ at least has std::array, which gives you a fixed (at compile-time)
sized array that acts like a "normal" type - you can pass it by value,
the type knows its size and number of elements, etc. But it is only one
dimensional. You can of course have arrays of arrays, with the ugliness
that entails (but at least it is highly efficient, and with optional
index range checking on access).

My guess is that the C++ standards committee simply haven't been able to
agree on a single interface for multi-dimensional arrays. There are
various ways to do this, with many subjective opinions - so far, people
have often written their own classes for the multi-dimensional arrays
they need. (Such classes are not hard to write - it's just a wrapper to
hide the pointer forest or array of arrays.)

Ideally, a multi-dimensional array A should be indexed by "A[x, y, z]".
That's the way it works in many languages that support them well.
Unfortunately, C (and therefore C++) have the "comma operator", so that
expression already has a meaning - evaluate "x" for its side-effects
then throw it away, evaluate "y" for its side-effects, then you are left
with "A[z]". This is not helpful. So in C++20, use of the comma
operator in subscripts was deprecated as a first step to changing the
language, and in C++23 you will be able to overload the subscript
operator with multiple arguments - finally it will be possible to make a
class with "A[x, y, z]" style of access. Whether a multi-dimensional
array class will make it into the standard library at that point remains
to be seen.

Backwards compatibility in an evolving language is vital, but it is also
a pain that can slow things down a lot.

Re: New computer architecture patent approved by UKIPO

<sqh87v$6en$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22550&group=comp.arch#22550

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bak...@iitbombay.org (Bakul Shah)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Wed, 29 Dec 2021 01:02:53 -0800
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <sqh87v$6en$1@dont-email.me>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org>
<sqh6rs$uqh$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 29 Dec 2021 09:02:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f7af8debf30721064174210413ab4961";
logging-data="6615"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gcyBZegEqq4N0kIPW5ju2"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:68.0)
Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.10.2
Cancel-Lock: sha1:vl2VwigQ+2vN3Ug0oK/H5lwIvu8=
In-Reply-To: <sqh6rs$uqh$1@dont-email.me>
 by: Bakul Shah - Wed, 29 Dec 2021 09:02 UTC

On 12/29/21 12:39 AM, David Brown wrote:
> Ideally, a multi-dimensional array A should be indexed by "A[x, y, z]".
> That's the way it works in many languages that support them well.
> Unfortunately, C (and therefore C++) have the "comma operator", so that
> expression already has a meaning - evaluate "x" for its side-effects
> then throw it away, evaluate "y" for its side-effects, then you are left
> with "A[z]".

This could've been trivially fixed by using ';' instead of
','. Since ';' is illegal in the [] context, this would
have not been a breaking change.

Second, you also want to be able to reference subarrays
(rows, columns, smaller subarrays), as well as pass the
same by reference to functions. I don't think C++ generics
can handle this (at least not provide a nice syntax).

Note that many array programming languages also use ';'
between indices for each dimension as they typically
use ',' as a concatenation operator.

Re: New computer architecture patent approved by UKIPO

<sqha6a$h95$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22553&group=comp.arch#22553

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Wed, 29 Dec 2021 10:36:09 +0100
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <sqha6a$h95$1@dont-email.me>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org>
<sqh6rs$uqh$1@dont-email.me> <sqh87v$6en$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 Dec 2021 09:36:10 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d84561556947bb7e45f604e97b9d041b";
logging-data="17701"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+EcLxj/NTZ3VYIfrOoeyArKF6z4G5BEAc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:FXCgfJAYQQUtc5VmJzEpcGvbOaM=
In-Reply-To: <sqh87v$6en$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Wed, 29 Dec 2021 09:36 UTC

On 29/12/2021 10:02, Bakul Shah wrote:
> On 12/29/21 12:39 AM, David Brown wrote:
>> Ideally, a multi-dimensional array A should be indexed by "A[x, y, z]".
>>   That's the way it works in many languages that support them well.
>> Unfortunately, C (and therefore C++) have the "comma operator", so that
>> expression already has a meaning - evaluate "x" for its side-effects
>> then throw it away, evaluate "y" for its side-effects, then you are left
>> with "A[z]".
>
> This could've been trivially fixed by using ';' instead of
> ','. Since ';' is illegal in the [] context, this would
> have not been a breaking change.
>

I think that would have been /far/ from trivial. Suddenly you now have
two different ways of separating parameters in the language, which would
lead to confusion and inconsistencies. The aim is that [] as an
overloaded operator can take more than one parameter - that is the
simplest, cleanest way to get a nice multi-dimensional array syntax into
the language. You are suggesting that for this one type of function,
the operator[](...) method, parameters should be separated by semicolons
instead of commas. Should that apply to the declaration and definition,
or should this be the one type of function where declaration and use
differ? Should semicolons become the standard for parameter separation?
An optional choice? No, it would not be trivial.

The comma operator is not often used in C or C++. It turns up a bit
more in C in specific contexts, such as in "for" statements (less so in
C++, I suspect), though many coding standards ban it outright. My
estimate of the number of programs that use it inside a subscript
operator is very close to zero - deprecating it there is a hypothetical
breaking change rather than a practical breaking change. (Hypothetical
breaking changes are not trivial either.)

> Second, you also want to be able to reference subarrays
> (rows, columns, smaller subarrays), as well as pass the
> same by reference to functions. I don't think C++ generics
> can handle this (at least not provide a nice syntax).
>

Of course you can do this. But do you really /want/ to do that? It all
comes down to what you intend to do with your multi-dimensional array,
and what you are willing to pay for. If you have a two-dimensional
array, then maybe it is cheap to refer to the columns as one-dimensional
arrays - but it would cost to refer to the rows like this. It is the
many options here that makes it difficult to have a single standard
class for multi-dimensional arrays.

> Note that many array programming languages also use ';'
> between indices for each dimension as they typically
> use ',' as a concatenation operator.

C++ is not an array programming language. Different languages have
different symbols for different purposes - in C++, the semicolon is the
statement terminator.

Re: New computer architecture patent approved by UKIPO

<sqhcec$sp3$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22554&group=comp.arch#22554

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: iva...@millcomputing.com (Ivan Godard)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Wed, 29 Dec 2021 02:14:37 -0800
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <sqhcec$sp3$1@dont-email.me>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org>
<sqh6rs$uqh$1@dont-email.me> <sqh87v$6en$1@dont-email.me>
<sqha6a$h95$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 Dec 2021 10:14:36 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="2e593565ba47294f220041520f666376";
logging-data="29475"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19h92mjXe/pbVqjv5QHsx09"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:jmyGFsnBg3LbKbibCBW41reVaZ0=
In-Reply-To: <sqha6a$h95$1@dont-email.me>
Content-Language: en-US
 by: Ivan Godard - Wed, 29 Dec 2021 10:14 UTC

On 12/29/2021 1:36 AM, David Brown wrote:
> On 29/12/2021 10:02, Bakul Shah wrote:
>> On 12/29/21 12:39 AM, David Brown wrote:
>>> Ideally, a multi-dimensional array A should be indexed by "A[x, y, z]".
>>>   That's the way it works in many languages that support them well.
>>> Unfortunately, C (and therefore C++) have the "comma operator", so that
>>> expression already has a meaning - evaluate "x" for its side-effects
>>> then throw it away, evaluate "y" for its side-effects, then you are left
>>> with "A[z]".
>>
>> This could've been trivially fixed by using ';' instead of
>> ','. Since ';' is illegal in the [] context, this would
>> have not been a breaking change.
>>
>
> I think that would have been /far/ from trivial. Suddenly you now have
> two different ways of separating parameters in the language, which would
> lead to confusion and inconsistencies. The aim is that [] as an
> overloaded operator can take more than one parameter - that is the
> simplest, cleanest way to get a nice multi-dimensional array syntax into
> the language. You are suggesting that for this one type of function,
> the operator[](...) method, parameters should be separated by semicolons
> instead of commas. Should that apply to the declaration and definition,
> or should this be the one type of function where declaration and use
> differ? Should semicolons become the standard for parameter separation?
> An optional choice? No, it would not be trivial.
>
> The comma operator is not often used in C or C++. It turns up a bit
> more in C in specific contexts, such as in "for" statements (less so in
> C++, I suspect), though many coding standards ban it outright. My
> estimate of the number of programs that use it inside a subscript
> operator is very close to zero - deprecating it there is a hypothetical
> breaking change rather than a practical breaking change. (Hypothetical
> breaking changes are not trivial either.)

Mill conAsm (which is actually C++) uses the comma operator as an
instruction separator in bundles (semi is the bundle separator). Not an
array notation, of course.

Re: New computer architecture patent approved by UKIPO

<8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22557&group=comp.arch#22557

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:2596:: with SMTP id x22mr17653788qko.408.1640774811664;
Wed, 29 Dec 2021 02:46:51 -0800 (PST)
X-Received: by 2002:aca:646:: with SMTP id 67mr19772676oig.175.1640774811511;
Wed, 29 Dec 2021 02:46:51 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Wed, 29 Dec 2021 02:46:51 -0800 (PST)
In-Reply-To: <sqhcec$sp3$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fea8:1de1:fb00:7d91:d884:818c:992b;
posting-account=QId4bgoAAABV4s50talpu-qMcPp519Eb
NNTP-Posting-Host: 2607:fea8:1de1:fb00:7d91:d884:818c:992b
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com> <5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com> <sqcvuq$l2h$1@newsreader4.netcologne.de>
<sqf32u$irb$1@gioia.aioe.org> <sqh6rs$uqh$1@dont-email.me>
<sqh87v$6en$1@dont-email.me> <sqha6a$h95$1@dont-email.me> <sqhcec$sp3$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com>
Subject: Re: New computer architecture patent approved by UKIPO
From: robfi...@gmail.com (robf...@gmail.com)
Injection-Date: Wed, 29 Dec 2021 10:46:51 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 4
 by: robf...@gmail.com - Wed, 29 Dec 2021 10:46 UTC

Huh? C does not support multi-dimensional arrays? I did not realize that. Not realizing
that, it is supported in my cc64 language. I do not see why [ ][ ][ ] cannot be used in
place of commas.
In cc64 multi-dimensional arrays are supported with the indexing operator[].
Accessing a multi-dimensional array is just A[x][y][z] which is the same as A[x,y,z].

Re: New computer architecture patent approved by UKIPO

<sqhfhl$j7g$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22559&group=comp.arch#22559

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-eb03-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Wed, 29 Dec 2021 11:07:33 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sqhfhl$j7g$1@newsreader4.netcologne.de>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org>
Injection-Date: Wed, 29 Dec 2021 11:07:33 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-eb03-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:eb03:0:7285:c2ff:fe6c:992d";
logging-data="19696"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Wed, 29 Dec 2021 11:07 UTC

Terje Mathisen <terje.mathisen@tmsw.no> schrieb:
> Thomas Koenig wrote:
>> George Neuner <gneuner2@comcast.net> schrieb:
>>> On Sat, 25 Dec 2021 16:53:06 -0800 (PST), Othman Ahmad
>>> <othmana@gmail.com> wrote:
>>>
>>>> vectors are arrays. define arrays and operators to for these arrays
>>>
>>> You need to be careful with that analogy: a vector and a 1D array look
>>> very similar, but a vector of vectors is not the same as a 2D array.
>>
>> Very much so.
>>
>> It is one of the weaknesses of C that a multi-dimensional array
>> is not very well supported. You either have the pointer forest,
>> or you have to roll your own indexing manually.
>
> This, 100%
>
> We have discussed the issue many times here, and the "proper" answer is
> of course to have array descriptors, with base, dimensions,[dim x
> (count,stride)].

There is a standardized way for C to do this: Use a C compiler which
also includes a Fortran compiler and use ISO_Fortran_binding.h .
Should also work for C++.

It has one drawback, though: Because access to members is defined
in terms of macros, the memory layout differs between different
Fortran compilers. This design fault was realized too late.

> What I don't understand is why this isn't an std default feature in C++.

IIRC, Soustrup once quipped about the limited use case of
multi-dimensional arrays.

The reason behind that is probably that many computer scientists
at the time defined themselves by opposing all things FORTRAN, and
multi-dimensional arrays was one of the things that it excelled at,
therefore no respectable computer scientist would have something to
do with it.

Or something like that.

Re: New computer architecture patent approved by UKIPO

<9rhosg5gc3gsl3rlqs5h93dpmvg1h2inqk@4ax.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22560&group=comp.arch#22560

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: gneun...@comcast.net (George Neuner)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Wed, 29 Dec 2021 07:15:35 -0500
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <9rhosg5gc3gsl3rlqs5h93dpmvg1h2inqk@4ax.com>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com> <37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com> <5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com> <msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com> <sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org> <sqh6rs$uqh$1@dont-email.me> <sqh87v$6en$1@dont-email.me> <sqha6a$h95$1@dont-email.me> <sqhcec$sp3$1@dont-email.me> <8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="a178eb39cbc4b082049bd8264cb09762";
logging-data="9878"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ALrPpDq0dp2u+AWsXRfOZGv/SEOWSg4Q="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:Y2/iLFfKRwsrmNRpJFiDvqMLkzk=
 by: George Neuner - Wed, 29 Dec 2021 12:15 UTC

On Wed, 29 Dec 2021 02:46:51 -0800 (PST), "robf...@gmail.com"
<robfi680@gmail.com> wrote:

>Huh? C does not support multi-dimensional arrays? I did not realize that. Not realizing
>that, it is supported in my cc64 language. I do not see why [ ][ ][ ] cannot be used in
>place of commas.
>In cc64 multi-dimensional arrays are supported with the indexing operator[].
>Accessing a multi-dimensional array is just A[x][y][z] which is the same as A[x,y,z].

C supports 'vectors of vectors' ... not multi-dimensional arrays.

E.g., suppose you define 'int arr[2][10]'.

In C you will get a block of memory that can hold 20 contiguous ints
.... but that block has no internal structure: nothing but compiler
warnings prevent you from referencing arr[1][2] as arr[-1][22], or
as arr[0][12], or as arr[2][-8], etc. Or referencing outside the
array's memory block entirely.

And those warnings are possible only in scope of the array definition.
If you pass your '2D' array to a separately compiled function defined
to take an int* or int[] argument, then all bets are off: that
function will see a ONE dimensional array with no size limit.

In a language with true arrays, references that violate the defined
structure of the array would be errors: the dimensions and limits
follow the array as it is passed around.

If you /really/ need to violate structure, typically you would be
permitted to define an aliasing array: one that is overlaid on the
same memory block but having a different internal structure. However,
the structure of the aliasing array still would be constrained to
remaining within the original array's limits.

C does none of this.

George

Re: New computer architecture patent approved by UKIPO

<sqhu96$g3v$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22561&group=comp.arch#22561

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Wed, 29 Dec 2021 16:19:01 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <sqhu96$g3v$1@dont-email.me>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org>
<sqh6rs$uqh$1@dont-email.me> <sqh87v$6en$1@dont-email.me>
<sqha6a$h95$1@dont-email.me> <sqhcec$sp3$1@dont-email.me>
<8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 29 Dec 2021 15:19:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d84561556947bb7e45f604e97b9d041b";
logging-data="16511"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19b8QDcIDzGw3IK+qwAl4lHtuA57YZ5wig="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:OGSj7xjZzzJjwS4FkjG3Xf6oLVM=
In-Reply-To: <8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com>
Content-Language: en-GB
 by: David Brown - Wed, 29 Dec 2021 15:19 UTC

On 29/12/2021 11:46, robf...@gmail.com wrote:
> Huh? C does not support multi-dimensional arrays? I did not realize that. Not realizing
> that, it is supported in my cc64 language. I do not see why [ ][ ][ ] cannot be used in
> place of commas.
> In cc64 multi-dimensional arrays are supported with the indexing operator[].
> Accessing a multi-dimensional array is just A[x][y][z] which is the same as A[x,y,z].
>

Yes, C (and therefore C++) support A[x][y][z] for arrays of arrays of
arrays. But that is not /quite/ the same as a multi-dimensional array.
And C arrays have slightly unusual semantics - array expressions decay
into pointer expressions in most circumstances. Often, you can write
simple and clear code with multi-dimensional arrays. But for some
use-cases, you need quite complicated expressions and a lot of care to
get the sizes write.

Re: New computer architecture patent approved by UKIPO

<sqik30$1ijo$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22571&group=comp.arch#22571

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!rd9pRsUZyxkRLAEK7e/Uzw.user.46.165.242.91.POSTED!not-for-mail
From: terje.ma...@tmsw.no (Terje Mathisen)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Wed, 29 Dec 2021 22:31:15 +0100
Organization: Aioe.org NNTP Server
Message-ID: <sqik30$1ijo$1@gioia.aioe.org>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org>
<sqh6rs$uqh$1@dont-email.me> <sqh87v$6en$1@dont-email.me>
<sqha6a$h95$1@dont-email.me> <sqhcec$sp3$1@dont-email.me>
<8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com>
<sqhu96$g3v$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="51832"; posting-host="rd9pRsUZyxkRLAEK7e/Uzw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
Firefox/68.0 SeaMonkey/2.53.10.1
X-Notice: Filtered by postfilter v. 0.9.2
 by: Terje Mathisen - Wed, 29 Dec 2021 21:31 UTC

David Brown wrote:
> On 29/12/2021 11:46, robf...@gmail.com wrote:
>> Huh? C does not support multi-dimensional arrays? I did not realize that. Not realizing
>> that, it is supported in my cc64 language. I do not see why [ ][ ][ ] cannot be used in
>> place of commas.
>> In cc64 multi-dimensional arrays are supported with the indexing operator[].
>> Accessing a multi-dimensional array is just A[x][y][z] which is the same as A[x,y,z].
>>
>
> Yes, C (and therefore C++) support A[x][y][z] for arrays of arrays of
> arrays. But that is not /quite/ the same as a multi-dimensional array.
> And C arrays have slightly unusual semantics - array expressions decay
> into pointer expressions in most circumstances. Often, you can write
> simple and clear code with multi-dimensional arrays. But for some
> use-cases, you need quite complicated expressions and a lot of care to
> get the sizes write.
>
Multi-dim arrays using Iliffe vectors used to be a good idea, back when
memory was more or less the same speed as CPU, and multiplications were
much more expensive.

Today, it is normally far better to do w = arr[z*ZSTRIDE+y*YSTRIDE+x]
than to effectively do

t1 = arr[z]
t2 = t1[y]
w = t2[x]

where t1[] is an array of pointers to pointers to arrays, and t2[] is
an array of pointers to arrays.

Lifting stuff out of the inner loops can often alleviate the costs of
both of these, but integer mul is far to be preferred to random memory
access.

Terje

--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Re: New computer architecture patent approved by UKIPO

<63b758e4-4772-48a2-a0a5-a27c9b181161n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22572&group=comp.arch#22572

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:372a:: with SMTP id de42mr20292577qkb.14.1640814439769;
Wed, 29 Dec 2021 13:47:19 -0800 (PST)
X-Received: by 2002:a9d:75d4:: with SMTP id c20mr20077623otl.85.1640814439542;
Wed, 29 Dec 2021 13:47:19 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Wed, 29 Dec 2021 13:47:19 -0800 (PST)
In-Reply-To: <sqik30$1ijo$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:fdd8:9d71:527b:6b7b;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:fdd8:9d71:527b:6b7b
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com> <5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com> <sqcvuq$l2h$1@newsreader4.netcologne.de>
<sqf32u$irb$1@gioia.aioe.org> <sqh6rs$uqh$1@dont-email.me>
<sqh87v$6en$1@dont-email.me> <sqha6a$h95$1@dont-email.me> <sqhcec$sp3$1@dont-email.me>
<8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com> <sqhu96$g3v$1@dont-email.me>
<sqik30$1ijo$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <63b758e4-4772-48a2-a0a5-a27c9b181161n@googlegroups.com>
Subject: Re: New computer architecture patent approved by UKIPO
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Wed, 29 Dec 2021 21:47:19 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 42
 by: MitchAlsup - Wed, 29 Dec 2021 21:47 UTC

On Wednesday, December 29, 2021 at 3:31:16 PM UTC-6, Terje Mathisen wrote:
> David Brown wrote:
> > On 29/12/2021 11:46, robf...@gmail.com wrote:
> >> Huh? C does not support multi-dimensional arrays? I did not realize that. Not realizing
> >> that, it is supported in my cc64 language. I do not see why [ ][ ][ ] cannot be used in
> >> place of commas.
> >> In cc64 multi-dimensional arrays are supported with the indexing operator[].
> >> Accessing a multi-dimensional array is just A[x][y][z] which is the same as A[x,y,z].
> >>
> >
> > Yes, C (and therefore C++) support A[x][y][z] for arrays of arrays of
> > arrays. But that is not /quite/ the same as a multi-dimensional array.
> > And C arrays have slightly unusual semantics - array expressions decay
> > into pointer expressions in most circumstances. Often, you can write
> > simple and clear code with multi-dimensional arrays. But for some
> > use-cases, you need quite complicated expressions and a lot of care to
> > get the sizes write.
> >
> Multi-dim arrays using Iliffe vectors used to be a good idea, back when
> memory was more or less the same speed as CPU, and multiplications were
> much more expensive.
>
> Today, it is normally far better to do w = arr[z*ZSTRIDE+y*YSTRIDE+x]
> than to effectively do
>
> t1 = arr[z]
> t2 = t1[y]
> w = t2[x]
>
> where t1[] is an array of pointers to pointers to arrays, and t2[] is
> an array of pointers to arrays.
>
> Lifting stuff out of the inner loops can often alleviate the costs of
> both of these, but integer mul is far to be preferred to random memory
> access.
<
Then strength-reduction converts MULs within a loop back into ADDs.
<
> Terje
>
> --
> - <Terje.Mathisen at tmsw.no>
> "almost all programming can be viewed as an exercise in caching"

Re: New computer architecture patent approved by UKIPO

<sqilun$g9j$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22575&group=comp.arch#22575

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd7-eb03-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Wed, 29 Dec 2021 22:03:03 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sqilun$g9j$1@newsreader4.netcologne.de>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org>
<sqh6rs$uqh$1@dont-email.me> <sqh87v$6en$1@dont-email.me>
<sqha6a$h95$1@dont-email.me> <sqhcec$sp3$1@dont-email.me>
<8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com>
<sqhu96$g3v$1@dont-email.me> <sqik30$1ijo$1@gioia.aioe.org>
<63b758e4-4772-48a2-a0a5-a27c9b181161n@googlegroups.com>
Injection-Date: Wed, 29 Dec 2021 22:03:03 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd7-eb03-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd7:eb03:0:7285:c2ff:fe6c:992d";
logging-data="16691"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Wed, 29 Dec 2021 22:03 UTC

MitchAlsup <MitchAlsup@aol.com> schrieb:
> On Wednesday, December 29, 2021 at 3:31:16 PM UTC-6, Terje Mathisen wrote:
>> David Brown wrote:
>> > On 29/12/2021 11:46, robf...@gmail.com wrote:
>> >> Huh? C does not support multi-dimensional arrays? I did not realize that. Not realizing
>> >> that, it is supported in my cc64 language. I do not see why [ ][ ][ ] cannot be used in
>> >> place of commas.
>> >> In cc64 multi-dimensional arrays are supported with the indexing operator[].
>> >> Accessing a multi-dimensional array is just A[x][y][z] which is the same as A[x,y,z].
>> >>
>> >
>> > Yes, C (and therefore C++) support A[x][y][z] for arrays of arrays of
>> > arrays. But that is not /quite/ the same as a multi-dimensional array.
>> > And C arrays have slightly unusual semantics - array expressions decay
>> > into pointer expressions in most circumstances. Often, you can write
>> > simple and clear code with multi-dimensional arrays. But for some
>> > use-cases, you need quite complicated expressions and a lot of care to
>> > get the sizes write.
>> >
>> Multi-dim arrays using Iliffe vectors used to be a good idea, back when
>> memory was more or less the same speed as CPU, and multiplications were
>> much more expensive.
>>
>> Today, it is normally far better to do w = arr[z*ZSTRIDE+y*YSTRIDE+x]
>> than to effectively do
>>
>> t1 = arr[z]
>> t2 = t1[y]
>> w = t2[x]
>>
>> where t1[] is an array of pointers to pointers to arrays, and t2[] is
>> an array of pointers to arrays.
>>
>> Lifting stuff out of the inner loops can often alleviate the costs of
>> both of these, but integer mul is far to be preferred to random memory
>> access.
><
> Then strength-reduction converts MULs within a loop back into ADDs.

.... which was a feature of the very first FORTRAN compiler, already.

Re: New computer architecture patent approved by UKIPO

<47497c6d-c34a-46f0-87a5-3108ebf47a70n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22579&group=comp.arch#22579

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:25ca:: with SMTP id y10mr19800905qko.526.1640821798074;
Wed, 29 Dec 2021 15:49:58 -0800 (PST)
X-Received: by 2002:aca:646:: with SMTP id 67mr22056840oig.175.1640821797818;
Wed, 29 Dec 2021 15:49:57 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Wed, 29 Dec 2021 15:49:57 -0800 (PST)
In-Reply-To: <sqilun$g9j$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:fdd8:9d71:527b:6b7b;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:fdd8:9d71:527b:6b7b
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com> <5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com> <sqcvuq$l2h$1@newsreader4.netcologne.de>
<sqf32u$irb$1@gioia.aioe.org> <sqh6rs$uqh$1@dont-email.me>
<sqh87v$6en$1@dont-email.me> <sqha6a$h95$1@dont-email.me> <sqhcec$sp3$1@dont-email.me>
<8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com> <sqhu96$g3v$1@dont-email.me>
<sqik30$1ijo$1@gioia.aioe.org> <63b758e4-4772-48a2-a0a5-a27c9b181161n@googlegroups.com>
<sqilun$g9j$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <47497c6d-c34a-46f0-87a5-3108ebf47a70n@googlegroups.com>
Subject: Re: New computer architecture patent approved by UKIPO
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Wed, 29 Dec 2021 23:49:58 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 41
 by: MitchAlsup - Wed, 29 Dec 2021 23:49 UTC

On Wednesday, December 29, 2021 at 4:03:06 PM UTC-6, Thomas Koenig wrote:
> MitchAlsup <Mitch...@aol.com> schrieb:
> > On Wednesday, December 29, 2021 at 3:31:16 PM UTC-6, Terje Mathisen wrote:
> >> David Brown wrote:
> >> > On 29/12/2021 11:46, robf...@gmail.com wrote:
> >> >> Huh? C does not support multi-dimensional arrays? I did not realize that. Not realizing
> >> >> that, it is supported in my cc64 language. I do not see why [ ][ ][ ] cannot be used in
> >> >> place of commas.
> >> >> In cc64 multi-dimensional arrays are supported with the indexing operator[].
> >> >> Accessing a multi-dimensional array is just A[x][y][z] which is the same as A[x,y,z].
> >> >>
> >> >
> >> > Yes, C (and therefore C++) support A[x][y][z] for arrays of arrays of
> >> > arrays. But that is not /quite/ the same as a multi-dimensional array.
> >> > And C arrays have slightly unusual semantics - array expressions decay
> >> > into pointer expressions in most circumstances. Often, you can write
> >> > simple and clear code with multi-dimensional arrays. But for some
> >> > use-cases, you need quite complicated expressions and a lot of care to
> >> > get the sizes write.
> >> >
> >> Multi-dim arrays using Iliffe vectors used to be a good idea, back when
> >> memory was more or less the same speed as CPU, and multiplications were
> >> much more expensive.
> >>
> >> Today, it is normally far better to do w = arr[z*ZSTRIDE+y*YSTRIDE+x]
> >> than to effectively do
> >>
> >> t1 = arr[z]
> >> t2 = t1[y]
> >> w = t2[x]
> >>
> >> where t1[] is an array of pointers to pointers to arrays, and t2[] is
> >> an array of pointers to arrays.
> >>
> >> Lifting stuff out of the inner loops can often alleviate the costs of
> >> both of these, but integer mul is far to be preferred to random memory
> >> access.
> ><
> > Then strength-reduction converts MULs within a loop back into ADDs.
> ... which was a feature of the very first FORTRAN compiler, already.
<
Something like 1955 ?

Re: New computer architecture patent approved by UKIPO

<6591e4bf-64bf-4cab-9d9c-dd28d7463f0bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22580&group=comp.arch#22580

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:430e:: with SMTP id u14mr20307926qko.286.1640823812218;
Wed, 29 Dec 2021 16:23:32 -0800 (PST)
X-Received: by 2002:a9d:75d4:: with SMTP id c20mr20399879otl.85.1640823811948;
Wed, 29 Dec 2021 16:23:31 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Wed, 29 Dec 2021 16:23:31 -0800 (PST)
In-Reply-To: <sqilun$g9j$1@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=136.50.253.102; posting-account=AoizIQoAAADa7kQDpB0DAj2jwddxXUgl
NNTP-Posting-Host: 136.50.253.102
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com> <5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com> <sqcvuq$l2h$1@newsreader4.netcologne.de>
<sqf32u$irb$1@gioia.aioe.org> <sqh6rs$uqh$1@dont-email.me>
<sqh87v$6en$1@dont-email.me> <sqha6a$h95$1@dont-email.me> <sqhcec$sp3$1@dont-email.me>
<8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com> <sqhu96$g3v$1@dont-email.me>
<sqik30$1ijo$1@gioia.aioe.org> <63b758e4-4772-48a2-a0a5-a27c9b181161n@googlegroups.com>
<sqilun$g9j$1@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6591e4bf-64bf-4cab-9d9c-dd28d7463f0bn@googlegroups.com>
Subject: Re: New computer architecture patent approved by UKIPO
From: jim.brak...@ieee.org (JimBrakefield)
Injection-Date: Thu, 30 Dec 2021 00:23:32 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 42
 by: JimBrakefield - Thu, 30 Dec 2021 00:23 UTC

On Wednesday, December 29, 2021 at 4:03:06 PM UTC-6, Thomas Koenig wrote:
> MitchAlsup <Mitch...@aol.com> schrieb:
> > On Wednesday, December 29, 2021 at 3:31:16 PM UTC-6, Terje Mathisen wrote:
> >> David Brown wrote:
> >> > On 29/12/2021 11:46, robf...@gmail.com wrote:
> >> >> Huh? C does not support multi-dimensional arrays? I did not realize that. Not realizing
> >> >> that, it is supported in my cc64 language. I do not see why [ ][ ][ ] cannot be used in
> >> >> place of commas.
> >> >> In cc64 multi-dimensional arrays are supported with the indexing operator[].
> >> >> Accessing a multi-dimensional array is just A[x][y][z] which is the same as A[x,y,z].
> >> >>
> >> >
> >> > Yes, C (and therefore C++) support A[x][y][z] for arrays of arrays of
> >> > arrays. But that is not /quite/ the same as a multi-dimensional array.
> >> > And C arrays have slightly unusual semantics - array expressions decay
> >> > into pointer expressions in most circumstances. Often, you can write
> >> > simple and clear code with multi-dimensional arrays. But for some
> >> > use-cases, you need quite complicated expressions and a lot of care to
> >> > get the sizes write.
> >> >
> >> Multi-dim arrays using Iliffe vectors used to be a good idea, back when
> >> memory was more or less the same speed as CPU, and multiplications were
> >> much more expensive.
> >>
> >> Today, it is normally far better to do w = arr[z*ZSTRIDE+y*YSTRIDE+x]
> >> than to effectively do
> >>
> >> t1 = arr[z]
> >> t2 = t1[y]
> >> w = t2[x]
> >>
> >> where t1[] is an array of pointers to pointers to arrays, and t2[] is
> >> an array of pointers to arrays.
> >>
> >> Lifting stuff out of the inner loops can often alleviate the costs of
> >> both of these, but integer mul is far to be preferred to random memory
> >> access.
> ><
> > Then strength-reduction converts MULs within a loop back into ADDs.
> ... which was a feature of the very first FORTRAN compiler, already.

Relied on 1970s FORTRAN compiler for subscript optimization.
Much clearer to write a lengthy subscript expressions than optimize it yourself via pointer obfuscation.

Re: New computer architecture patent approved by UKIPO

<3f49c3a5-4f64-4f35-a66a-436eb23c1819n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22581&group=comp.arch#22581

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a37:8d86:: with SMTP id p128mr20157625qkd.706.1640824794523;
Wed, 29 Dec 2021 16:39:54 -0800 (PST)
X-Received: by 2002:a9d:206a:: with SMTP id n97mr21664583ota.142.1640824794245;
Wed, 29 Dec 2021 16:39:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch
Date: Wed, 29 Dec 2021 16:39:54 -0800 (PST)
In-Reply-To: <6591e4bf-64bf-4cab-9d9c-dd28d7463f0bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:fdd8:9d71:527b:6b7b;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:fdd8:9d71:527b:6b7b
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com> <5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com> <sqcvuq$l2h$1@newsreader4.netcologne.de>
<sqf32u$irb$1@gioia.aioe.org> <sqh6rs$uqh$1@dont-email.me>
<sqh87v$6en$1@dont-email.me> <sqha6a$h95$1@dont-email.me> <sqhcec$sp3$1@dont-email.me>
<8a5ce1cf-0145-407b-8bb5-6c31e4ec115an@googlegroups.com> <sqhu96$g3v$1@dont-email.me>
<sqik30$1ijo$1@gioia.aioe.org> <63b758e4-4772-48a2-a0a5-a27c9b181161n@googlegroups.com>
<sqilun$g9j$1@newsreader4.netcologne.de> <6591e4bf-64bf-4cab-9d9c-dd28d7463f0bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3f49c3a5-4f64-4f35-a66a-436eb23c1819n@googlegroups.com>
Subject: Re: New computer architecture patent approved by UKIPO
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Thu, 30 Dec 2021 00:39:54 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 46
 by: MitchAlsup - Thu, 30 Dec 2021 00:39 UTC

On Wednesday, December 29, 2021 at 6:23:33 PM UTC-6, JimBrakefield wrote:
> On Wednesday, December 29, 2021 at 4:03:06 PM UTC-6, Thomas Koenig wrote:
> > MitchAlsup <Mitch...@aol.com> schrieb:
> > > On Wednesday, December 29, 2021 at 3:31:16 PM UTC-6, Terje Mathisen wrote:
> > >> David Brown wrote:
> > >> > On 29/12/2021 11:46, robf...@gmail.com wrote:
> > >> >> Huh? C does not support multi-dimensional arrays? I did not realize that. Not realizing
> > >> >> that, it is supported in my cc64 language. I do not see why [ ][ ][ ] cannot be used in
> > >> >> place of commas.
> > >> >> In cc64 multi-dimensional arrays are supported with the indexing operator[].
> > >> >> Accessing a multi-dimensional array is just A[x][y][z] which is the same as A[x,y,z].
> > >> >>
> > >> >
> > >> > Yes, C (and therefore C++) support A[x][y][z] for arrays of arrays of
> > >> > arrays. But that is not /quite/ the same as a multi-dimensional array.
> > >> > And C arrays have slightly unusual semantics - array expressions decay
> > >> > into pointer expressions in most circumstances. Often, you can write
> > >> > simple and clear code with multi-dimensional arrays. But for some
> > >> > use-cases, you need quite complicated expressions and a lot of care to
> > >> > get the sizes write.
> > >> >
> > >> Multi-dim arrays using Iliffe vectors used to be a good idea, back when
> > >> memory was more or less the same speed as CPU, and multiplications were
> > >> much more expensive.
> > >>
> > >> Today, it is normally far better to do w = arr[z*ZSTRIDE+y*YSTRIDE+x]
> > >> than to effectively do
> > >>
> > >> t1 = arr[z]
> > >> t2 = t1[y]
> > >> w = t2[x]
> > >>
> > >> where t1[] is an array of pointers to pointers to arrays, and t2[] is
> > >> an array of pointers to arrays.
> > >>
> > >> Lifting stuff out of the inner loops can often alleviate the costs of
> > >> both of these, but integer mul is far to be preferred to random memory
> > >> access.
> > ><
> > > Then strength-reduction converts MULs within a loop back into ADDs.
> > ... which was a feature of the very first FORTRAN compiler, already.
<
> Relied on 1970s FORTRAN compiler for subscript optimization.
> Much clearer to write a lengthy subscript expressions than optimize it yourself via pointer obfuscation.
<
I typically write code in C using arrays rather than pointers.
Pointers are good for some things; array notation is better for others.

Re: New computer architecture patent approved by UKIPO

<sqj27b$bnu$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=22582&group=comp.arch#22582

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bak...@iitbombay.org (Bakul Shah)
Newsgroups: comp.arch
Subject: Re: New computer architecture patent approved by UKIPO
Date: Wed, 29 Dec 2021 17:32:25 -0800
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <sqj27b$bnu$1@dont-email.me>
References: <1153ff5f-dc38-452b-beb6-4531181466fdn@googlegroups.com>
<37581437-09ba-4d4f-9f38-f9cb5656c07dn@googlegroups.com>
<5528b6bc-5fcb-4906-aaa0-fa6cebb72803n@googlegroups.com>
<msnjsgdvb8st1nf4o03o19u9opldfs4a1o@4ax.com>
<sqcvuq$l2h$1@newsreader4.netcologne.de> <sqf32u$irb$1@gioia.aioe.org>
<sqh6rs$uqh$1@dont-email.me> <sqh87v$6en$1@dont-email.me>
<sqha6a$h95$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 30 Dec 2021 01:32:28 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="67e42d81153c047e13817e08d71f0420";
logging-data="12030"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BI/Ldqv9QaCv0HOfp/HR3"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:68.0)
Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.10.2
Cancel-Lock: sha1:gxj1OfXw9kmwjTozi6k1HM7O3lU=
In-Reply-To: <sqha6a$h95$1@dont-email.me>
 by: Bakul Shah - Thu, 30 Dec 2021 01:32 UTC

On 12/29/21 1:36 AM, David Brown wrote:
> On 29/12/2021 10:02, Bakul Shah wrote:
>> On 12/29/21 12:39 AM, David Brown wrote:
>>> Ideally, a multi-dimensional array A should be indexed by "A[x, y, z]".
>>>   That's the way it works in many languages that support them well.
>>> Unfortunately, C (and therefore C++) have the "comma operator", so that
>>> expression already has a meaning - evaluate "x" for its side-effects
>>> then throw it away, evaluate "y" for its side-effects, then you are left
>>> with "A[z]".
>>
>> This could've been trivially fixed by using ';' instead of
>> ','. Since ';' is illegal in the [] context, this would
>> have not been a breaking change.
>>
>
> I think that would have been /far/ from trivial. Suddenly you now have
> two different ways of separating parameters in the language, which would

Array indices are not the same as function parameters.
Given that C screwed up by misusing , as an operator,
and given that C has no generics, there is no other
choice but to use a different symbol *if* one wanted
to add multi dim. arrays to C. The syntax part is indeed
trivially solved but to make multi dim arrays fully
useful you need the ability to create arrays, reference
subarrays and pass them as args. etc and that is not
trivial. I believe it is indeed possible to add
full fledged multi-dim. array support to C in a fully
backward compatible way. Though am not holding my breath.
(and I have close to 0 interest in what C++ does. I used
it for 20+ years. That was a long enough sentence!]

Pages:12345
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor