Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Jesus saves...but Gretzky gets the rebound!" -- Daniel Hinojosa (hinojosa@hp-sdd)


devel / comp.arch / Re: Macros, threat or menace, was Dense machine code from C++ code (compiler optimizations)

SubjectAuthor
* Dense machine code from C++ code (compiler optimizations)Marcus
+* Re: Dense machine code from C++ code (compiler optimizations)Terje Mathisen
|`- Re: Dense machine code from C++ code (compiler optimizations)Marcus
+* Re: Dense machine code from C++ code (compiler optimizations)BGB
|+* Re: Dense machine code from C++ code (compiler optimizations)robf...@gmail.com
||`* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
|| `* Re: Dense machine code from C++ code (compiler optimizations)BGB
||  +- Re: Dense machine code from C++ code (compiler optimizations)Ivan Godard
||  `* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
||   +* Re: Dense machine code from C++ code (compiler optimizations)Ivan Godard
||   |`- Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
||   `* Re: Dense machine code from C++ code (compiler optimizations)BGB
||    `* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
||     `* Re: Dense machine code from C++ code (compiler optimizations)BGB
||      +* Re: Dense machine code from C++ code (compiler optimizations)robf...@gmail.com
||      |+- Re: Dense machine code from C++ code (compiler optimizations)BGB
||      |`* Re: Thor (was: Dense machine code...)Marcus
||      | `* Re: Thor (was: Dense machine code...)robf...@gmail.com
||      |  +- Re: ThorEricP
||      |  `* Re: Thor (was: Dense machine code...)Marcus
||      |   `- Re: Thor (was: Dense machine code...)robf...@gmail.com
||      `* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
||       `* Re: Dense machine code from C++ code (compiler optimizations)BGB
||        `* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
||         `* Re: Dense machine code from C++ code (compiler optimizations)BGB
||          `* Re: Dense machine code from C++ code (compiler optimizations)BGB
||           `* Re: Testing with open source games (was Dense machine code ...)Marcus
||            +* Re: Testing with open source games (was Dense machine code ...)Terje Mathisen
||            |`* Re: Testing with open source games (was Dense machine code ...)Marcus
||            | +- Re: Testing with open source games (was Dense machine code ...)Terje Mathisen
||            | `* Re: Testing with open source games (was Dense machine code ...)James Van Buskirk
||            |  `- Re: Testing with open source games (was Dense machine code ...)Marcus
||            `- Re: Testing with open source games (was Dense machine code ...)BGB
|`* Re: Dense machine code from C++ code (compiler optimizations)Marcus
| +* Re: Dense machine code from C++ code (compiler optimizations)Ivan Godard
| |+- Re: Dense machine code from C++ code (compiler optimizations)Thomas Koenig
| |`* Re: Dense machine code from C++ code (compiler optimizations)BGB
| | `* Re: Dense machine code from C++ code (compiler optimizations)Ivan Godard
| |  +- Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
| |  `- Re: Dense machine code from C++ code (compiler optimizations)BGB
| +* Re: Dense machine code from C++ code (compiler optimizations)BGB
| |`- Re: Dense machine code from C++ code (compiler optimizations)Paul A. Clayton
| `* Re: Dense machine code from C++ code (compiler optimizations)Thomas Koenig
|  `* Re: Dense machine code from C++ code (compiler optimizations)Marcus
|   +* Re: Dense machine code from C++ code (compiler optimizations)Thomas Koenig
|   |`* Re: Dense machine code from C++ code (compiler optimizations)Marcus
|   | `- Re: Dense machine code from C++ code (compiler optimizations)Thomas Koenig
|   `* Re: Dense machine code from C++ code (compiler optimizations)BGB
|    +* Re: Dense machine code from C++ code (compiler optimizations)Marcus
|    |`- Re: Dense machine code from C++ code (compiler optimizations)George Neuner
|    `* Re: Dense machine code from C++ code (compiler optimizations)David Brown
|     `* Re: Dense machine code from C++ code (compiler optimizations)Marcus
|      `* Re: Dense machine code from C++ code (compiler optimizations)Terje Mathisen
|       +* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
|       |`- Re: Dense machine code from C++ code (compiler optimizations)Terje Mathisen
|       +- Re: Dense machine code from C++ code (compiler optimizations)BGB
|       `- Re: Dense machine code from C++ code (compiler optimizations)Marcus
`* Re: Dense machine code from C++ code (compiler optimizations)Ir. Hj. Othman bin Hj. Ahmad
 +- Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
 `* Re: Dense machine code from C++ code (compiler optimizations)Thomas Koenig
  +* Re: Dense machine code from C++ code (compiler optimizations)chris
  |`* Re: Dense machine code from C++ code (compiler optimizations)David Brown
  | `* Re: Dense machine code from C++ code (compiler optimizations)chris
  |  +* Re: Dense machine code from C++ code (compiler optimizations)David Brown
  |  |`- Re: Dense machine code from C++ code (compiler optimizations)chris
  |  `* Re: Dense machine code from C++ code (compiler optimizations)Terje Mathisen
  |   `* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
  |    +- Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
  |    `* Re: Dense machine code from C++ code (compiler optimizations)Terje Mathisen
  |     `- Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
  +* Re: Dense machine code from C++ code (compiler optimizations)David Brown
  |`* Re: Dense machine code from C++ code (compiler optimizations)BGB
  | `* Re: Dense machine code from C++ code (compiler optimizations)David Brown
  |  `* Re: Dense machine code from C++ code (compiler optimizations)BGB
  |   +* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
  |   |`* Re: Dense machine code from C++ code (compiler optimizations)BGB
  |   | `- Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
  |   `* Re: Dense machine code from C++ code (compiler optimizations)David Brown
  |    `- Re: Dense machine code from C++ code (compiler optimizations)BGB
  `* Re: Dense machine code from C++ code (compiler optimizations)Stephen Fuld
   +* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
   |`- Re: Dense machine code from C++ code (compiler optimizations)Stephen Fuld
   +* Re: Dense machine code from C++ code (compiler optimizations)James Van Buskirk
   |`* Re: Dense machine code from C++ code (compiler optimizations)Stephen Fuld
   | +* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
   | |+- Re: Dense machine code from C++ code (compiler optimizations)Marcus
   | |`* Re: Dense machine code from C++ code (compiler optimizations)Terje Mathisen
   | | `* Re: Dense machine code from C++ code (compiler optimizations)Stephen Fuld
   | |  `* Re: Dense machine code from C++ code (compiler optimizations)EricP
   | |   `* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
   | |    `* Re: Dense machine code from C++ code (compiler optimizations)EricP
   | |     `* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
   | |      `- Re: Dense machine code from C++ code (compiler optimizations)EricP
   | `* Re: Dense machine code from C++ code (compiler optimizations)Tim Rentsch
   |  +* Re: Dense machine code from C++ code (compiler optimizations)Stephen Fuld
   |  |+* Re: Dense machine code from C++ code (compiler optimizations)Guillaume
   |  ||+* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
   |  |||+- Re: Dense machine code from C++ code (compiler optimizations)Thomas Koenig
   |  |||`* Re: Dense machine code from C++ code (compiler optimizations)Guillaume
   |  ||| +* Re: Dense machine code from C++ code (compiler optimizations)MitchAlsup
   |  ||| |`* Re: Dense machine code from C++ code (compiler optimizations)Andreas Eder
   |  ||| `- Re: Dense machine code from C++ code (compiler optimizations)Tim Rentsch
   |  ||`- Re: Dense machine code from C++ code (compiler optimizations)Tim Rentsch
   |  |`* Re: Dense machine code from C++ code (compiler optimizations)Tim Rentsch
   |  `* Re: Dense machine code from C++ code (compiler optimizations)Ivan Godard
   `- Re: Dense machine code from C++ code (compiler optimizations)Andreas Eder

Pages:12345678
Re: Dense machine code from C++ code (compiler optimizations)

<sqksdc$3i0$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!UgLt14+w9tVHe1BtIa3HDQ.user.46.165.242.75.POSTED!not-for-mail
From: mess...@bottle.org (Guillaume)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 30 Dec 2021 19:05:27 +0100
Organization: Aioe.org NNTP Server
Message-ID: <sqksdc$3i0$1@gioia.aioe.org>
References: <sndun6$q07$1@dont-email.me>
<dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com>
<sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me>
<spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me>
<86mtks1j79.fsf@linuxsc.com> <sq2acu$hg3$1@dont-email.me>
<86r19yzby6.fsf@linuxsc.com> <sqd262$459$1@gioia.aioe.org>
<sqdek6$urp$3@newsreader4.netcologne.de>
<jvunsghcbu6i5r5g8osco6p61c75udj1hc@4ax.com> <sqicb6$1nnv$1@gioia.aioe.org>
<83efb7b8-75db-4c35-8c1c-efc7eb374cb4n@googlegroups.com>
<sqj36o$d9u$1@dont-email.me>
<db3eb123-b33f-45df-96df-48e7e15bca8fn@googlegroups.com>
<sqk5jl$e5d$1@newsreader4.netcologne.de>
<jwvilv62lju.fsf-monnier+comp.arch@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="3648"; posting-host="UgLt14+w9tVHe1BtIa3HDQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Content-Language: fr
X-Notice: Filtered by postfilter v. 0.9.2
 by: Guillaume - Thu, 30 Dec 2021 18:05 UTC

Le 30/12/2021 à 15:52, Stefan Monnier a écrit :
> Thomas Koenig [2021-12-30 11:36:21] wrote:
>> MitchAlsup <MitchAlsup@aol.com> schrieb:
>>> Lately I have been thinking that using the same spelling, but using a different color
>>> scheme would work well. The text could be colored, the text could be wrapped in a
>>> box, the background could have one color and the text another. This multiplies by
>>> 50 (or so) the possibilities one could use the same spelling to accomplish.......
>> Or one could use Emojis. (Oh, wait, that has already been done.)
>
> Are you referring to https://stroustrup.com/whitespace98.pdf maybe?

"Whitespace overloading"...

I don't know if I want to laugh hysterically, or just facepalm. I think
both, but that may be challenging to do. Would be some kind of body
language overloading. =)

Re: Dense machine code from C++ code (compiler optimizations)

<c00db627-375d-4405-89af-6d86e88a3ccen@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:6214:508f:: with SMTP id kk15mr28340823qvb.61.1640888726120;
Thu, 30 Dec 2021 10:25:26 -0800 (PST)
X-Received: by 2002:a05:6808:1248:: with SMTP id o8mr24603377oiv.157.1640888725902;
Thu, 30 Dec 2021 10:25:25 -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, 30 Dec 2021 10:25:25 -0800 (PST)
In-Reply-To: <jwvilv62lju.fsf-monnier+comp.arch@gnu.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:7c95:1043:36c7:2208;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:7c95:1043:36c7:2208
References: <sndun6$q07$1@dont-email.me> <dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com>
<sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me>
<spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me> <86mtks1j79.fsf@linuxsc.com>
<sq2acu$hg3$1@dont-email.me> <86r19yzby6.fsf@linuxsc.com> <sqd262$459$1@gioia.aioe.org>
<sqdek6$urp$3@newsreader4.netcologne.de> <jvunsghcbu6i5r5g8osco6p61c75udj1hc@4ax.com>
<sqicb6$1nnv$1@gioia.aioe.org> <83efb7b8-75db-4c35-8c1c-efc7eb374cb4n@googlegroups.com>
<sqj36o$d9u$1@dont-email.me> <db3eb123-b33f-45df-96df-48e7e15bca8fn@googlegroups.com>
<sqk5jl$e5d$1@newsreader4.netcologne.de> <jwvilv62lju.fsf-monnier+comp.arch@gnu.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c00db627-375d-4405-89af-6d86e88a3ccen@googlegroups.com>
Subject: Re: Dense machine code from C++ code (compiler optimizations)
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Thu, 30 Dec 2021 18:25:26 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 17
 by: MitchAlsup - Thu, 30 Dec 2021 18:25 UTC

On Thursday, December 30, 2021 at 8:52:06 AM UTC-6, Stefan Monnier wrote:
> Thomas Koenig [2021-12-30 11:36:21] wrote:
> > MitchAlsup <Mitch...@aol.com> schrieb:
> >> Lately I have been thinking that using the same spelling, but using a different color
> >> scheme would work well. The text could be colored, the text could be wrapped in a
> >> box, the background could have one color and the text another. This multiplies by
> >> 50 (or so) the possibilities one could use the same spelling to accomplish.......
> > Or one could use Emojis. (Oh, wait, that has already been done.)
<
> Are you referring to https://stroustrup.com/whitespace98.pdf maybe?
<
No, I was describing how I write documentation with figures. Figure boxes (sometimes lines)
are given a color, then in the text, I surround the text with a box and color the background
of the text with the same color as in the figure. Makes it straightforward for the eye to go
to the figure and find what the word means.
>
>
> Stefan

Re: Dense machine code from C++ code (compiler optimizations)

<sqku54$aj2$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: sfu...@alumni.cmu.edu.invalid (Stephen Fuld)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 30 Dec 2021 10:35:16 -0800
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <sqku54$aj2$1@dont-email.me>
References: <sndun6$q07$1@dont-email.me>
<dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com>
<sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me>
<spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me>
<86mtks1j79.fsf@linuxsc.com> <sq2acu$hg3$1@dont-email.me>
<86r19yzby6.fsf@linuxsc.com> <sqd262$459$1@gioia.aioe.org>
<sqdek6$urp$3@newsreader4.netcologne.de>
<jvunsghcbu6i5r5g8osco6p61c75udj1hc@4ax.com> <sqicb6$1nnv$1@gioia.aioe.org>
<83efb7b8-75db-4c35-8c1c-efc7eb374cb4n@googlegroups.com>
<sqj36o$d9u$1@dont-email.me>
<db3eb123-b33f-45df-96df-48e7e15bca8fn@googlegroups.com>
<sqk5jl$e5d$1@newsreader4.netcologne.de>
<jwvilv62lju.fsf-monnier+comp.arch@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 30 Dec 2021 18:35:16 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f7fde36530e19cd71fc285d281376c65";
logging-data="10850"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ggqR3Wdj61dZ5qom3pALc65lckjmKheA="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:K3wMp8fVDkhIEP2t1nw9pHhDjTw=
In-Reply-To: <jwvilv62lju.fsf-monnier+comp.arch@gnu.org>
Content-Language: en-US
 by: Stephen Fuld - Thu, 30 Dec 2021 18:35 UTC

On 12/30/2021 6:52 AM, Stefan Monnier wrote:
> Thomas Koenig [2021-12-30 11:36:21] wrote:
>> MitchAlsup <MitchAlsup@aol.com> schrieb:
>>> Lately I have been thinking that using the same spelling, but using a different color
>>> scheme would work well. The text could be colored, the text could be wrapped in a
>>> box, the background could have one color and the text another. This multiplies by
>>> 50 (or so) the possibilities one could use the same spelling to accomplish.......
>> Or one could use Emojis. (Oh, wait, that has already been done.)
>
> Are you referring to https://stroustrup.com/whitespace98.pdf maybe?

I expect he is referring to

https://esolangs.org/wiki/Emoji

--
- Stephen Fuld
(e-mail address disguised to prevent spam)

Re: Dense machine code from C++ code (compiler optimizations)

<8635m0xfsi.fsf@linuxsc.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 06 Jan 2022 21:42:37 -0800
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <8635m0xfsi.fsf@linuxsc.com>
References: <sndun6$q07$1@dont-email.me> <dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com> <sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me> <spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me> <86mtks1j79.fsf@linuxsc.com> <sq2acu$hg3$1@dont-email.me> <86r19yzby6.fsf@linuxsc.com> <sqdinh$b4m$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="e2005ac63493a238c185f329f8e563ad";
logging-data="9596"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zpJAtFEEcPBFK06dBGoJxYIa8aw8Xqyk="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:mIRt7BU9iVwTh/JQmfJj3FgOpOI=
sha1:t3rd1e8jO/3o+5bjCxRH1Qm7Lyk=
 by: Tim Rentsch - Fri, 7 Jan 2022 05:42 UTC

Bakul Shah <bakul@iitbombay.org> writes:

> On 12/27/21 12:30 AM, Tim Rentsch wrote:
>
>> Better to
>> follow the principle expressed by Tony Hoare: a language should
>> have only those features that are going to be used in every
>> program.
>
> Do you have a reference to where he said this?

Unfortunately I don't. During the 1970s I read a lot of computer
science literature, but I don't have any notes as to what, so it's
anyone's guess where it might have been. It is of course possible
that I am mis-remembering, but I don't think I am. To be clear, I
am not claiming that the wording is exact - for example, he might
have said "facilities" rather than "features". But I think the
spirit is right (that is, what I said matches the spirit of the
original). Also, it's possible that his comment is not something
I read but something I heard, because I did hear Hoare in person
on at least one occasion.

> I am familiar with his 1974 paper "Hints on Programming Language
> Design"

That paper is one I read during that time. It might be interesting
to read it again (thank you for the link).

> "only those features that are going to be used in every program"
> is a recipe for a totally stagnant language since how can you
> prove that every program will use a feature that does not yet exist?!

Hoare was writing in a different time. In those days people
expected that programming languges would be more or less static,
and not change much once they reached a certain point in their
design. I think that was a reasonable point of view at the time.
In more modern times, the question of how to evolve a programming
language is not any easy question, and there are some examples of
languages that have done rather poorly in that regard. Over in
comp.lang.c++ there is now discussion of a breaking change that
happened between C++17 and C++20, due to the introduction of the
so-called spaceship operator (<=>) and how it interacts with the
standard library. In any case the question of language evolution
was not meant to be included in the principle stated.

Re: Dense machine code from C++ code (compiler optimizations)

<86tuegw0u6.fsf@linuxsc.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 06 Jan 2022 21:50:57 -0800
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <86tuegw0u6.fsf@linuxsc.com>
References: <sndun6$q07$1@dont-email.me> <dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com> <sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me> <spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me> <86mtks1j79.fsf@linuxsc.com> <sq2acu$hg3$1@dont-email.me> <86r19yzby6.fsf@linuxsc.com> <sqd1hs$l2h$2@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="e2005ac63493a238c185f329f8e563ad";
logging-data="9596"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19prUnaI8u87MktPpLnQhQicljijjzSQts="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:8zThBntSBgQfcZq/oT1OYigZqs4=
sha1:qvjAM0a8hDCuQEy+xeSlI9MY96I=
 by: Tim Rentsch - Fri, 7 Jan 2022 05:50 UTC

Thomas Koenig <tkoenig@netcologne.de> writes:

> Tim Rentsch <tr.17687@z991.linuxsc.com> schrieb:
>
>> Better to
>> follow the principle expressed by Tony Hoare: a language should
>> have only those features that are going to be used in every
>> program.
>
> Taken literally, that is rather extreme.
>
> Would you ban file I/O because there are lots of useful programs
> which only use standard input and standart output?

Depends on what one considers the granularity of a "feature".
For the kind of language that C is, it seems reasonable to say
that <stdio.h> may be counted as a single feature.

Re: Macros, threat or menace, was Dense machine code from C++ code (compiler optimizations)

<868rvsvwxr.fsf@linuxsc.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.arch
Subject: Re: Macros, threat or menace, was Dense machine code from C++ code (compiler optimizations)
Date: Thu, 06 Jan 2022 23:15:12 -0800
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <868rvsvwxr.fsf@linuxsc.com>
References: <sndun6$q07$1@dont-email.me> <sq372j$80q$1@dont-email.me> <sq4l7a$21u$1@newsreader4.netcologne.de> <sq4p88$77q$1@dont-email.me> <sq5865$1cn9$1@gal.iecc.com> <541dba94-b488-44e5-a939-1557f3ea9709n@googlegroups.com> <sq5mga$k9o$1@dont-email.me> <sq65vu$pcc$1@dont-email.me> <86mtkmzb7v.fsf@linuxsc.com> <sqc8br$ib4$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="e2005ac63493a238c185f329f8e563ad";
logging-data="22253"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cgijNNsqbpsdIaMWxXOtIdXpuY3A54SE="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:1pd6nBHHCrCvIOzl8y3NXX30LT8=
sha1:VJCMOOEqXviZyHbmHSE/2BaftiM=
 by: Tim Rentsch - Fri, 7 Jan 2022 07:15 UTC

Ivan Godard <ivan@millcomputing.com> writes:

> On 12/27/2021 12:46 AM, Tim Rentsch wrote:
>
>> Ivan Godard <ivan@millcomputing.com> writes:
>>
>>> On 12/24/2021 3:52 PM, Bakul Shah wrote:
>>>
>>>> On 12/24/21 1:29 PM, JimBrakefield wrote:
>>>>
>>>>> At my current level of understanding:
>>>>> An interesting feature of Zig is that instead of a macro or
>>>>> preprocessor the compiler
>>>>> will execute at compile time anything the can be computed at compile time
>>>>> (including type expressions). Thus the language itself is it's own
>>>>> preprocessor.
>>>>> And like the RTL languages, simplification and reduction is carried
>>>>> as far as possible.
>>>>
>>>> The "V" language also does this. But this is not the same as decent
>>>> macro processing. Scheme/CL macros allow you to abstract away details
>>>> very nicely but for that to work, there needs to a language syntax model
>>>> the macros can access. This is much simpler in S-expr languages since
>>>> the AST *is* the concrete syntax (more or less)!
>>>
>>> SmallTalk
>>
>> Let me remind you again: Smalltalk, not SmallTalk.
>>
>>> had the execution context accessible and mutable by the
>>> running program, including during translation.
>>
>> When code is running, yes. When code is being compiled, no.
>> It's been quite a few years since I used a Smalltalk system,
>> but most code was written and compiled using a conventional
>> compilation model, without any way to execute code as part
>> of the compilation process.
>
> Yes: most people use only the first order aspects of second order
> systems.

Are you missing the point here? What I am saying is that
Smalltalk does not provide second order capabilities during
compilation (aka translation). Of course people don't take
advantage of second order aspects when compiling/translating
Smalltalk code, because there are no second order aspects
available in those circumstances.

Re: Macros, threat or menace, was Dense machine code from C++ code (compiler optimizations)

<sr978r$rhe$1@dont-email.me>

  copy mid

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

  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: Macros, threat or menace, was Dense machine code from C++ code
(compiler optimizations)
Date: Fri, 7 Jan 2022 03:13:31 -0800
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <sr978r$rhe$1@dont-email.me>
References: <sndun6$q07$1@dont-email.me> <sq372j$80q$1@dont-email.me>
<sq4l7a$21u$1@newsreader4.netcologne.de> <sq4p88$77q$1@dont-email.me>
<sq5865$1cn9$1@gal.iecc.com>
<541dba94-b488-44e5-a939-1557f3ea9709n@googlegroups.com>
<sq5mga$k9o$1@dont-email.me> <sq65vu$pcc$1@dont-email.me>
<86mtkmzb7v.fsf@linuxsc.com> <sqc8br$ib4$2@dont-email.me>
<868rvsvwxr.fsf@linuxsc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 7 Jan 2022 11:13:31 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="305e35c08e81839d6e2c9ca9371b8a28";
logging-data="28206"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18y5MmAGhJAioTQTo3Q8rEL"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:4wu7Q0ascHIu91CIj7XwMNx/P0Y=
In-Reply-To: <868rvsvwxr.fsf@linuxsc.com>
Content-Language: en-US
 by: Ivan Godard - Fri, 7 Jan 2022 11:13 UTC

On 1/6/2022 11:15 PM, Tim Rentsch wrote:
> Ivan Godard <ivan@millcomputing.com> writes:
>
>> On 12/27/2021 12:46 AM, Tim Rentsch wrote:
>>
>>> Ivan Godard <ivan@millcomputing.com> writes:
>>>
>>>> On 12/24/2021 3:52 PM, Bakul Shah wrote:
>>>>
>>>>> On 12/24/21 1:29 PM, JimBrakefield wrote:
>>>>>
>>>>>> At my current level of understanding:
>>>>>> An interesting feature of Zig is that instead of a macro or
>>>>>> preprocessor the compiler
>>>>>> will execute at compile time anything the can be computed at compile time
>>>>>> (including type expressions). Thus the language itself is it's own
>>>>>> preprocessor.
>>>>>> And like the RTL languages, simplification and reduction is carried
>>>>>> as far as possible.
>>>>>
>>>>> The "V" language also does this. But this is not the same as decent
>>>>> macro processing. Scheme/CL macros allow you to abstract away details
>>>>> very nicely but for that to work, there needs to a language syntax model
>>>>> the macros can access. This is much simpler in S-expr languages since
>>>>> the AST *is* the concrete syntax (more or less)!
>>>>
>>>> SmallTalk
>>>
>>> Let me remind you again: Smalltalk, not SmallTalk.
>>>
>>>> had the execution context accessible and mutable by the
>>>> running program, including during translation.
>>>
>>> When code is running, yes. When code is being compiled, no.
>>> It's been quite a few years since I used a Smalltalk system,
>>> but most code was written and compiled using a conventional
>>> compilation model, without any way to execute code as part
>>> of the compilation process.
>>
>> Yes: most people use only the first order aspects of second order
>> systems.
>
> Are you missing the point here? What I am saying is that
> Smalltalk does not provide second order capabilities during
> compilation (aka translation). Of course people don't take
> advantage of second order aspects when compiling/translating
> Smalltalk code, because there are no second order aspects
> available in those circumstances.

There were second order facilities in the Smalltalk I once used. I'm not
surprised if later implementations discarded second order in favor of
faster first order.

Re: Dense machine code from C++ code (compiler optimizations)

<86r19iv48c.fsf@linuxsc.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Sat, 08 Jan 2022 03:47:31 -0800
Organization: A noiseless patient Spider
Lines: 85
Message-ID: <86r19iv48c.fsf@linuxsc.com>
References: <sndun6$q07$1@dont-email.me> <dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com> <sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me> <spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me> <86mtks1j79.fsf@linuxsc.com> <sq2acu$hg3$1@dont-email.me> <86r19yzby6.fsf@linuxsc.com> <sqd262$459$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="39a0fb7e962324ec1775b4eb80212680";
logging-data="30274"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uD2ZMoLHu1nqw/8nVDY6eJH0uUDLeGjo="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:4xVysXro/LkoMngWkQjkjrE+Qm4=
sha1:O71os9Vwc+0kPc3lN5Lh8Nq6OSA=
 by: Tim Rentsch - Sat, 8 Jan 2022 11:47 UTC

Guillaume <message@bottle.org> writes:

> Le 27/12/2021 at 09:30, Tim Rentsch a ecrit:
>
>> The idea that feature X should be added to a language standard
>> just for the sake of commonality leads inexorably to a language
>> overloaded with features that are used only rarely.
>
> Yes. And isn't that what C++ exactly is? =)

Oh it isn't that. C++ is overloaded (no pun intended) with
features that people use all the time, often without realizing
that they are, and which have the property that they interact in
subtle and surprising ways. To make things even better, C++ has
what I think is the most poorly written reference manual I've
ever read. Astonishingly bad. AFAICT almost no one reads the
C++ standard any more, because unraveling what it says is too
difficult to reach any definitive conclusions about a question.

> (Yes, it's a mess, but it might not be politically correct to say
> this.)

IMO saying C++ is a mess is being too kind.

>> Better to follow the principle expressed by Tony Hoare: a language
>> should have only those features that are going to be used in every
>> program.
>
> Oh well. That statement is a bit extreme. But Hoare liked punch
> lines, and the point is still made. =)

I think whether it's extreme depends on how one understands what
it is meant to say. But based on Hoare's writing and also on
hearing him speak I think he meant it quite seriously (with a
disclaimer that I may have inadvertently changed the meaning
slightly by how I phrased it).

> (Yes, of course extreme. Let's take a trivial example. One can
> write entire programs that do not use a single division operator.
> Does that mean one should remove it from the language, because not
> every program uses it?)

First I don't think of division as an individual feature, but as
part of a larger-grained feature along the lines of "operations
on integer data types". If a language has "less than", does
that mean it doesn't need "greater than"? It seems silly to
have one and not the other, and I think one reason for that is
that the two operations both belong to a single conceptual
"feature".

On a larger scale, there needs be a shared understanding of what
constitutes the universe of programs. For almost any given
language construct, an adversary can concoct a program -- probably
even a useful program -- that does not use the given construct.
Does that mean the language should be stripped down to some sort
of minimalistic Turing-complete subset? Of course it doesn't.
In the statement of principle being discussed, "every program"
means every program in a (presumably large) universe of expected
programs, not every conceivable program.

> I prefer Wirth's "Make it as simple as possible, but not simpler"
> quote that can be found in the Oberon language specs. (And often
> attributed to Einstein.) Seemingly conveys the same idea, but in
> a more realistic, if slightly more abstract, form.

On the origin of the simple/no simpler quote, you might want to
read this:

https://quoteinvestigator.com/2011/05/13/einstein-simple/

On the subject of Wirth and Oberon, I know it may be sacrilege to
say this, but I'm not impressed with what Wirth did after Pascal.
The stuff in Modula was done better and earlier in the language
Mesa, and Wirth was familiar with Mesa before he developed Modula.

As for the simple/no simpler saying as a design principle, to me it
seems completely empty. It says nothing, a Rorschach test that
lets people see whatever they want to see. At one end we might say
a Turing machine is as simple as possible and cannot be simpler.
At the other end of the spectrum, I have heard people touting C++
invoke the "as simple as possible, but no simpler" mantra. Good
design requires balance between elements that provide capability
and restraint against the impulse to include too much. Note what
Fred Brooks says regarding "the second system effect" in his
well-known book The Mythical Man-Month.

Re: Dense machine code from C++ code (compiler optimizations)

<src4fr$46d$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: iva...@millcomputing.com (Ivan Godard)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Sat, 8 Jan 2022 05:44:28 -0800
Organization: A noiseless patient Spider
Lines: 77
Message-ID: <src4fr$46d$1@dont-email.me>
References: <sndun6$q07$1@dont-email.me>
<dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com>
<sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me>
<spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me>
<86mtks1j79.fsf@linuxsc.com> <sq2acu$hg3$1@dont-email.me>
<86r19yzby6.fsf@linuxsc.com> <sqd262$459$1@gioia.aioe.org>
<86r19iv48c.fsf@linuxsc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 8 Jan 2022 13:44:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d4e2701684c50d7c4695c696895f2d5e";
logging-data="4301"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OlIRUGjVaU0X76vIBPJQ3"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:k7gy6hDPWxPDkgIFzUe++JQlJno=
In-Reply-To: <86r19iv48c.fsf@linuxsc.com>
Content-Language: en-US
 by: Ivan Godard - Sat, 8 Jan 2022 13:44 UTC

On 1/8/2022 3:47 AM, Tim Rentsch wrote:
> Guillaume <message@bottle.org> writes:
>
>> Le 27/12/2021 at 09:30, Tim Rentsch a ecrit:
>>
>>> The idea that feature X should be added to a language standard
>>> just for the sake of commonality leads inexorably to a language
>>> overloaded with features that are used only rarely.
>>
>> Yes. And isn't that what C++ exactly is? =)
>
> Oh it isn't that. C++ is overloaded (no pun intended) with
> features that people use all the time, often without realizing
> that they are, and which have the property that they interact in
> subtle and surprising ways. To make things even better, C++ has
> what I think is the most poorly written reference manual I've
> ever read. Astonishingly bad. AFAICT almost no one reads the
> C++ standard any more, because unraveling what it says is too
> difficult to reach any definitive conclusions about a question.
>
>> (Yes, it's a mess, but it might not be politically correct to say
>> this.)
>
> IMO saying C++ is a mess is being too kind.
>
>>> Better to follow the principle expressed by Tony Hoare: a language
>>> should have only those features that are going to be used in every
>>> program.
>>
>> Oh well. That statement is a bit extreme. But Hoare liked punch
>> lines, and the point is still made. =)
>
> I think whether it's extreme depends on how one understands what
> it is meant to say. But based on Hoare's writing and also on
> hearing him speak I think he meant it quite seriously (with a
> disclaimer that I may have inadvertently changed the meaning
> slightly by how I phrased it).
>
>> (Yes, of course extreme. Let's take a trivial example. One can
>> write entire programs that do not use a single division operator.
>> Does that mean one should remove it from the language, because not
>> every program uses it?)
>
> First I don't think of division as an individual feature, but as
> part of a larger-grained feature along the lines of "operations
> on integer data types". If a language has "less than", does
> that mean it doesn't need "greater than"? It seems silly to
> have one and not the other, and I think one reason for that is
> that the two operations both belong to a single conceptual
> "feature".
>
> On a larger scale, there needs be a shared understanding of what
> constitutes the universe of programs. For almost any given
> language construct, an adversary can concoct a program -- probably
> even a useful program -- that does not use the given construct.
> Does that mean the language should be stripped down to some sort
> of minimalistic Turing-complete subset? Of course it doesn't.
> In the statement of principle being discussed, "every program"
> means every program in a (presumably large) universe of expected
> programs, not every conceivable program.
>
>> I prefer Wirth's "Make it as simple as possible, but not simpler"
>> quote that can be found in the Oberon language specs. (And often
>> attributed to Einstein.) Seemingly conveys the same idea, but in
>> a more realistic, if slightly more abstract, form.
>
> On the origin of the simple/no simpler quote, you might want to
> read this:
>
> https://quoteinvestigator.com/2011/05/13/einstein-simple/
>
> On the subject of Wirth and Oberon, I know it may be sacrilege to
> say this, but I'm not impressed with what Wirth did after Pascal.
> The stuff in Modula was done better and earlier in the language
> Mesa, and Wirth was familiar with Mesa before he developed Modula.

IMO, Wirth did by far his best work in PL360.

Re: Dense machine code from C++ code (compiler optimizations)

<c4aea379-7624-491f-9031-7ed5e185367bn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:75c3:: with SMTP id z3mr59725717qtq.527.1641663865630;
Sat, 08 Jan 2022 09:44:25 -0800 (PST)
X-Received: by 2002:a9d:ba8:: with SMTP id 37mr47432829oth.227.1641663865361;
Sat, 08 Jan 2022 09:44:25 -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: Sat, 8 Jan 2022 09:44:25 -0800 (PST)
In-Reply-To: <86r19iv48c.fsf@linuxsc.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:18a5:72f4:feb2:f1aa;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:18a5:72f4:feb2:f1aa
References: <sndun6$q07$1@dont-email.me> <dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com>
<sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me>
<spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me> <86mtks1j79.fsf@linuxsc.com>
<sq2acu$hg3$1@dont-email.me> <86r19yzby6.fsf@linuxsc.com> <sqd262$459$1@gioia.aioe.org>
<86r19iv48c.fsf@linuxsc.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c4aea379-7624-491f-9031-7ed5e185367bn@googlegroups.com>
Subject: Re: Dense machine code from C++ code (compiler optimizations)
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Sat, 08 Jan 2022 17:44:25 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 101
 by: MitchAlsup - Sat, 8 Jan 2022 17:44 UTC

On Saturday, January 8, 2022 at 5:47:36 AM UTC-6, Tim Rentsch wrote:
> Guillaume <mes...@bottle.org> writes:
>
> > Le 27/12/2021 at 09:30, Tim Rentsch a ecrit:
> >
> >> The idea that feature X should be added to a language standard
> >> just for the sake of commonality leads inexorably to a language
> >> overloaded with features that are used only rarely.
> >
> > Yes. And isn't that what C++ exactly is? =)
>
> Oh it isn't that. C++ is overloaded (no pun intended) with
> features that people use all the time, often without realizing
> that they are, and which have the property that they interact in
> subtle and surprising ways. To make things even better, C++ has
> what I think is the most poorly written reference manual I've
> ever read. Astonishingly bad. AFAICT almost no one reads the
> C++ standard any more, because unraveling what it says is too
> difficult to reach any definitive conclusions about a question.
>
> > (Yes, it's a mess, but it might not be politically correct to say
> > this.)
>
> IMO saying C++ is a mess is being too kind.
> >> Better to follow the principle expressed by Tony Hoare: a language
> >> should have only those features that are going to be used in every
> >> program.
> >
> > Oh well. That statement is a bit extreme. But Hoare liked punch
> > lines, and the point is still made. =)
>
> I think whether it's extreme depends on how one understands what
> it is meant to say. But based on Hoare's writing and also on
> hearing him speak I think he meant it quite seriously (with a
> disclaimer that I may have inadvertently changed the meaning
> slightly by how I phrased it).
>
> > (Yes, of course extreme. Let's take a trivial example. One can
> > write entire programs that do not use a single division operator.
> > Does that mean one should remove it from the language, because not
> > every program uses it?)
>
> First I don't think of division as an individual feature, but as
> part of a larger-grained feature along the lines of "operations
> on integer data types". If a language has "less than", does
> that mean it doesn't need "greater than"? It seems silly to
> have one and not the other, and I think one reason for that is
> that the two operations both belong to a single conceptual
> "feature".
<
Add and Subtract are an arithmetic pair.
Multiply and divide are an arithmetic pair
Differentiate and Integrate are a functional pair.
Equality and Inequality are an arithmetic set.
These things come together or not at all in pairs.
<
>
> On a larger scale, there needs be a shared understanding of what
> constitutes the universe of programs. For almost any given
> language construct, an adversary can concoct a program -- probably
> even a useful program -- that does not use the given construct.
> Does that mean the language should be stripped down to some sort
> of minimalistic Turing-complete subset? Of course it doesn't.
> In the statement of principle being discussed, "every program"
> means every program in a (presumably large) universe of expected
> programs, not every conceivable program.
<
There are programs with a duty to watch is some other program has failed
and restart it when that happens.
This would require no multiply, Divide, maybe not even subtract,
certainly no floating point, and likely no pointer dereferencing,
and only 1 or 2 local variables and a character string.
<
I really don't think one wants a language "that small".
<
> > I prefer Wirth's "Make it as simple as possible, but not simpler"
> > quote that can be found in the Oberon language specs. (And often
> > attributed to Einstein.) Seemingly conveys the same idea, but in
> > a more realistic, if slightly more abstract, form.
> On the origin of the simple/no simpler quote, you might want to
> read this:
>
> https://quoteinvestigator.com/2011/05/13/einstein-simple/
>
> On the subject of Wirth and Oberon, I know it may be sacrilege to
> say this, but I'm not impressed with what Wirth did after Pascal.
> The stuff in Modula was done better and earlier in the language
> Mesa, and Wirth was familiar with Mesa before he developed Modula.
>
> As for the simple/no simpler saying as a design principle, to me it
> seems completely empty. It says nothing, a Rorschach test that
> lets people see whatever they want to see. At one end we might say
> a Turing machine is as simple as possible and cannot be simpler.
> At the other end of the spectrum, I have heard people touting C++
> invoke the "as simple as possible, but no simpler" mantra. Good
> design requires balance between elements that provide capability
> and restraint against the impulse to include too much. Note what
> Fred Brooks says regarding "the second system effect" in his
> well-known book The Mythical Man-Month.
<
What is not well known is that the designer/architect is not back to
the boldness and cleanness he was in his 1st attempt until attempt #4.

Re: Dense machine code from C++ code (compiler optimizations)

<86k0f9uhd0.fsf@linuxsc.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Sun, 09 Jan 2022 06:13:47 -0800
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <86k0f9uhd0.fsf@linuxsc.com>
References: <sndun6$q07$1@dont-email.me> <dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com> <sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me> <spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me> <86mtks1j79.fsf@linuxsc.com> <sq2acu$hg3$1@dont-email.me> <86r19yzby6.fsf@linuxsc.com> <sqcs2u$mba$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="8b02fa079e009723326515f4d33d5ef0";
logging-data="26691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199AIzKfoXWlB7OKhcIviHsvZQqMbyRvRA="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:BvJc4Tc6tChEEs4jZzY/Gofp6+o=
sha1:7eKhKpQh9eHI8LS3mCrWZVfD2jw=
 by: Tim Rentsch - Sun, 9 Jan 2022 14:13 UTC

Stephen Fuld <sfuld@alumni.cmu.edu.invalid> writes:

I have gone back and read through roughly a dozen of your
postings in this thread and on this general topic. I'm
using the following exchange as a representative example,
although my remarks below are meant as a general response
rather than a specific one.

>> Also there is the question of how often shift/masking bitfield
>> manipulation comes up. I have looked at a fair bit of C code
>> over the years and I just don't see this very often. Probably it
>> does occur routinely in some application areas, but certainly not
>> most of them.
>
> I may be wrong, but I expect it occurs in many "close to the metal"
> applications, such as embedded code and microcontrollers, OS code,
> graphics, etc. ISTM that these are the areas (especially OS) that C
> was designed for.

Looking through your recent writings in this general area, all I
see are statements of opinion and unsupported theories or
beliefs. Thus there appears to be no reason to take the various
comments seriously. When considering a proposal to extend a
standardized language, the burden of proof falls on whoever is
making the proposal. Even taken all together what you have said
here doesn't come close to meeting that burden. So if you want
to be taken seriously in future proposals, be prepared to offer
more than statements of opinion and unsupported theories or
beliefs.

Re: Dense machine code from C++ code (compiler optimizations)

<86fspxugpo.fsf@linuxsc.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Sun, 09 Jan 2022 06:27:47 -0800
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <86fspxugpo.fsf@linuxsc.com>
References: <sndun6$q07$1@dont-email.me> <dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com> <sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me> <spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me> <86mtks1j79.fsf@linuxsc.com> <sq2acu$hg3$1@dont-email.me> <86r19yzby6.fsf@linuxsc.com> <sqd262$459$1@gioia.aioe.org> <86r19iv48c.fsf@linuxsc.com> <c4aea379-7624-491f-9031-7ed5e185367bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="8b02fa079e009723326515f4d33d5ef0";
logging-data="26691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++VdfcQFB4kWVgTeuhPV3ZQ+OZxdGNAz0="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:HZV3+Q+vFE7OuLcoL+ntDBJuHiU=
sha1:/doxkSdrGF86lpIwDxrQ2FGL7Ks=
 by: Tim Rentsch - Sun, 9 Jan 2022 14:27 UTC

MitchAlsup <MitchAlsup@aol.com> writes:

> On Saturday, January 8, 2022 at 5:47:36 AM UTC-6, Tim Rentsch wrote:
>
>> [...]
>>
>> On a larger scale, there needs be a shared understanding of what
>> constitutes the universe of programs. For almost any given
>> language construct, an adversary can concoct a program -- probably
>> even a useful program -- that does not use the given construct.
>> Does that mean the language should be stripped down to some sort
>> of minimalistic Turing-complete subset? Of course it doesn't.
>> In the statement of principle being discussed, "every program"
>> means every program in a (presumably large) universe of expected
>> programs, not every conceivable program.
>
> There are programs with a duty to watch is some other program has
> failed and restart it when that happens.
> This would require no multiply, Divide, maybe not even subtract,
> certainly no floating point, and likely no pointer dereferencing,
> and only 1 or 2 local variables and a character string. I really
> don't think one wants a language "that small".

I have already addressed this issue with my earlier comments.

Re: Macros, threat or menace, was Dense machine code from C++ code (compiler optimizations)

<867db9ufox.fsf@linuxsc.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.arch
Subject: Re: Macros, threat or menace, was Dense machine code from C++ code (compiler optimizations)
Date: Sun, 09 Jan 2022 06:49:50 -0800
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <867db9ufox.fsf@linuxsc.com>
References: <sndun6$q07$1@dont-email.me> <sq372j$80q$1@dont-email.me> <sq4l7a$21u$1@newsreader4.netcologne.de> <sq4p88$77q$1@dont-email.me> <sq5865$1cn9$1@gal.iecc.com> <541dba94-b488-44e5-a939-1557f3ea9709n@googlegroups.com> <sq5mga$k9o$1@dont-email.me> <sq65vu$pcc$1@dont-email.me> <86mtkmzb7v.fsf@linuxsc.com> <sqc8br$ib4$2@dont-email.me> <868rvsvwxr.fsf@linuxsc.com> <sr978r$rhe$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="8b02fa079e009723326515f4d33d5ef0";
logging-data="26691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184IGcvTi9UuR9qKeGNeR80+sA+NUgkZBs="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:cD99PKVVHeW+x5y1A6haIgmKTM4=
sha1:aOpQAFQZCr/qalvSIu5R4R9FI5k=
 by: Tim Rentsch - Sun, 9 Jan 2022 14:49 UTC

Ivan Godard <ivan@millcomputing.com> writes:

>> Are you missing the point here? What I am saying is that
>> Smalltalk does not provide second order capabilities during
>> compilation (aka translation). Of course people don't take
>> advantage of second order aspects when compiling/translating
>> Smalltalk code, because there are no second order aspects
>> available in those circumstances.
>
> There were second order facilities in the Smalltalk I once used.
> I'm not surprised if later implementations discarded second order
> in favor of faster first order.

It would be nice if you could be more specific. I've used
several Smalltalks over a time span of roughly a dozen
years and none of them offered second order mechanisms
during compilation.

Re: Macros, threat or menace, was Dense machine code from C++ code (compiler optimizations)

<srf77j$o7l$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: iva...@millcomputing.com (Ivan Godard)
Newsgroups: comp.arch
Subject: Re: Macros, threat or menace, was Dense machine code from C++ code
(compiler optimizations)
Date: Sun, 9 Jan 2022 09:49:38 -0800
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <srf77j$o7l$1@dont-email.me>
References: <sndun6$q07$1@dont-email.me> <sq372j$80q$1@dont-email.me>
<sq4l7a$21u$1@newsreader4.netcologne.de> <sq4p88$77q$1@dont-email.me>
<sq5865$1cn9$1@gal.iecc.com>
<541dba94-b488-44e5-a939-1557f3ea9709n@googlegroups.com>
<sq5mga$k9o$1@dont-email.me> <sq65vu$pcc$1@dont-email.me>
<86mtkmzb7v.fsf@linuxsc.com> <sqc8br$ib4$2@dont-email.me>
<868rvsvwxr.fsf@linuxsc.com> <sr978r$rhe$1@dont-email.me>
<867db9ufox.fsf@linuxsc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 9 Jan 2022 17:49:40 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7f0383743121c55d0376ef66ed7af2da";
logging-data="24821"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+e8I3ca+TyI3v133jAEPkv"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:ddNC1ceoi8AHj2Ww6Wv4jWh1P+c=
In-Reply-To: <867db9ufox.fsf@linuxsc.com>
Content-Language: en-US
 by: Ivan Godard - Sun, 9 Jan 2022 17:49 UTC

On 1/9/2022 6:49 AM, Tim Rentsch wrote:
> Ivan Godard <ivan@millcomputing.com> writes:
>
>>> Are you missing the point here? What I am saying is that
>>> Smalltalk does not provide second order capabilities during
>>> compilation (aka translation). Of course people don't take
>>> advantage of second order aspects when compiling/translating
>>> Smalltalk code, because there are no second order aspects
>>> available in those circumstances.
>>
>> There were second order facilities in the Smalltalk I once used.
>> I'm not surprised if later implementations discarded second order
>> in favor of faster first order.
>
> It would be nice if you could be more specific. I've used
> several Smalltalks over a time span of roughly a dozen
> years and none of them offered second order mechanisms
> during compilation.

I no longer remember which system it was. An interpreter, not a
compiler. Park Place Systems maybe?

Re: Dense machine code from C++ code (compiler optimizations)

<srf787$d9$1@newsreader4.netcologne.de>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2a0a-a540-3bd5-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Sun, 9 Jan 2022 17:49:59 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <srf787$d9$1@newsreader4.netcologne.de>
References: <sndun6$q07$1@dont-email.me>
<dc10dfff-b48e-40ec-8c24-0a6c2e1790d2n@googlegroups.com>
<sphe6s$5a3$1@newsreader4.netcologne.de> <spqc1d$oio$1@dont-email.me>
<spqhj2$gdf$1@dont-email.me> <spqkjk$7ug$1@dont-email.me>
<86mtks1j79.fsf@linuxsc.com> <sq2acu$hg3$1@dont-email.me>
<86r19yzby6.fsf@linuxsc.com> <sqd262$459$1@gioia.aioe.org>
<86r19iv48c.fsf@linuxsc.com>
<c4aea379-7624-491f-9031-7ed5e185367bn@googlegroups.com>
<86fspxugpo.fsf@linuxsc.com>
Injection-Date: Sun, 9 Jan 2022 17:49:59 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2a0a-a540-3bd5-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2a0a:a540:3bd5:0:7285:c2ff:fe6c:992d";
logging-data="425"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Sun, 9 Jan 2022 17:49 UTC

Tim Rentsch <tr.17687@z991.linuxsc.com> schrieb:
> MitchAlsup <MitchAlsup@aol.com> writes:
>
>> On Saturday, January 8, 2022 at 5:47:36 AM UTC-6, Tim Rentsch wrote:
>>
>>> [...]
>>>
>>> On a larger scale, there needs be a shared understanding of what
>>> constitutes the universe of programs. For almost any given
>>> language construct, an adversary can concoct a program -- probably
>>> even a useful program -- that does not use the given construct.
>>> Does that mean the language should be stripped down to some sort
>>> of minimalistic Turing-complete subset? Of course it doesn't.
>>> In the statement of principle being discussed, "every program"
>>> means every program in a (presumably large) universe of expected
>>> programs, not every conceivable program.
>>
>> There are programs with a duty to watch is some other program has
>> failed and restart it when that happens.
>> This would require no multiply, Divide, maybe not even subtract,
>> certainly no floating point, and likely no pointer dereferencing,
>> and only 1 or 2 local variables and a character string. I really
>> don't think one wants a language "that small".
>
> I have already addressed this issue with my earlier comments.

Where, specifically, did you address floating point?

It is certainly an expensive feature that is not needed by a lot
of systems programs:

$ ldd /bin/gzip
linux-vdso.so.1 (0x00007ffce5bd0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7ece5a1000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7ece89c000)
$ ldd /bin/ssh
linux-vdso.so.1 (0x00007ffe47fce000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007fe6dacd2000)
libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007fe6da9fc000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe6da9f6000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe6da9da000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fe6da9be000)
libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007fe6da971000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe6da77d000)
libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007fe6da6ed000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe6dade7000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe6da6ca000)
libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007fe6da5ed000)
libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007fe6da5bc000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007fe6da5b5000)
libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007fe6da5a4000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007fe6da59d000)

Re: Macros, threat or menace, was Dense machine code from C++ code (compiler optimizations)

<86y21ng4k4.fsf@linuxsc.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.arch
Subject: Re: Macros, threat or menace, was Dense machine code from C++ code (compiler optimizations)
Date: Sat, 05 Mar 2022 19:09:31 -0800
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <86y21ng4k4.fsf@linuxsc.com>
References: <sndun6$q07$1@dont-email.me> <sq372j$80q$1@dont-email.me> <sq4l7a$21u$1@newsreader4.netcologne.de> <sq4p88$77q$1@dont-email.me> <sq5865$1cn9$1@gal.iecc.com> <541dba94-b488-44e5-a939-1557f3ea9709n@googlegroups.com> <sq5mga$k9o$1@dont-email.me> <sq65vu$pcc$1@dont-email.me> <86mtkmzb7v.fsf@linuxsc.com> <sqc8br$ib4$2@dont-email.me> <868rvsvwxr.fsf@linuxsc.com> <sr978r$rhe$1@dont-email.me> <867db9ufox.fsf@linuxsc.com> <srf77j$o7l$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="13246d5653fd8faf4d64a45856686609";
logging-data="13240"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ATIvBs18YrstcHeW+olWdU0FMiJIiRWA="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:PIxFZZvY4wd2hiIaU+khmbIFUDc=
sha1:HmbK8L/DyQygmYWQLPTVTM69n1A=
 by: Tim Rentsch - Sun, 6 Mar 2022 03:09 UTC

Ivan Godard <ivan@millcomputing.com> writes:

> On 1/9/2022 6:49 AM, Tim Rentsch wrote:
>
>> Ivan Godard <ivan@millcomputing.com> writes:
>>
>>>> Are you missing the point here? What I am saying is that
>>>> Smalltalk does not provide second order capabilities during
>>>> compilation (aka translation). Of course people don't take
>>>> advantage of second order aspects when compiling/translating
>>>> Smalltalk code, because there are no second order aspects
>>>> available in those circumstances.
>>>
>>> There were second order facilities in the Smalltalk I once used.
>>> I'm not surprised if later implementations discarded second order
>>> in favor of faster first order.
>>
>> It would be nice if you could be more specific. I've used
>> several Smalltalks over a time span of roughly a dozen
>> years and none of them offered second order mechanisms
>> during compilation.
>
> I no longer remember which system it was. An interpreter, not a
> compiler. Park Place Systems maybe?

Both Smalltalk-76 and Smalltalk-80, which later became VisualWorks
of PPS, used a compilation model. Digitalk (or was it DigiTalk?)
Smalltalk also. There were several other Smalltalks, none of which
I ever used AFAIR. Granted, the compiler produced bytecodes that
were subsequently "executed" by the interpreter, similar to a JVM,
but still there was no code evaluation going on at compile time,
just compiling.

Pages:12345678
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor