Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

You will be successful in your work.


devel / comp.arch / Re: 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)

<sqdek6$urp$3@newsreader4.netcologne.de>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!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: Dense machine code from C++ code (compiler optimizations)
Date: Mon, 27 Dec 2021 22:27:18 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sqdek6$urp$3@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>
Injection-Date: Mon, 27 Dec 2021 22:27:18 -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="31609"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Mon, 27 Dec 2021 22:27 UTC

Guillaume <message@bottle.org> schrieb:

> 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.

I've played for a while with Modula-2, but never used Oberon.

The I/O was a pain: Having to call a separate function for each
item was simply to tiresome to type.

There are a few things that can be done with I/O:

a) Make it part of the language. This adds language complexity,
and was done for languages like Fortran or Pascal.

b) Make it part of the library, with formatted output statements
like printf(). This was originally done in C, led to things
like varargs and to strange behavior when people got the format
string wrong. Compilers nowadays check printf, so b) is now
usually a) in practice.

c) Make it part of a library and prescribe a single call for
each variable type. Cumbersome to use.

d) Add templates or generics to the language and use a generic
library.

e) Ignore I/O altogether, like Algol. The least preferable
method.

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

<66c916d8-c9e8-483a-be52-ba82f19a8d3bn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ad4:58cf:: with SMTP id dh15mr17259461qvb.125.1640644932619;
Mon, 27 Dec 2021 14:42:12 -0800 (PST)
X-Received: by 2002:a9d:4b04:: with SMTP id q4mr377072otf.144.1640644932376;
Mon, 27 Dec 2021 14:42:12 -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: Mon, 27 Dec 2021 14:42:12 -0800 (PST)
In-Reply-To: <sqd9qe$i33$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:383f:58a2:7daa:7355;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:383f:58a2:7daa:7355
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>
<7cd4982b-bc3d-439b-b9bb-21d70f4b1f46n@googlegroups.com> <sqd6n3$va5$1@dont-email.me>
<5dc26a2e-13fa-4e0d-be99-90f6e164c066n@googlegroups.com> <sqd9qe$i33$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <66c916d8-c9e8-483a-be52-ba82f19a8d3bn@googlegroups.com>
Subject: Re: Dense machine code from C++ code (compiler optimizations)
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Mon, 27 Dec 2021 22:42:12 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 35
 by: MitchAlsup - Mon, 27 Dec 2021 22:42 UTC

On Monday, December 27, 2021 at 3:05:20 PM UTC-6, Stephen Fuld wrote:
> On 12/27/2021 12:54 PM, Michael S wrote:
> > On Monday, December 27, 2021 at 10:12:22 PM UTC+2, Stephen Fuld wrote:
> >> On 12/27/2021 11:50 AM, Michael S wrote:
> >>> On Monday, December 27, 2021 at 7:10:56 PM UTC+2, Stephen Fuld wrote:
> >>>> On 12/27/2021 12:30 AM, Tim Rentsch wrote:
> >> snip
> >>>>> 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.
> >>>
> >>> I did and do spend significant portion of my time as sw developer in at least part of the above mentioned areas.
> >>> And my experience is that it's not a case.
> >>> I mean, both extraction from bit field to scalar and insertion of scalar into bit field are indeed not very rare.
> >>> But copying of one bit field into another is extremely rare.
> >> Oh, I agree with that. But once you have the "syntactical sugar" of
> >> pseudo functions for extraction and insertion, the copying is just there
> >> for free.
> >
> > But both for extraction to scalar and for insertion from scalar what Tim said is true - doing them with shifts and masks is easy and not error-prone.
> > Pay attention that "extraction to scalar" and "insertion from scalar" implies that the bit field is no wider than widest scalar [integer] data type of a given machine, which is already quite significant simplification.
> But if the starting bit number and length are variables, not explicit
> constants, you might want to have code that checks for "legality" of the
> values.
<
My 66000 HW looks at the values and raises an exception if the values are out of some
reasonable range.
> --
> - Stephen Fuld
> (e-mail address disguised to prevent spam)

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

<9193323b-9114-4c59-8b7a-eba5793f5e3bn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:4107:: with SMTP id j7mr13663133qko.645.1640645279819;
Mon, 27 Dec 2021 14:47:59 -0800 (PST)
X-Received: by 2002:a05:6830:1445:: with SMTP id w5mr13613725otp.112.1640645279601;
Mon, 27 Dec 2021 14:47: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: Mon, 27 Dec 2021 14:47:59 -0800 (PST)
In-Reply-To: <sqddvu$urp$2@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:291:29f0:383f:58a2:7daa:7355;
posting-account=H_G_JQkAAADS6onOMb-dqvUozKse7mcM
NNTP-Posting-Host: 2600:1700:291:29f0:383f:58a2:7daa:7355
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>
<sqddvu$urp$2@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9193323b-9114-4c59-8b7a-eba5793f5e3bn@googlegroups.com>
Subject: Re: Dense machine code from C++ code (compiler optimizations)
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Mon, 27 Dec 2021 22:47:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 12
 by: MitchAlsup - Mon, 27 Dec 2021 22:47 UTC

On Monday, December 27, 2021 at 4:16:32 PM UTC-6, Thomas Koenig wrote:
> Guillaume <mes...@bottle.org> schrieb:
> > Le 27/12/2021 à 09:30, Tim Rentsch a écrit :
> >> 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? =)
> > (Yes, it's a mess, but it might not be politically correct to say this.)
> What C++ suffers from isn't feature creep. It's a feature stampede.
<
Here, Here

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

<sqdh4u$2ho$1@dont-email.me>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Mon, 27 Dec 2021 15:10:20 -0800
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <sqdh4u$2ho$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> <sqd1hs$l2h$2@newsreader4.netcologne.de>
<jwv1r1xbtb9.fsf-monnier+comp.arch@gnu.org>
<sqddru$urp$1@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Dec 2021 23:10:23 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="50770609b64c5c97f63e18544dbb10ba";
logging-data="2616"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/HT5pZ31HX+ve1xi8gEYzf"
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:ZSigeMygOoMy07Iq3HMBGFfS9W4=
In-Reply-To: <sqddru$urp$1@newsreader4.netcologne.de>
 by: Bakul Shah - Mon, 27 Dec 2021 23:10 UTC

On 12/27/21 2:14 PM, Thomas Koenig wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> schrieb:
>>> Would you ban file I/O because there are lots of useful programs
>>> which only use standard input and standart output?
>>
>> Maybe the argument goes that file I/O should not be part of the
>> language, but part of the library ;-)
>
> That is not really the case for C anymore. The library is very
> much part of the language now, as you will discover if you try to
> use reserved names for anything else.
>
> Example:
>
> #include <stdio.h>
>
> double cos(double x)
> {
> return 3*x;
> }
>
> int main()
> {
> double a = -0.1;
> printf ("%f\n", 1+cos(-a));
> }
>
> What will this print, both with gcc and with clang?
>

This works fine with clang & gcc. cos is not a reserved word.

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

<sqdinh$b4m$1@dont-email.me>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Mon, 27 Dec 2021 15:37:19 -0800
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <sqdinh$b4m$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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Dec 2021 23:37:21 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="50770609b64c5c97f63e18544dbb10ba";
logging-data="11414"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TKtg2WdKndm7YTsKx2v/S"
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:QF8XAZtEOqHQI6vioJUeSalIIBw=
In-Reply-To: <86r19yzby6.fsf@linuxsc.com>
 by: Bakul Shah - Mon, 27 Dec 2021 23:37 UTC

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? I am familiar with
his 1974 paper "Hints on Programming Language Design"
http://flint.cs.yale.edu/cs428/doc/HintsPL.pdf

There he says (among other things)

- The designer of a new feature should concentrate on one feature
at a time. ... He should make sure that his feature mitigates
some disadvantage or remedies some incompleteness of the language
without compromising any of its existing merits. ... He should
write a number of example programs, evaluating all the consequences
of using the feature, in comparison with its many alternatives. ...

- The language designer should be familiar with many alternative
features designed by others, and should have excellent judgement
in choosing the best and rejecting any that are mutually
inconsistent. He must be capable of reconciling, by good engineering
design, any remaining minor inconsistencies or overlaps between
separately designed features.

"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?!

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

<sqdl02$lek$1@dont-email.me>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Mon, 27 Dec 2021 16:16:04 -0800
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <sqdl02$lek$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>
<sqddvu$urp$2@newsreader4.netcologne.de>
<9193323b-9114-4c59-8b7a-eba5793f5e3bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 28 Dec 2021 00:16:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="ca315eee59e58cc38e256dff4567bd4c";
logging-data="21972"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19CEQtes5sk2J98qvWSWmtq"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:Z0ZCFtf7s7OeChhhfHiTnL+2Xy0=
In-Reply-To: <9193323b-9114-4c59-8b7a-eba5793f5e3bn@googlegroups.com>
Content-Language: en-US
 by: Ivan Godard - Tue, 28 Dec 2021 00:16 UTC

On 12/27/2021 2:47 PM, MitchAlsup wrote:
> On Monday, December 27, 2021 at 4:16:32 PM UTC-6, Thomas Koenig wrote:
>> Guillaume <mes...@bottle.org> schrieb:
>>> Le 27/12/2021 à 09:30, Tim Rentsch a écrit :
>>>> 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? =)
>>> (Yes, it's a mess, but it might not be politically correct to say this.)
>> What C++ suffers from isn't feature creep. It's a feature stampede.
> <
> Here, Here

Thear, Thear?

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

<sqehor$l9k$1@newsreader4.netcologne.de>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Tue, 28 Dec 2021 08:27:07 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sqehor$l9k$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> <sqd1hs$l2h$2@newsreader4.netcologne.de>
<jwv1r1xbtb9.fsf-monnier+comp.arch@gnu.org>
<sqddru$urp$1@newsreader4.netcologne.de> <sqdh4u$2ho$1@dont-email.me>
Injection-Date: Tue, 28 Dec 2021 08:27:07 -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="21812"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Tue, 28 Dec 2021 08:27 UTC

Bakul Shah <bakul@iitbombay.org> schrieb:
> On 12/27/21 2:14 PM, Thomas Koenig wrote:
>> Stefan Monnier <monnier@iro.umontreal.ca> schrieb:
>>>> Would you ban file I/O because there are lots of useful programs
>>>> which only use standard input and standart output?
>>>
>>> Maybe the argument goes that file I/O should not be part of the
>>> language, but part of the library ;-)
>>
>> That is not really the case for C anymore. The library is very
>> much part of the language now, as you will discover if you try to
>> use reserved names for anything else.
>>
>> Example:
>>
>> #include <stdio.h>
>>
>> double cos(double x)
>> {
>> return 3*x;
>> }
>>
>> int main()
>> {
>> double a = -0.1;
>> printf ("%f\n", 1+cos(-a));
>> }
>>
>> What will this print, both with gcc and with clang?
>>
>
> This works fine with clang & gcc. cos is not a reserved word.

Sorry, wrong example. Here is one that does something unexpected,
at least to me:

#include <stdio.h>

double
FUNC (double x)
{ return x / 2 + x * x;
}

double
foo (double x)
{ return 1 - FUNC (-x);
}

int
main ()
{ printf ("%f\n", foo (1.2));
} $ gcc b.c && ./a.out
0.160000
$ gcc -DFUNC=sin b.c && ./a.out
3.040000

This is actually correct according to the C standard, because
sin is a reserved word if it has external linkage, even if
math.h is not included.

From this, I think it is safe to say that the C library is no
longer separate from the language.

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

<sqf3jb$qth$1@gioia.aioe.org>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Tue, 28 Dec 2021 14:31:23 +0100
Organization: Aioe.org NNTP Server
Message-ID: <sqf3jb$qth$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> <sqcs2u$mba$1@dont-email.me>
<7cd4982b-bc3d-439b-b9bb-21d70f4b1f46n@googlegroups.com>
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="27569"; 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:31 UTC

Michael S wrote:
> On Monday, December 27, 2021 at 7:10:56 PM UTC+2, Stephen Fuld wrote:
>> On 12/27/2021 12:30 AM, Tim Rentsch wrote:
>>> Stephen Fuld <sf...@alumni.cmu.edu.invalid> writes:
>>>
>>>> On 12/22/2021 12:24 PM, Tim Rentsch wrote:
>>>>
>>>>> Stephen Fuld <sf...@alumni.cmu.edu.invalid> writes:
>>>>>
>>>>>> On 12/20/2021 10:21 AM, James Van Buskirk wrote:
>>>>>>
>>>>>>> "Stephen Fuld" wrote in message news:spqc1d$oio$1...@dont-email.me...
>>>>>>>
>>>>>>>> A compiler I used to use (it was for Fortran, but this
>>>>>>>> functionality is not Fortran specific) had a pseudo function named
>>>>>>>> "Bits". It looked like a function that accepted three arguments,
>>>>>>>> a variable name and a starting bit number and number of bits, both
>>>>>>>> of which could be a constant or an integer variable. One of its
>>>>>>>> unique properties is that it could also be used on the left hand
>>>>>>>> side of an assignment statement.
>>>>>>>>
>>>>>>>> This feature led to very clear, concise code, that the compiler
>>>>>>>> didn't have to go through a complex algorithms to recognize, and
>>>>>>>> would generate optimal, inline code. There was sort of a pragma
>>>>>>>> that could optionally generate checking code for out of range
>>>>>>>> combinations of length and starting bit number.
>>>>>>>>
>>>>>>>> So, for example, the source code to move two bits starting at bit
>>>>>>>> 3 of variable B to starting at bit 4 of variable A would be
>>>>>>>>
>>>>>>>> Bits (A, 2, 4) = Bits (B, 2, 3)
>>>>>>>>
>>>>>>>> I always liked this feature, and used it a fair amount.
>>>>>>>
>>>>>>> Compare
>>>>>>> https://gcc.gnu.org/onlinedocs/gfortran/IBITS.html#IBITS
>>>>>>> https://gcc.gnu.org/onlinedocs/gfortran/MVBITS.html#MVBITS
>>>>>>> which are both elemental.
>>>>>>
>>>>>> They seem essentially equivalent. It says that these came in with
>>>>>> Fortran 90. The compiler I was referring to had its roots in a
>>>>>> predecessor with a different name that dated back to at least the
>>>>>> early 1970s. I am glad the idea became standardized.
>>>>>>
>>>>>> I guess I should ask the question that given that C is probably used
>>>>>> for bit manipulation stuff at least as much as Fortran, how come the
>>>>>> C standard didn't pick up some equivalent?
>>>>>
>>>>> Not necessarily an answer but an observation: in C no new language
>>>>> feature is needed, because C has the C preprocessor. It isn't hard
>>>>> to write a macro that does the necessary shifting and masking (and
>>>>> these days compilers are mostly smart enough to recognize the common
>>>>> patterns and translate them efficiently and in machine-specific
>>>>> ways).
>>>>
>>>> While you are right, of course, about the preprocessor, I guess it
>>>> comes down to me having a different philosophy of language design,
>>>> than what Mitch expressed in his (sarcastic) comment.
>>>
>>> Sorry, I thought the question was why it hasn't been done, not
>>> why it should or shouldn't be done.
>>>
>>>>> Having a straightforward way to succinctly express the requirement
>>>>> is <ahem> Not 'C'.
>>>
>>> You are attributing to me something I didn't say. Please don't
>>> do that.
>> Sorry, I thought that it was clear that I was quoting Mitch, not you.
>>>> The problem with the preprocessor approach is that everyone will
>>>> code their own macro, possibly with different syntax, so I have to
>>>> learn what you did, then if I move to a different project, what they
>>>> did etc. That is the beauty of a standard. (Unless you are talking
>>>> about having the preprocessor macro standardized.)
>>>>
>>>> Compare with, for example, integer division. It is part of the
>>>> standard, even though fairly rarely used. If bit field extraction
>>>> and insertion are reasonably well used (and I am guessing they are -
>>>> at least as much as they are used in Fortran, though probably less
>>>> than division), then I feel they should be standardized to ease the
>>>> programmer's job.
>>>
>>> Manipulating bit fields can easily be synthesized using other
>>> existing operators. Division does not have that property.
>> I agree that division was a poorly chosen example. But synthesizing bit
>> fields can get fairly complex (variables for starting bit number and
>> length, potentially on both the source and the target, with checking to
>> insure the combinations of length and starting bit number are files are
>> legal). While you certainly can synthesize this, I would question
>> whether it is "easy", and, perhaps more importantly, easy for someone
>> else to comprehend and for you to debug, especially years later. Of
>> course, YMMV.
>>> 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.
>
> I did and do spend significant portion of my time as sw developer in at least part of the above mentioned areas.
> And my experience is that it's not a case.
> I mean, both extraction from bit field to scalar and insertion of scalar into bit field are indeed not very rare.
> But copying of one bit field into another is extremely rare.

I agree:

I have actually done this myself, but then always in the context of
variable bit extracts, merged into a target buffer reg. Yes, having
variable length bit extract and insert would have saved one or two
instructions from each half of this, but it had never been really
performance critical.

Terje

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

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

<sqgb0t$j90$1@dont-email.me>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Tue, 28 Dec 2021 16:44:11 -0800
Organization: A noiseless patient Spider
Lines: 70
Message-ID: <sqgb0t$j90$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> <sqd1hs$l2h$2@newsreader4.netcologne.de>
<jwv1r1xbtb9.fsf-monnier+comp.arch@gnu.org>
<sqddru$urp$1@newsreader4.netcologne.de> <sqdh4u$2ho$1@dont-email.me>
<sqehor$l9k$1@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 29 Dec 2021 00:44:13 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="f7af8debf30721064174210413ab4961";
logging-data="19744"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Ad9oMExIE3Ag+YPeWqj0a"
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:BrgVtdBrDPw057lt9UGHXdxkjZ0=
In-Reply-To: <sqehor$l9k$1@newsreader4.netcologne.de>
 by: Bakul Shah - Wed, 29 Dec 2021 00:44 UTC

On 12/28/21 12:27 AM, Thomas Koenig wrote:
> Bakul Shah <bakul@iitbombay.org> schrieb:
>> On 12/27/21 2:14 PM, Thomas Koenig wrote:
>>> Stefan Monnier <monnier@iro.umontreal.ca> schrieb:
>>>>> Would you ban file I/O because there are lots of useful programs
>>>>> which only use standard input and standart output?
>>>>
>>>> Maybe the argument goes that file I/O should not be part of the
>>>> language, but part of the library ;-)
>>>
>>> That is not really the case for C anymore. The library is very
>>> much part of the language now, as you will discover if you try to
>>> use reserved names for anything else.
>>>
>>> Example:
>>>
>>> #include <stdio.h>
>>>
>>> double cos(double x)
>>> {
>>> return 3*x;
>>> }
>>>
>>> int main()
>>> {
>>> double a = -0.1;
>>> printf ("%f\n", 1+cos(-a));
>>> }
>>>
>>> What will this print, both with gcc and with clang?
>>>
>>
>> This works fine with clang & gcc. cos is not a reserved word.
>
> Sorry, wrong example. Here is one that does something unexpected,
> at least to me:
>
> #include <stdio.h>
>
> double
> FUNC (double x)
> {
> return x / 2 + x * x;
> }
>
> double
> foo (double x)
> {
> return 1 - FUNC (-x);
> }
>
> int
> main ()
> {
> printf ("%f\n", foo (1.2));
> }
> $ gcc b.c && ./a.out
> 0.160000
> $ gcc -DFUNC=sin b.c && ./a.out
> 3.040000
>
> This is actually correct according to the C standard, because
> sin is a reserved word if it has external linkage, even if
> math.h is not included.
>
> From this, I think it is safe to say that the C library is no
> longer separate from the language.

clang produces the 0.160000 for both cases. I tried reading
section 7.1.3 of n2731.pdf but I failed to grasp it.

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

<jvunsghcbu6i5r5g8osco6p61c75udj1hc@4ax.com>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Wed, 29 Dec 2021 02:34:51 -0500
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <jvunsghcbu6i5r5g8osco6p61c75udj1hc@4ax.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> <sqdek6$urp$3@newsreader4.netcologne.de>
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="14215"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188ajgy0vtsmFRKBGT0UGCxJlj/Bw5FkzE="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:vdhE8S0U3WDyTclQTny8og4GLiM=
 by: George Neuner - Wed, 29 Dec 2021 07:34 UTC

On Mon, 27 Dec 2021 22:27:18 -0000 (UTC), Thomas Koenig
<tkoenig@netcologne.de> wrote:

>Guillaume <message@bottle.org> schrieb:
>
>> 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.
>
>I've played for a while with Modula-2, but never used Oberon.
>
>The I/O was a pain: Having to call a separate function for each
>item was simply to tiresome to type.

Just about as annoying as C++ stream I/O <grin>.

Note: Modula 2 called everything "procedure", but most people here
(including me!) think in "function" ala C, so I will call things
functions.

What you have to recognize was that - excepting RawIO - all the I/O
functions worked with portable TEXT format.

This meant that you could take your data file to any machine and the
Modula 2 programs there would do ... almost said "the right thing" ...
something sensible with the file data.

But it also meant, e.g., that if the input was "-10" then
ReadCard(inal) would be an error, but ReadInt(eger) would be OK. Hence
different functions for different types.

RawIO was very much like using C: just Read or Write some buffer.
Modula 2 allowed any object to be passed as a (pointer to a)
SYSTEM.LOC [effectively 'byte'] array - which would give the function
access to the object's raw bits. Arrays were zero-based, but they
were pseudo-objects that could be queried for their length, so Read
and Write could never overrun the buffer due to a programmer error
passing the wrong size.

Although not standard, at least some implementations did provide the
moral equivalent of 'vararg', so with some effort it was possible to
cobble up something like printf and scanf for normal I/O and just use
them instead.

What I disliked most about Modula 2 was case sensitivity. I never
used Oberon, but I thought Modula 3 was much nicer than Modula 2.

YMMV,
George

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

<tj5osg9cergm2cf2jiisn8l8k7h71rim03@4ax.com>

  copy mid

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

  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: Macros, threat or menace, was Dense machine code from C++ code (compiler optimizations)
Date: Wed, 29 Dec 2021 03:10:22 -0500
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <tj5osg9cergm2cf2jiisn8l8k7h71rim03@4ax.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> <b23bb66b-d466-4b2d-be44-ffb2c6dfceeen@googlegroups.com> <sq5m82$ich$1@dont-email.me> <8735mh85p8.fsf@eder.anydns.info> <sq6p1d$8ch$1@dont-email.me> <87r1a07qft.fsf@eder.anydns.info> <sq88pt$kpo$1@dont-email.me>
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="23745"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188vHwYI+tS9GQ6s4CInV41oH0+JzSv4HQ="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:I2Y186rYu28H+OmyePOmPWCbDtI=
 by: George Neuner - Wed, 29 Dec 2021 08:10 UTC

On Sat, 25 Dec 2021 15:17:17 -0800, Bakul Shah <bakul@iitbombay.org>
wrote:

>Can any of the RnRS Schemes do reader macros?

None of the RnRS documents address reader macros ... but they don't
address many other real world concerns either.

A number of Scheme implementations do in fact offer reader macros.
'Racket', in particular, allows complete front-ending of the read
process so you can provide for any input syntax you desire.

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

<sqh8t1$f9u$1@newsreader4.netcologne.de>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Wed, 29 Dec 2021 09:14:09 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sqh8t1$f9u$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> <sqd1hs$l2h$2@newsreader4.netcologne.de>
<jwv1r1xbtb9.fsf-monnier+comp.arch@gnu.org>
<sqddru$urp$1@newsreader4.netcologne.de> <sqdh4u$2ho$1@dont-email.me>
<sqehor$l9k$1@newsreader4.netcologne.de> <sqgb0t$j90$1@dont-email.me>
Injection-Date: Wed, 29 Dec 2021 09:14:09 -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="15678"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Wed, 29 Dec 2021 09:14 UTC

Bakul Shah <bakul@iitbombay.org> schrieb:
> On 12/28/21 12:27 AM, Thomas Koenig wrote:

>> #include <stdio.h>
>>
>> double
>> FUNC (double x)
>> {
>> return x / 2 + x * x;
>> }
>>
>> double
>> foo (double x)
>> {
>> return 1 - FUNC (-x);
>> }
>>
>> int
>> main ()
>> {
>> printf ("%f\n", foo (1.2));
>> }
>> $ gcc b.c && ./a.out
>> 0.160000
>> $ gcc -DFUNC=sin b.c && ./a.out
>> 3.040000
>>
>> This is actually correct according to the C standard, because
>> sin is a reserved word if it has external linkage, even if
>> math.h is not included.
>>
>> From this, I think it is safe to say that the C library is no
>> longer separate from the language.
>
> clang produces the 0.160000 for both cases. I tried reading
> section 7.1.3 of n2731.pdf but I failed to grasp it.

The central sentence at least in n2176 is

# All identifiers with external linkage in any of the following
# subclauses (including the future library directions) and errno
# are always reserved for use as identifiers with external linkage.

and

# If the program declares or defines an identifier in a context in
# which it is reserved (other than as allowed by 7.1.4), or defines
# a reserved identifier as a macro name, the behavior is undefined.

The program above with -DFUNC=sin uses a reserved identifier,
resulting in undefined behavior.

In practice, gcc sees -sin(-x) and simplifies it to sin(x),
without a warning (which is a QoI issue).

Therefore, my argument that the C library is not separate from
the language itself, but has crept into the language proper in
via 7.1.3.

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

<sqicb6$1nnv$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!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: Wed, 29 Dec 2021 20:18:59 +0100
Organization: Aioe.org NNTP Server
Message-ID: <sqicb6$1nnv$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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="57087"; 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 - Wed, 29 Dec 2021 19:18 UTC

Le 29/12/2021 à 08:34, George Neuner a écrit :
> What I disliked most about Modula 2 was case sensitivity.

All modern languages I know of are case sensitive. (Except, I think ADA,
which you might think is not modern, although the latest revision of the
std is 2012.)

So what do you mean exactly? Yes, contrary to Pascal, Modula-2 was made
case sensitive. Same for all later iterations, like Oberon. Modula-3 as
well.

What many people find annoying are not the case sensitivity in itself
(which almost all modern languages have), but the uppercase keywords in
a case-sensitive language. So maybe that's what you mean. If so, the
same in all versions of Oberon and also in Modula-3.

> I never used Oberon, but I thought Modula 3 was much nicer than Modula 2.

Modula-2 in its latest revision was really not bad at all already. As
with most Wirthian languages, problem is, there were never many
compilers available. So the tooling was missing. (Exception with Pascal,
for which, even Wirth, when asked, has no clear explanation of why it
became successful while other languages did not...)

Modula-3 is really interesting. It's a wirthian language, but amended
for "industry" use by a committee of very competent people. You can find
the language report - I strongly suggest taking a look! The tooling was
also dearly missing at the time, but CM3 is knowing some kind of
revival: https://github.com/modula3/cm3

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

<j33s33Ft6biU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: niklas.h...@tidorum.invalid (Niklas Holsti)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Wed, 29 Dec 2021 21:43:31 +0200
Organization: Tidorum Ltd
Lines: 23
Message-ID: <j33s33Ft6biU1@mid.individual.net>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net ksQyPZExSleo21quU9q0gwI9YPd8BLYgAGDv+CJCdlHHrXN/S/
Cancel-Lock: sha1:lBNeqpsBvO1qKXOqi6fWChXOMeI=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0)
Gecko/20100101 Thunderbird/78.14.0
In-Reply-To: <sqicb6$1nnv$1@gioia.aioe.org>
Content-Language: en-US
 by: Niklas Holsti - Wed, 29 Dec 2021 19:43 UTC

On 2021-12-29 21:18, Guillaume wrote:
> Le 29/12/2021 à 08:34, George Neuner a écrit :
>> What I disliked most about Modula 2 was case sensitivity.
>
> All modern languages I know of are case sensitive. (Except, I think ADA,
> which you might think is not modern, although the latest revision of the
> std is 2012.)

It is spelled "Ada", although you may think it silly for us Ada-fans to
insist on casing, as the language itself indeed is case-insensitive. It
is named after Ada Byron, so is not an acronym.

Next revision coming in 2022, as soon as the new standard is approved by
ISO higher levels.

> Modula-3 is really interesting. It's a wirthian language, but amended
> for "industry" use by a committee of very competent people.

Much the same can be said of Ada, but I'm not sure if Wirth approves of
the language -- a quick web search did not find any opinion.

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

<83efb7b8-75db-4c35-8c1c-efc7eb374cb4n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:6214:2307:: with SMTP id gc7mr5237415qvb.7.1640815143838;
Wed, 29 Dec 2021 13:59:03 -0800 (PST)
X-Received: by 2002:a05:6830:438f:: with SMTP id s15mr10347640otv.243.1640815143569;
Wed, 29 Dec 2021 13:59:03 -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 13:59:03 -0800 (PST)
In-Reply-To: <sqicb6$1nnv$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: <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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <83efb7b8-75db-4c35-8c1c-efc7eb374cb4n@googlegroups.com>
Subject: Re: Dense machine code from C++ code (compiler optimizations)
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Wed, 29 Dec 2021 21:59:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 48
 by: MitchAlsup - Wed, 29 Dec 2021 21:59 UTC

On Wednesday, December 29, 2021 at 1:19:04 PM UTC-6, Guillaume wrote:
> Le 29/12/2021 à 08:34, George Neuner a écrit :
> > What I disliked most about Modula 2 was case sensitivity.
> All modern languages I know of are case sensitive. (Except, I think ADA,
> which you might think is not modern, although the latest revision of the
> std is 2012.)
>
> So what do you mean exactly? Yes, contrary to Pascal, Modula-2 was made
> case sensitive. Same for all later iterations, like Oberon. Modula-3 as
> well.
>
> What many people find annoying are not the case sensitivity in itself
> (which almost all modern languages have), but the uppercase keywords in
> a case-sensitive language.
<
a) this sounds like a couple of tweeks to an editor would fix the problem.
<
b) in C, we often have variable (a variable of local scope), b) VARIABLE (a macro
having to do with things of type variable, and c) Variable (a type used to create
instances of variable). So, we are quite use to name overloading. However, only
the Obfuscated_C-programmer uses spellings such as vARIABLE, VaRiAbLe,...
<
> So maybe that's what you mean. If so, the
> same in all versions of Oberon and also in Modula-3.
> > I never used Oberon, but I thought Modula 3 was much nicer than Modula 2.
> Modula-2 in its latest revision was really not bad at all already. As
> with most Wirthian languages, problem is, there were never many
> compilers available. So the tooling was missing. (Exception with Pascal,
> for which, even Wirth, when asked, has no clear explanation of why it
> became successful while other languages did not...)
>
> Modula-3 is really interesting. It's a wirthian language, but amended
> for "industry" use by a committee of very competent people. You can find
> the language report - I strongly suggest taking a look! The tooling was
> also dearly missing at the time, but CM3 is knowing some kind of
> revival: https://github.com/modula3/cm3

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

<sqj36o$d9u$1@dont-email.me>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Wed, 29 Dec 2021 17:49:12 -0800
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <sqj36o$d9u$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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 30 Dec 2021 01:49:13 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b6c53295862427d945fb15ac369e8338";
logging-data="13630"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KB8jF2EkHZwnROyvfEuCJ"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:c2oXUtPDgX4MyGvL7yUOZfZqYfs=
In-Reply-To: <83efb7b8-75db-4c35-8c1c-efc7eb374cb4n@googlegroups.com>
Content-Language: en-US
 by: Ivan Godard - Thu, 30 Dec 2021 01:49 UTC

On 12/29/2021 1:59 PM, MitchAlsup wrote:
> On Wednesday, December 29, 2021 at 1:19:04 PM UTC-6, Guillaume wrote:
>> Le 29/12/2021 à 08:34, George Neuner a écrit :
>>> What I disliked most about Modula 2 was case sensitivity.
>> All modern languages I know of are case sensitive. (Except, I think ADA,
>> which you might think is not modern, although the latest revision of the
>> std is 2012.)
>>
>> So what do you mean exactly? Yes, contrary to Pascal, Modula-2 was made
>> case sensitive. Same for all later iterations, like Oberon. Modula-3 as
>> well.
>>
>> What many people find annoying are not the case sensitivity in itself
>> (which almost all modern languages have), but the uppercase keywords in
>> a case-sensitive language.
> <
> a) this sounds like a couple of tweeks to an editor would fix the problem.
> <
> b) in C, we often have variable (a variable of local scope), b) VARIABLE (a macro
> having to do with things of type variable, and c) Variable (a type used to create
> instances of variable). So, we are quite use to name overloading. However, only
> the Obfuscated_C-programmer uses spellings such as vARIABLE, VaRiAbLe,...

YouDontUseCamelForm?

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

<db3eb123-b33f-45df-96df-48e7e15bca8fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:a05:620a:a05:: with SMTP id i5mr20727661qka.274.1640834739130;
Wed, 29 Dec 2021 19:25:39 -0800 (PST)
X-Received: by 2002:a9d:618f:: with SMTP id g15mr21234601otk.129.1640834738876;
Wed, 29 Dec 2021 19:25:38 -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 19:25:38 -0800 (PST)
In-Reply-To: <sqj36o$d9u$1@dont-email.me>
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: <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>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <db3eb123-b33f-45df-96df-48e7e15bca8fn@googlegroups.com>
Subject: Re: Dense machine code from C++ code (compiler optimizations)
From: MitchAl...@aol.com (MitchAlsup)
Injection-Date: Thu, 30 Dec 2021 03:25:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 48
 by: MitchAlsup - Thu, 30 Dec 2021 03:25 UTC

On Wednesday, December 29, 2021 at 7:49:16 PM UTC-6, Ivan Godard wrote:
> On 12/29/2021 1:59 PM, MitchAlsup wrote:
> > On Wednesday, December 29, 2021 at 1:19:04 PM UTC-6, Guillaume wrote:
> >> Le 29/12/2021 à 08:34, George Neuner a écrit :
> >>> What I disliked most about Modula 2 was case sensitivity.
> >> All modern languages I know of are case sensitive. (Except, I think ADA,
> >> which you might think is not modern, although the latest revision of the
> >> std is 2012.)
> >>
> >> So what do you mean exactly? Yes, contrary to Pascal, Modula-2 was made
> >> case sensitive. Same for all later iterations, like Oberon. Modula-3 as
> >> well.
> >>
> >> What many people find annoying are not the case sensitivity in itself
> >> (which almost all modern languages have), but the uppercase keywords in
> >> a case-sensitive language.
> > <
> > a) this sounds like a couple of tweeks to an editor would fix the problem.
> > <
> > b) in C, we often have variable (a variable of local scope), b) VARIABLE (a macro
> > having to do with things of type variable, and c) Variable (a type used to create
> > instances of variable). So, we are quite use to name overloading. However, only
> > the Obfuscated_C-programmer uses spellings such as vARIABLE, VaRiAbLe,....
<
> YouDontUseCamelForm?
<
When I run out of other ways of expressing something, yes.
<
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........

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

<sqjnk0$62u$1@newsreader4.netcologne.de>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 30 Dec 2021 07:37:36 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sqjnk0$62u$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>
<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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 30 Dec 2021 07:37:36 -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="6238"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Thu, 30 Dec 2021 07:37 UTC

Ivan Godard <ivan@millcomputing.com> schrieb:
> On 12/29/2021 1:59 PM, MitchAlsup wrote:
>> On Wednesday, December 29, 2021 at 1:19:04 PM UTC-6, Guillaume wrote:
>>> Le 29/12/2021 à 08:34, George Neuner a écrit :
>>>> What I disliked most about Modula 2 was case sensitivity.
>>> All modern languages I know of are case sensitive. (Except, I think ADA,
>>> which you might think is not modern, although the latest revision of the
>>> std is 2012.)
>>>
>>> So what do you mean exactly? Yes, contrary to Pascal, Modula-2 was made
>>> case sensitive. Same for all later iterations, like Oberon. Modula-3 as
>>> well.
>>>
>>> What many people find annoying are not the case sensitivity in itself
>>> (which almost all modern languages have), but the uppercase keywords in
>>> a case-sensitive language.
>> <
>> a) this sounds like a couple of tweeks to an editor would fix the problem.
>> <
>> b) in C, we often have variable (a variable of local scope), b) VARIABLE (a macro
>> having to do with things of type variable, and c) Variable (a type used to create
>> instances of variable). So, we are quite use to name overloading. However, only
>> the Obfuscated_C-programmer uses spellings such as vARIABLE, VaRiAbLe,...
>
> YouDontUseCamelForm?

I belive it's called OBNoxiousCapitalization.

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

<2021Dec30.095014@mips.complang.tuwien.ac.at>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 30 Dec 2021 08:50:14 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 12
Message-ID: <2021Dec30.095014@mips.complang.tuwien.ac.at>
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> <j33s33Ft6biU1@mid.individual.net>
Injection-Info: reader02.eternal-september.org; posting-host="99224547c5e63b6fde292f526e21936f";
logging-data="11671"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+zidCTv8MArwVi5yivO2Md"
Cancel-Lock: sha1:j7rZr86ZpF/ouFSegqHSmFBSk8E=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Thu, 30 Dec 2021 08:50 UTC

Niklas Holsti <niklas.holsti@tidorum.invalid> writes:
>Much the same can be said of Ada, but I'm not sure if Wirth approves of
>the language -- a quick web search did not find any opinion.

I dimly remember that he rejected Ada, in particular because of
exceptions, with words like "They don't know how to program". I don't
find this through web searches, though.

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

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

<sqk2ai$qtc$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: spamj...@blueyonder.co.uk (Tom Gardner)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 30 Dec 2021 10:40:18 +0000
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <sqk2ai$qtc$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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 30 Dec 2021 10:40:19 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="bcc94f4271a75e3feb9485c48b5621cf";
logging-data="27564"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18u+cm9CIZuiFoDpRc49qqY"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0 SeaMonkey/2.49.4
Cancel-Lock: sha1:FSE75Gm5hwADeCp3NtnF4K/upGA=
In-Reply-To: <db3eb123-b33f-45df-96df-48e7e15bca8fn@googlegroups.com>
 by: Tom Gardner - Thu, 30 Dec 2021 10:40 UTC

On 30/12/21 03:25, MitchAlsup wrote:
> On Wednesday, December 29, 2021 at 7:49:16 PM UTC-6, Ivan Godard wrote:
>> On 12/29/2021 1:59 PM, MitchAlsup wrote:
>>> On Wednesday, December 29, 2021 at 1:19:04 PM UTC-6, Guillaume wrote:
>>>> Le 29/12/2021 à 08:34, George Neuner a écrit :
>>>>> What I disliked most about Modula 2 was case sensitivity.
>>>> All modern languages I know of are case sensitive. (Except, I think ADA,
>>>> which you might think is not modern, although the latest revision of the
>>>> std is 2012.)
>>>>
>>>> So what do you mean exactly? Yes, contrary to Pascal, Modula-2 was made
>>>> case sensitive. Same for all later iterations, like Oberon. Modula-3 as
>>>> well.
>>>>
>>>> What many people find annoying are not the case sensitivity in itself
>>>> (which almost all modern languages have), but the uppercase keywords in
>>>> a case-sensitive language.
>>> <
>>> a) this sounds like a couple of tweeks to an editor would fix the problem.
>>> <
>>> b) in C, we often have variable (a variable of local scope), b) VARIABLE (a macro
>>> having to do with things of type variable, and c) Variable (a type used to create
>>> instances of variable). So, we are quite use to name overloading. However, only
>>> the Obfuscated_C-programmer uses spellings such as vARIABLE, VaRiAbLe,...
> <
>> YouDontUseCamelForm?
> <
> When I run out of other ways of expressing something, yes.
> <
> 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.......

But not for the 8% of men and 0.1% of women that have some
form of colour blindness.

And then there's the strange optical illusions where the
apparent colour depends on the surrounding colour.

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

<sqk3rg$63c$1@dont-email.me>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 30 Dec 2021 12:06:23 +0100
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <sqk3rg$63c$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>
<sqk2ai$qtc$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 30 Dec 2021 11:06:24 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7376c53bf237326f94440bc522260d18";
logging-data="6252"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Ueu+hEntd5rQFqrdBzbGgtan3XsTPSvo="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:KCcTAD7PpFTcFULsxq0WaVOos7E=
In-Reply-To: <sqk2ai$qtc$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Thu, 30 Dec 2021 11:06 UTC

On 30/12/2021 11:40, Tom Gardner wrote:
> On 30/12/21 03:25, MitchAlsup wrote:
>> On Wednesday, December 29, 2021 at 7:49:16 PM UTC-6, Ivan Godard wrote:
>>> On 12/29/2021 1:59 PM, MitchAlsup wrote:
>>>> On Wednesday, December 29, 2021 at 1:19:04 PM UTC-6, Guillaume wrote:
>>>>> Le 29/12/2021 à 08:34, George Neuner a écrit :
>>>>>> What I disliked most about Modula 2 was case sensitivity.
>>>>> All modern languages I know of are case sensitive. (Except, I think
>>>>> ADA,
>>>>> which you might think is not modern, although the latest revision
>>>>> of the
>>>>> std is 2012.)
>>>>>
>>>>> So what do you mean exactly? Yes, contrary to Pascal, Modula-2 was
>>>>> made
>>>>> case sensitive. Same for all later iterations, like Oberon.
>>>>> Modula-3 as
>>>>> well.
>>>>>
>>>>> What many people find annoying are not the case sensitivity in itself
>>>>> (which almost all modern languages have), but the uppercase
>>>>> keywords in
>>>>> a case-sensitive language.
>>>> <
>>>> a) this sounds like a couple of tweeks to an editor would fix the
>>>> problem.
>>>> <
>>>> b) in C, we often have variable (a variable of local scope), b)
>>>> VARIABLE (a macro
>>>> having to do with things of type variable, and c) Variable (a type
>>>> used to create
>>>> instances of variable). So, we are quite use to name overloading.
>>>> However, only
>>>> the Obfuscated_C-programmer uses spellings such as vARIABLE,
>>>> VaRiAbLe,...
>> <
>>> YouDontUseCamelForm?
>> <
>> When I run out of other ways of expressing something, yes.
>> <
>> 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.......
>
> But not for the 8% of men and 0.1% of women that have some
> form of colour blindness.
>
> And then there's the strange optical illusions where the
> apparent colour depends on the surrounding colour.
>

colorForth, anyone?

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

<3beaea04-7ad4-435f-b7bf-268f178ad0c1n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.arch
X-Received: by 2002:ac8:7650:: with SMTP id i16mr25624478qtr.220.1640862779320;
Thu, 30 Dec 2021 03:12:59 -0800 (PST)
X-Received: by 2002:a05:6808:483:: with SMTP id z3mr653466oid.1.1640862778975;
Thu, 30 Dec 2021 03:12:58 -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, 30 Dec 2021 03:12:58 -0800 (PST)
In-Reply-To: <sqk3rg$63c$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=93.41.98.118; posting-account=F3H0JAgAAADcYVukktnHx7hFG5stjWse
NNTP-Posting-Host: 93.41.98.118
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>
<sqk2ai$qtc$1@dont-email.me> <sqk3rg$63c$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3beaea04-7ad4-435f-b7bf-268f178ad0c1n@googlegroups.com>
Subject: Re: Dense machine code from C++ code (compiler optimizations)
From: jul...@diegidio.name (Julio Di Egidio)
Injection-Date: Thu, 30 Dec 2021 11:12:59 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 8
 by: Julio Di Egidio - Thu, 30 Dec 2021 11:12 UTC

On Thursday, 30 December 2021 at 12:06:27 UTC+1, David Brown wrote:

> colorForth, anyone?

David Brown is a fucking idiot and spammer: please ignore him.

*Spammer Alert*

Julio

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

<sqk5jl$e5d$1@newsreader4.netcologne.de>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 30 Dec 2021 11:36:21 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sqk5jl$e5d$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>
<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>
Injection-Date: Thu, 30 Dec 2021 11:36:21 -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="14509"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Thu, 30 Dec 2021 11:36 UTC

MitchAlsup <MitchAlsup@aol.com> schrieb:
> On Wednesday, December 29, 2021 at 7:49:16 PM UTC-6, Ivan Godard wrote:

>> YouDontUseCamelForm?
><
> When I run out of other ways of expressing something, yes.
><
> 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.)

Using anything but plain ASCII for a programming language has
its dangers - comments can become malicious statements all of
a sudden...

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

<jwvilv62lju.fsf-monnier+comp.arch@gnu.org>

  copy mid

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

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: monn...@iro.umontreal.ca (Stefan Monnier)
Newsgroups: comp.arch
Subject: Re: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 30 Dec 2021 09:52:03 -0500
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <jwvilv62lju.fsf-monnier+comp.arch@gnu.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>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="3a8c644cfa38980d5375c9b2127e17be";
logging-data="25460"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sAHp7gIvHwr11btEuFaLC"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Cancel-Lock: sha1:zjTUyCNyAy5ZujJbp4gDk1PDcHA=
sha1:MruGeQAYEF0yON0jcV8HhRt8R2s=
 by: Stefan Monnier - Thu, 30 Dec 2021 14:52 UTC

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?

Stefan

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

<sqknb0$rbm$1@newsreader4.netcologne.de>

  copy mid

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

  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: Dense machine code from C++ code (compiler optimizations)
Date: Thu, 30 Dec 2021 16:38:56 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <sqknb0$rbm$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>
<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>
Injection-Date: Thu, 30 Dec 2021 16:38:56 -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="28022"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Thu, 30 Dec 2021 16:38 UTC

Stefan Monnier <monnier@iro.umontreal.ca> schrieb:
> 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?

No, much worse.

I am referring to (TRIGGER WARNING) https://www.emojicode.org/ .


devel / comp.arch / Re: Dense machine code from C++ code (compiler optimizations)

Pages:12345678
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor