Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Klein bottle for rent -- inquire within.


devel / comp.lang.ada / Re: Carbon

SubjectAuthor
* CarbonGautier write-only address
+- Re: CarbonJohn McCabe
+* Re: CarbonDmitry A. Kazakov
|`- Re: CarbonStéphane Rivière
+* Re: CarbonJeffrey R.Carter
|`- Re: CarbonDmitry A. Kazakov
`* Re: CarbonLuke A. Guest
 `* Re: CarbonJohn McCabe
  +* Re: CarbonLuke A. Guest
  |`* Re: CarbonJohn McCabe
  | +* Re: CarbonLuke A. Guest
  | |`* Re: CarbonNasser M. Abbasi
  | | +- Re: CarbonDevin Rozsas
  | | +* Re: CarbonJohn McCabe
  | | |+* Re: CarbonGautier write-only address
  | | ||`- Re: CarbonJohn McCabe
  | | |`- Re: CarbonG.B.
  | | +* Re: CarbonGautier write-only address
  | | |+- Re: CarbonNasser M. Abbasi
  | | |`- Re: CarbonJohn McCabe
  | | +* Re: CarbonPaul Rubin
  | | |`- Re: CarbonNasser M. Abbasi
  | | `* Re: Carbondennis knorr
  | |  +- Re: CarbonA.J.
  | |  `* Re: CarbonG.B.
  | |   `* Re: Carbondennis knorr
  | |    `* Re: CarbonDmitry A. Kazakov
  | |     `* Re: CarbonRandy Brukardt
  | |      +- Re: CarbonPaul Rubin
  | |      +- Re: CarbonJohn McCabe
  | |      `* Re: CarbonJohn Perry
  | |       +* Re: CarbonPaul Rubin
  | |       |`* Re: CarbonJohn Perry
  | |       | `- Re: CarbonDennis Lee Bieber
  | |       `* Re: CarbonLuke A. Guest
  | |        +* Re: CarbonJohn Perry
  | |        |`- Re: CarbonRandy Brukardt
  | |        `- Re: CarbonJohn McCabe
  | +* Re: CarbonSimon Wright
  | |`- Re: CarbonJohn McCabe
  | `* Re: CarbonFabien Chouteau
  |  +* Re: CarbonJohn Perry
  |  |+* Re: CarbonOlivier Henley
  |  ||+* Re: CarbonPaul Rubin
  |  |||+* Re: CarbonOlivier Henley
  |  ||||`* Re: CarbonPaul Rubin
  |  |||| +* Re: CarbonOlivier Henley
  |  |||| |`- Re: CarbonPaul Rubin
  |  |||| `* Re: CarbonJohn McCabe
  |  ||||  `* Re: CarbonPaul Rubin
  |  ||||   `* Re: CarbonJohn McCabe
  |  ||||    +* Re: CarbonG.B.
  |  ||||    |`* Re: CarbonJ-P. Rosen
  |  ||||    | `* Re: CarbonG.B.
  |  ||||    |  `* Re: CarbonJ-P. Rosen
  |  ||||    |   `* Re: CarbonNiklas Holsti
  |  ||||    |    +- Re: CarbonJ-P. Rosen
  |  ||||    |    `- Re: CarbonRandy Brukardt
  |  ||||    `* Re: CarbonPaul Rubin
  |  ||||     `- Re: CarbonJohn McCabe
  |  |||`* Re: CarbonJohn McCabe
  |  ||| `* Re: CarbonG.B.
  |  |||  `- Re: CarbonPaul Rubin
  |  ||`* Re: CarbonJeffrey R.Carter
  |  || `* Re: CarbonRod Kay
  |  ||  `- Re: CarbonJohn Perry
  |  |`- Re: CarbonJohn McCabe
  |  `- Re: CarbonJohn McCabe
  +- Re: CarbonLuke A. Guest
  `- Re: CarbonPatrick Georgi

Pages:123
Re: Carbon

<tecpbq$92kb$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8638&group=comp.lang.ada#8638

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: john@nospam.mccabe.org.uk (John McCabe)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sat, 27 Aug 2022 09:49:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <tecpbq$92kb$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<tbs5l5$1vki$1@gioia.aioe.org> <tbv792$un8$1@gioia.aioe.org>
<tclt75$plh$1@gioia.aioe.org> <tcnver$gc9u$1@dont-email.me>
<tcrvpk$n7f$1@gioia.aioe.org> <tcs2mr$1o0u$1@gioia.aioe.org>
<tcsmrt$1951l$1@dont-email.me>
<3d316e96-406a-4e2b-86ae-5b4b675813c4n@googlegroups.com>
<tcvq3s$1b6l$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 27 Aug 2022 09:49:46 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="51148c538bcf12af810db417746da0d4";
logging-data="297611"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Qr0TB1vreWWSFAjJGJb9pweo/LJ3k2uk="
User-Agent: PhoNews/3.9.1 (Android/8.1.0)
Cancel-Lock: sha1:0TeWmUHuMCD3eWwCNQTXd/lBMng=
In-Reply-To: <tcvq3s$1b6l$1@gioia.aioe.org>
 by: John McCabe - Sat, 27 Aug 2022 09:49 UTC

On 10/08/2022 09:24, Luke A. Guest wrote:
>On 10/08/2022 02:19, John Perry wrote:
>> On Monday, August 8, 2022 at 11:12:48 PM UTC-5, Randy Brukardt wrote:
>>> "Dmitry A. Kazakov" wrote in message
>>> ...
>>>> P.S. Nobody writes Ada books these days because they do not sell.
>>> Do *any* programming books really sell? If so, why? :-)
>>
>> Having recently left a university, I can attest that schoolbooks are still a thing, and that includes textbooks on computer programming. I recently inherited from a member of this forum a nice textbook on Data Structures in Ada, but it was based on Ada 95, and I'm not sure it's in print anymore. In fact, and alas, only three of the Ada-based textbooks I find "easily" on Amazon date from the early- to mid-90s, and of the three recent ones I find, only the Barnes book is of good quality.
>>
>> I'd be delighted if someone would prove me wrong.
>
>The only Ada95 DS book I know of is the one I have by Mark Weiss.

There are at least 2 others; "Data Structures and Algorithms: An
Object-Oriented Approach Using Ada 95",by Jack Beidler, and "Software
Construction and Data Structures with Ada 95",by Michael Feldman, both of
which I own, and both decent books IMO, although based on a 27yr old
language :-)

--
Best Regards

Re: Carbon

<tecv34$9iml$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8640&group=comp.lang.ada#8640

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rodakay5@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sat, 27 Aug 2022 21:27:32 +1000
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <tecv34$9iml$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<tebkhm$3abi$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 27 Aug 2022 11:27:33 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="41a19628b7346a3b2101ee282dd071a6";
logging-data="314069"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kp1PFdaxESUZ8ryQJe0TFcChvbkYrDbI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Cancel-Lock: sha1:bYEvhdlLz+2lcsWTKUB5Kyp/WtA=
In-Reply-To: <tebkhm$3abi$1@dont-email.me>
Content-Language: en-US
 by: Rod Kay - Sat, 27 Aug 2022 11:27 UTC

On 27/8/22 09:21, Jeffrey R.Carter wrote:
> On 2022-08-26 20:59, Olivier Henley wrote:
>>
>> If there is no intentional wordplay between "Rust" and "Carbon", I
>> will be damned.
>
> Carbon's symbol is C, so I presumed that was where the name came from.
> Of course, that means Carbon and C are the same thing ...
>

So the next incarnation of Ada might be Adamantium ? ... :)

Re: Carbon

<f6b427cb-99c2-4f09-bc78-9f64e1bf2c52n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8641&group=comp.lang.ada#8641

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:27c7:b0:476:9872:947c with SMTP id ge7-20020a05621427c700b004769872947cmr3778014qvb.114.1661613607838;
Sat, 27 Aug 2022 08:20:07 -0700 (PDT)
X-Received: by 2002:a81:6cd7:0:b0:33d:cd0f:123a with SMTP id
h206-20020a816cd7000000b0033dcd0f123amr4132213ywc.422.1661613607614; Sat, 27
Aug 2022 08:20:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 27 Aug 2022 08:20:07 -0700 (PDT)
In-Reply-To: <tecv34$9iml$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=73.177.64.234; posting-account=mOeXzwoAAACt_yXMqECCp_EJfeVMNM-g
NNTP-Posting-Host: 73.177.64.234
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org> <f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com> <5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com> <tebkhm$3abi$1@dont-email.me>
<tecv34$9iml$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f6b427cb-99c2-4f09-bc78-9f64e1bf2c52n@googlegroups.com>
Subject: Re: Carbon
From: cantanima.perry@gmail.com (John Perry)
Injection-Date: Sat, 27 Aug 2022 15:20:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2367
 by: John Perry - Sat, 27 Aug 2022 15:20 UTC

On Saturday, August 27, 2022 at 6:27:35 AM UTC-5, roda... @gmail.com wrote:
> On 27/8/22 09:21, Jeffrey R.Carter wrote:
> > On 2022-08-26 20:59, Olivier Henley wrote:
> >>
> >> If there is no intentional wordplay between "Rust" and "Carbon", I
> >> will be damned.
> >
> > Carbon's symbol is C, so I presumed that was where the name came from.
> > Of course, that means Carbon and C are the same thing ...
> >
> So the next incarnation of Ada might be Adamantium ? ... :)

+1 Imagine the benefits to marketing and web search! :-D

Regarding the earlier question of why people don't use Ada, when I used to ask others why C++ and not Ada, the usual answer I heard was, "Isn't Ada dead?" People might have cited others as well, but they typically led with that one-- unless it was, "Never heard of it!"

Re: Carbon

<teea05$dmc1$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8642&group=comp.lang.ada#8642

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: john@nospam.mccabe.org.uk (John McCabe)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sat, 27 Aug 2022 23:39:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <teea05$dmc1$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 27 Aug 2022 23:39:49 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="48836f3a60beee04436a3d326b36eb6d";
logging-data="448897"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ODMQNcWJR6vaJWNwLh6wsDfh5TvT43mw="
User-Agent: PhoNews/3.9.1 (Android/8.1.0)
Cancel-Lock: sha1:UlfNSJShq5X7saAUvq8MDbIZ+qY=
In-Reply-To: <993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
 by: John McCabe - Sat, 27 Aug 2022 23:39 UTC

On 25/08/2022 10:14, Fabien Chouteau wrote:
>On Wednesday, July 27, 2022 at 7:24:58 PM UTC+2, John McCabe wrote:
>> The result is that someone who appears to have
>> very little software development experience misinterpreted the comments
>> about half-baked features and locked the thread.
>
>I think they did the right thing. And provided explanations:

The issue with this is that, as I mentioned, they misinterpreted what I'd
said. I specifically mentioned that new, half-baked, features were being
added to the language, which they are. I don't know if you've used
C++11/14/17/20 in anger Fabien, but anyone who doesn't think the partial,
but awkward to use, addition of coroutines in C++20, with the promise of
'improvements' in C++23 is anything but 'half-baked' is deluded. There are
numerous other, specific features I was able to itemise in a discussion
with another person involved in that thread.

In particular, the person who made that misinterpretation and comment, and
closed the thread, is someone who has been involved with C++ standards
development so 1) clearly did not have an objective view on the comments,
and 2) makes me believe the Carbon 'team' don't actually care about what's
'right' for the industry.

>I don't know if the people working on Carbon had a bad opinion about Ada before, but sure do now.

The people working on Carbon clearly don't give a sh1t about Ada; if they
did, they would not be proposing to 'supersede' C++ by creating a language
that includes many of the fault-ridden features of that language, a lot of
which had been solved in Ada before C++ was a twinkle in Stroustrop's eyes.

>In the end I think that you did a lot of damage to Ada, its reputation and its community...

That's your opinion, and you're entitled to it.

-

Re: Carbon

<teeaeb$dnlo$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8643&group=comp.lang.ada#8643

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: john@nospam.mccabe.org.uk (John McCabe)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sat, 27 Aug 2022 23:47:23 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <teeaeb$dnlo$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 27 Aug 2022 23:47:23 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="48836f3a60beee04436a3d326b36eb6d";
logging-data="450232"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/SbfMjAtIdZrDiFUaREFhjE3NJhKihbxM="
User-Agent: PhoNews/3.9.1 (Android/8.1.0)
Cancel-Lock: sha1:CDiWlpC81L6TJ9lbIg5jH3uOkeA=
In-Reply-To: <5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
 by: John McCabe - Sat, 27 Aug 2022 23:47 UTC

On 25/08/2022 18:55, John Perry wrote:
>On Thursday, August 25, 2022 at 4:14:02 AM UTC-5, Fabien Chouteau wrote:
>> On Wednesday, July 27, 2022 at 7:24:58 PM UTC+2, John McCabe wrote:
>> > The result is that someone who appears to have
>> > very little software development experience misinterpreted the comments
>> > about half-baked features and locked the thread.
>>
>> I think they did the right thing. And provided explanations:
>>
>> > There are obviously changes that we'd like to make to C++, but calling C++ "half-baked" is demeaning to those who have invested years of work into that project.
>>
>> >> TBH, this whole project just appears to be Google trying to detract from Rust
>> > This is disrespectful to everyone working on the Carbon Language project.
>>
>> I agree with both.
>
>I can agree with the statements you've quoted, and I can agree with their closing the thread (they didn't delete it!) but he also called them "aggressive" statements, and that's simply untrue. Assertive and strongly-worded? sure, but aggressive?

They claimed the use of:

- 'nonsense', in relation to features such as the confusion between "=" and
"==", where an assignment has a result that can be used as a condition etc,
and the multiple uses of "&&",
- 'half-baked', in relation to features that have been partially added in
earlier, and current revisions of the language, and have changed, or will
change, or have been deprecated in subsequent revisions, as well as
features that have been compromised in the standard because "clang
implements an existing way which makes it hard for them to change"

was aggressive. I disagree, of course.

Re: Carbon

<teec1j$ds1t$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8644&group=comp.lang.ada#8644

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: john@nospam.mccabe.org.uk (John McCabe)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sun, 28 Aug 2022 00:14:43 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 89
Message-ID: <teec1j$ds1t$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 28 Aug 2022 00:14:43 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="48836f3a60beee04436a3d326b36eb6d";
logging-data="454717"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6ttm9FvUzH0JkpWolUdj56TINf2pgS34="
User-Agent: PhoNews/3.9.1 (Android/8.1.0)
Cancel-Lock: sha1:8RmdcvkIdQZMeXPYkpf3iqgSrkU=
In-Reply-To: <877d2u21ps.fsf@nightsong.com>
 by: John McCabe - Sun, 28 Aug 2022 00:14 UTC

On 26/08/2022 21:23, Paul Rubin wrote:
>Olivier Henley <olivier.henley@gmail.com> writes:
>> This is not aggression. We need to stop relativizing definitions.
>
>I would call the first post somewhat aggressive, though not intensely
>so. It dinged on the C++ community ("I find it shocking...")

Did it ding on the C++ community any more than an announcement of Google
trying to design a language that will supersede C++?

> and
>suggested by apophasis ( https://en.wikipedia.org/wiki/Apophasis ) that
>the Carbon devs should abandon their project and using Ada instead
>("that might not be a bad idea").

That was never the intention; the point was to highlight the fact that there
is at least one, high-performance, safe, language in existence that
addresses a number of the annoyances and inadequacies of C++, and that
anyone trying to 'replace' C++ should consider how they can take advantage
of work that's already been done in that area.

>It also treated some debateable
>points as self-evident, such as that enumeration types should always
>support 'Image.

I don't think I said that. Java doesn't support 'Image, but they made it
easy for you to provide your own' equivalent'; my point was that C++'s enum
class could've gone further than it did (std::array, too), and provided
some additional support for commonly needed features that many people have
created complicated pre-processor macros to implement.

>It seems reasonable to me for the Carbon forum moderators to disallow
>and shut down language debates of any kind, even if they are not
>aggressive per se. We've all seen enough of those to know how they go.
>That particular language debate was especially off-topic since it was an
>Ada vs C++ comparison on a Carbon forum. Ada vs Carbon would have been
>better.

I disagree; the forum is supposed to be about the language design, as the
claimed aim is to use the community to help drive it. IMO, this is exactly
the place to discuss features of other languages that could be considered
useful in a 'new' language, unless the 'community' aspect is fake and the
'design' is mostly a done deal.

>The second post came across to me as even more aggressive ("Can you
>please specify..."). It was full of what is sometimes called
>"sea-lioning", a classic passive-aggressive debating technique:
>
> https://en.wikipedia.org/wiki/Sealioning

The second post, I presume you mean the response to mine, was _very_
aggressive.

>I didn't read the later posts that were flagged as off-topic, since you
>have to be logged in to view them.

One rational response arguing against the 'aggressive' claim, and a couple
of other defensive 'team' members getting the wrong end of the stick, from
what I remember.

>> Hordes of people wrote that (along those lines --> "Ada typing is
>> nonsense, crazy, mad, stupid, etc") and nobody in this community ever
>> canceled them by weaponizing, eg.: "it is demeaning to people working
>> on the ARG" ... therefore this is aggression.
>
>This is a general, open discussion forum, not the equivalent of an
>internal forum of the ARG itself. I could understand if an internal ARG
>forum locked threads calling Ada typing nonsense, crazy, mad, stupid, etc.

The Carbon Forum has nothing to do with C++; it's a forum aimed at getting a
'community' involved in the design and development of a new language that
was, essentially, claiming to be a replacement for C++.

>> If C++ is "fully baked" and still needs Carbon, I will be damned.
>
>I haven't looked into Carbon much, but C++ is hampered by having to
>support 40 years of legacy code.

That wasn't the point; the point is, as I mentioned, that _new_ features are
being added that are not fully designed/defined/implemented; look at, for
example, the excuse for the missing operator+() on std::filesystem::path.

>Carbon doesn't have to be backwards
>compatible at the language level, as long as it can interoperate.

Exactly, and its syntax does not have to continue to follow C++'s where
doing so means inheriting syntactic features (like "="/"==") that have been
error-prone for 50+ years!

Re: Carbon

<teecue$dupe$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8645&group=comp.lang.ada#8645

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: john@nospam.mccabe.org.uk (John McCabe)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sun, 28 Aug 2022 00:30:06 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <teecue$dupe$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com>
<8735di1y6a.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 28 Aug 2022 00:30:06 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="48836f3a60beee04436a3d326b36eb6d";
logging-data="457518"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Zo7GJzWhIuwCaL5GrX14J2rq4FsPE1Hk="
User-Agent: PhoNews/3.9.1 (Android/8.1.0)
Cancel-Lock: sha1:zDEpxAw4AzdP3cUZGsboJTpuAxM=
In-Reply-To: <8735di1y6a.fsf@nightsong.com>
 by: John McCabe - Sun, 28 Aug 2022 00:30 UTC

On 26/08/2022 22:40, Paul Rubin wrote:
>Olivier Henley <olivier.henley@gmail.com> writes:
>> I guess my real point was, the guy is willing to take the heat,
>> bluntly asking questions I definitely share.
>
>It was possible to make the exact same points more neutrally. Beyond
>that though, I didn't see evidence that the guy had looked at Carbon in
>any detail.

Who? Me? I had taken enough of a look to see that they appeared to be
retaining various aspects of C++ 'because that's what people are familiar
with', without accepting that some of those, at least, were flawed.

>The criticisms were purely of C++, so I would consider that
>a low-effort post.

Given the claims of Carbon being aimed at superseding C++, which is what I'd
read at the time, the points were "this flawed feature in C++ is addressed
in Ada by this...". I'm not really sure how you can aim to design a new
language without discussing or highlighting the flaws in other languages,
in this case, C++, as that was the target.

However I've now come to believe the aim of the Carbon team is to re-create
C++ but in a way that doesn't require new features and changes to go
through the standardisation hoops that C++ goes through, i.e. so they can
basically change it at will (makes me think of early Java, where
depreciation was very, very common).

>And the part about abandoning Carbon was dismissive
>toward the whole Carbon project. The Carbon github site is surely the
>wrong place for that.

I don't disagree that it was probably the wrong place to say that.

Re: Carbon

<87ler9ywye.fsf@nightsong.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8646&group=comp.lang.ada#8646

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sat, 27 Aug 2022 18:32:25 -0700
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <87ler9ywye.fsf@nightsong.com>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com>
<8735di1y6a.fsf@nightsong.com> <teecue$dupe$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="29dde52fbcac84634dec39f37e61d211";
logging-data="463904"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uMFQnZ0Afuy+gW+EGaXm9"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:YQOHDAwRFxOz9CBLS0WIS1Yf6WY=
sha1:nKCYzOkVN1U2RjKriGxU5yvozcs=
 by: Paul Rubin - Sun, 28 Aug 2022 01:32 UTC

John McCabe <john@nospam.mccabe.org.uk> writes:
> However I've now come to believe the aim of the Carbon team is to re-create
> C++ but in a way that doesn't require new features and changes to go
> through the standardisation hoops that C++ goes through, i.e. so they can
> basically change it at will (makes me think of early Java, where
> depreciation was very, very common).

Have they been changing Go at will? I don't have that impression.

I do think they want to shed a lot of assumptions that were valid or
sensible at the time C++ was first designed, and also to not have their
design choices constrained by C++ legacy support.

Go is sort of a recreation of C, with garbage collection and cooperative
multitasking baked into the language. It otherwise has a fairly similar
execution model and type system. It's not a C++ replacement both
because of its GC dependence and its weaker type system.

I haven't used Rust, but from what I can understand, its type system is
Haskell-inspired and more modern than either C++'s or Ada's. Compared
with C++, it gives its user better hope of code correctness through its
use of safe defaults like immutable values and unique pointer ownership.
You can override the defaults and get similar non-safety to C++, if you
need that for some reason.

What then is Carbon? I don't know, and I'm not convinced that you do
either.

Re: Carbon

<tefalc$j9vn$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8650&group=comp.lang.ada#8650

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: john@nospam.mccabe.org.uk (John McCabe)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sun, 28 Aug 2022 08:57:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <tefalc$j9vn$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com>
<8735di1y6a.fsf@nightsong.com> <teecue$dupe$1@dont-email.me>
<87ler9ywye.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 28 Aug 2022 08:57:16 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="48836f3a60beee04436a3d326b36eb6d";
logging-data="632823"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18CG9F7kVFT9QeiK0/7E1CrsEiUhqEWuE4="
User-Agent: PhoNews/3.9.1 (Android/8.1.0)
Cancel-Lock: sha1:OnWdaI3Tuem4zZxBoo5lE1UvmTY=
In-Reply-To: <87ler9ywye.fsf@nightsong.com>
 by: John McCabe - Sun, 28 Aug 2022 08:57 UTC

On 28/08/2022 02:32, Paul Rubin wrote:
>John McCabe <john@nospam.mccabe.org.uk> writes:
>> However I've now come to believe the aim of the Carbon team is to re-create
>> C++ but in a way that doesn't require new features and changes to go
>> through the standardisation hoops that C++ goes through, i.e. so they can
>> basically change it at will (makes me think of early Java, where
>> depreciation was very, very common).

>Have they been changing Go at will? I don't have that impression.

I have no clue, as I've never used Go, hence why I never mentioned it
anywhere.

>I do think they want to shed a lot of assumptions that were valid or
>sensible at the time C++ was first designed, and also to not have their
>design choices constrained by C++ legacy support.

Yet they're happy to adopt many of C++'s legacy syntactic/semantic issues,
e.g. assignment produces a result that can be implicitly converted to a
boolean and used in a conditional which, when considered at the same time
as the use of "=" for assignment, and "==" for comparison, has caused
numerous issues and head-scratching over the years.

>Go is sort of a recreation of C, with garbage collection and cooperative
>multitasking baked into the language. It otherwise has a fairly similar
>execution model and type system. It's not a C++ replacement both
>because of its GC dependence and its weaker type system.
>
>I haven't used Rust, but from what I can understand, its type system is
>Haskell-inspired and more modern than either C++'s or Ada's. Compared
>with C++, it gives its user better hope of code correctness through its
>use of safe defaults like immutable values and unique pointer ownership.
>You can override the defaults and get similar non-safety to C++, if you
>need that for some reason.
>
>What then is Carbon? I don't know, and I'm not convinced that you do
>either.

You are quite right; I have little clue what Carbon is, despite having read
the "What is Carbon?" FAQ at their github page.

Re: Carbon

<teg8va$m5ah$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8652&group=comp.lang.ada#8652

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bauhaus@notmyhomepage.invalid (G.B.)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sun, 28 Aug 2022 19:34:34 +0200
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <teg8va$m5ah$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com>
<8735di1y6a.fsf@nightsong.com> <teecue$dupe$1@dont-email.me>
<87ler9ywye.fsf@nightsong.com> <tefalc$j9vn$1@dont-email.me>
Reply-To: nonlegitur@notmyhomepage.de
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 28 Aug 2022 17:34:35 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="bbb361a20df01664d9838ddb9b7f44aa";
logging-data="726353"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wIB1XXo903B/GkVo4w4roEn9ig2ugDxQ="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.13.0
Cancel-Lock: sha1:MSh+AQPEhzmJ9v3+cjMQxh3BBKU=
In-Reply-To: <tefalc$j9vn$1@dont-email.me>
Content-Language: en-US
 by: G.B. - Sun, 28 Aug 2022 17:34 UTC

On 28.08.22 10:57, John McCabe wrote:

> Yet they're happy to adopt many of C++'s legacy syntactic/semantic issues,
> e.g. assignment produces a result that can be implicitly converted to a
> boolean and used in a conditional which, when considered at the same time
> as the use of "=" for assignment, and "==" for comparison, has caused
> numerous issues and head-scratching over the years.

Claims about "=" and "==" without substantial statistical and economical
evidence are just not going to cut it, I think. On the contrary, they
might reflect on the speaker and his favorite language. Also, what is the
general impact of "=" when comparing effects of other features that
supposedly have caused or prevented issues, like run-time bounds checking?

Has discussing these issues ever helped choosing languages, influencing
the choice in the direction that a programming engineer would?
If not, what is a good way of discussing language design?

I think there is a story by Hofstadter about the magic that symbols
can work on young people.

I submit the common length of "==" and "!=", and some languages' choice
of "=/=", perhaps all but APL lacking "≠". The latter also officially
uses "←" for assignment, not sequences of punctuation available through
iterated pressing of single buttons on the ASCII keyboard. ;-)

Also the convenience of being able to compare two objects for
being the same object, using "===" in some languages---out of the box!

procedure same_object (A : T; B in out T) is
begin
what_do_i_put_here; -- ?
end same_object;

Re: Carbon

<teg97q$m648$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8653&group=comp.lang.ada#8653

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bauhaus@notmyhomepage.invalid (G.B.)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sun, 28 Aug 2022 19:39:05 +0200
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <teg97q$m648$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com> <teec1j$ds1t$1@dont-email.me>
Reply-To: nonlegitur@notmyhomepage.de
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 28 Aug 2022 17:39:06 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="bbb361a20df01664d9838ddb9b7f44aa";
logging-data="727176"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XffyX7puOtWA06sh2nyRAURBxa4WbLJU="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.13.0
Cancel-Lock: sha1:rliTKUfJZJfruEsXWlTN0OZtK6U=
In-Reply-To: <teec1j$ds1t$1@dont-email.me>
Content-Language: en-US
 by: G.B. - Sun, 28 Aug 2022 17:39 UTC

On 28.08.22 02:14, John McCabe wrote:

> That wasn't the point; the point is, as I mentioned, that _new_ features are
> being added that are not fully designed/defined/implemented; look at, for
> example, the excuse for the missing operator+() on std::filesystem::path.

Stepanov reminds us that "+" is commutative...
Is operator/ lacking?

Re: Carbon

<878rn8z0oe.fsf@nightsong.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8654&group=comp.lang.ada#8654

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sun, 28 Aug 2022 11:24:17 -0700
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <878rn8z0oe.fsf@nightsong.com>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com> <teec1j$ds1t$1@dont-email.me>
<teg97q$m648$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="29dde52fbcac84634dec39f37e61d211";
logging-data="734567"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dFLulaCIcTQwSNQDpYnPw"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:+5YDQgmWO7kDcIpDQCMY6jP1ZXw=
sha1:gvVtfuzFDDPmsAgLS9tlJi0F1Vo=
 by: Paul Rubin - Sun, 28 Aug 2022 18:24 UTC

"G.B." <bauhaus@notmyhomepage.invalid> writes:
> Stepanov reminds us that "+" is commutative...

String concatenation is not commutative, and std::string implements
operator+ for it.

Re: Carbon

<874jxwyu7z.fsf@nightsong.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8655&group=comp.lang.ada#8655

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Sun, 28 Aug 2022 13:43:44 -0700
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <874jxwyu7z.fsf@nightsong.com>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com>
<8735di1y6a.fsf@nightsong.com> <teecue$dupe$1@dont-email.me>
<87ler9ywye.fsf@nightsong.com> <tefalc$j9vn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="29dde52fbcac84634dec39f37e61d211";
logging-data="779791"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/sJWIhiwk/XytL5yRKuzcu"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:/fedi5XcK/R8ARr75EN9Npg6GRc=
sha1:7JuFOjdJC0pQVC/SRqiV2VQgpQY=
 by: Paul Rubin - Sun, 28 Aug 2022 20:43 UTC

John McCabe <john@nospam.mccabe.org.uk> writes:
> as the use of "=" for assignment, and "==" for comparison, has caused
> numerous issues and head-scratching over the years.

If that is your only concrete objection to Carbon, you could have
written a diplomatic suggestion to use := instead of = as an assignment
operator, as Go does.

> You are quite right; I have little clue what Carbon is

That acknowledgment might help you understand why your thread got closed.

Unrelated: I made an error when I wrote about Go earlier. I wrote that
it has built-in cooperative multitasking. But the multitasking is
preemptive rather than cooperative.

Re: Carbon

<809aa26c-697d-423e-823d-4a24625603f6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8656&group=comp.lang.ada#8656

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a0c:8ecc:0:b0:473:2fa4:df7c with SMTP id y12-20020a0c8ecc000000b004732fa4df7cmr9528080qvb.55.1661763426934;
Mon, 29 Aug 2022 01:57:06 -0700 (PDT)
X-Received: by 2002:a25:8d84:0:b0:695:836a:fcaf with SMTP id
o4-20020a258d84000000b00695836afcafmr7579771ybl.633.1661763426653; Mon, 29
Aug 2022 01:57:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Mon, 29 Aug 2022 01:57:06 -0700 (PDT)
In-Reply-To: <874jxwyu7z.fsf@nightsong.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.229.20.55; posting-account=WsVe0AoAAABheGmBjlLgPWhgIw6kxcL6
NNTP-Posting-Host: 80.229.20.55
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org> <f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com> <5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com> <877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com> <8735di1y6a.fsf@nightsong.com>
<teecue$dupe$1@dont-email.me> <87ler9ywye.fsf@nightsong.com>
<tefalc$j9vn$1@dont-email.me> <874jxwyu7z.fsf@nightsong.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <809aa26c-697d-423e-823d-4a24625603f6n@googlegroups.com>
Subject: Re: Carbon
From: john@mccabe.org.uk (John McCabe)
Injection-Date: Mon, 29 Aug 2022 08:57:06 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 6
 by: John McCabe - Mon, 29 Aug 2022 08:57 UTC

On Sunday, 28 August 2022 at 21:43:47 UTC+1, Paul Rubin wrote:
> John McCabe <jo...@nospam.mccabe.org.uk> writes:
> > as the use of "=" for assignment, and "==" for comparison, has caused
> > numerous issues and head-scratching over the years.
> If that is your only concrete objection to Carbon,

FFS Paul, no you is not my only concrete objection to carbon, carbon is one, brief, easy to remember one that entered my head at the time.

Re: Carbon

<tepkfj$23i1l$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8661&group=comp.lang.ada#8661

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rosen@adalog.fr (J-P. Rosen)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Thu, 1 Sep 2022 08:46:33 +0200
Organization: Adalog
Lines: 19
Message-ID: <tepkfj$23i1l$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com>
<8735di1y6a.fsf@nightsong.com> <teecue$dupe$1@dont-email.me>
<87ler9ywye.fsf@nightsong.com> <tefalc$j9vn$1@dont-email.me>
<teg8va$m5ah$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 1 Sep 2022 06:46:11 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="0f34556f80e45325c00e2181209d6cf5";
logging-data="2213941"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/tB/P52yAjAwcrfGEnLi35"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.0
Cancel-Lock: sha1:CeiZdf8A3gglzpslKOcoh4/N0VI=
In-Reply-To: <teg8va$m5ah$1@dont-email.me>
Content-Language: fr
 by: J-P. Rosen - Thu, 1 Sep 2022 06:46 UTC

Le 28/08/2022 à 19:34, G.B. a écrit :
> Also the convenience of being able to compare two objects for
> being the same object, using "===" in some languages---out of the box!
>
> procedure same_object (A : T; B in out T) is
> begin
>   what_do_i_put_here; --  ?
A'Has_Same_Storage (B);
> end same_object;

Of course, this procedure should be a function...
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52
https://www.adalog.fr

Re: Carbon

<tet3b1$2hvdn$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8686&group=comp.lang.ada#8686

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bauhaus@notmyhomepage.invalid (G.B.)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Fri, 2 Sep 2022 16:18:08 +0200
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <tet3b1$2hvdn$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com>
<8735di1y6a.fsf@nightsong.com> <teecue$dupe$1@dont-email.me>
<87ler9ywye.fsf@nightsong.com> <tefalc$j9vn$1@dont-email.me>
<teg8va$m5ah$1@dont-email.me> <tepkfj$23i1l$1@dont-email.me>
Reply-To: nonlegitur@notmyhomepage.de
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 2 Sep 2022 14:18:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5639c12420f6fcdb7228ac9800e932ad";
logging-data="2686391"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19vmC7N5WW5M4Za3NjEckSKBDIdeVGN3HA="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.13.0
Cancel-Lock: sha1:GF01jdOCdOzWqNWkF+bskhLxNlM=
Content-Language: en-US
In-Reply-To: <tepkfj$23i1l$1@dont-email.me>
 by: G.B. - Fri, 2 Sep 2022 14:18 UTC

On 01.09.22 08:46, J-P. Rosen wrote:
> Le 28/08/2022 à 19:34, G.B. a écrit :
>> Also the convenience of being able to compare two objects for
>> being the same object, using "===" in some languages---out of the box!
>>
>> procedure same_object (A : T; B in out T) is
>> begin
>>    what_do_i_put_here; --  ?
>      A'Has_Same_Storage (B);
>> end same_object;
>
> Of course, this procedure should be a function...

Cool, new attributes.

Is the expectation that A and B occupy the same
bits if I pass the same X as an actual for both?

procedure Same is

type T is range 1 .. 10;

function Same_Objects (A : T; B : in out T) return Boolean is
begin
return A'Has_Same_Storage (B);
end Same_Objects;

X : T := 5 with volatile; -- Make GNAT make X an object

What : exception;
begin
if not X'Has_Same_Storage(X) then
raise What;
end if;
if not Same_Objects (X, X) then
raise Program_Error; -- does raise
end if;
end Same;

Re: Carbon

<tet5o2$2hhu0$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8688&group=comp.lang.ada#8688

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rosen@adalog.fr (J-P. Rosen)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Fri, 2 Sep 2022 16:59:36 +0200
Organization: Adalog
Lines: 29
Message-ID: <tet5o2$2hhu0$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com>
<8735di1y6a.fsf@nightsong.com> <teecue$dupe$1@dont-email.me>
<87ler9ywye.fsf@nightsong.com> <tefalc$j9vn$1@dont-email.me>
<teg8va$m5ah$1@dont-email.me> <tepkfj$23i1l$1@dont-email.me>
<tet3b1$2hvdn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 2 Sep 2022 14:59:14 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c5c07cd7500e79760c471e70f452c84b";
logging-data="2672576"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Klm8yfg7hi6Z9tT9ZrI5j"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.0
Cancel-Lock: sha1:wNHZSo3fDlID+BXZa3BYdz66HDw=
Content-Language: fr
In-Reply-To: <tet3b1$2hvdn$1@dont-email.me>
 by: J-P. Rosen - Fri, 2 Sep 2022 14:59 UTC

Le 02/09/2022 à 16:18, G.B. a écrit :
> On 01.09.22 08:46, J-P. Rosen wrote:
>> Le 28/08/2022 à 19:34, G.B. a écrit :
>>> Also the convenience of being able to compare two objects for
>>> being the same object, using "===" in some languages---out of the box!
>>>
>>> procedure same_object (A : T; B in out T) is
>>> begin
>>>    what_do_i_put_here; --  ?
>>       A'Has_Same_Storage (B);
>>> end same_object;
>>
>> Of course, this procedure should be a function...
>
> Cool, new attributes.
>
> Is the expectation that A and B occupy the same
> bits if I pass the same X as an actual for both?
Yes. There is also A'Overlaps_Storage (B) which is True if A and B have
at least one bit in common (notably, if B is part of A).

--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52
https://www.adalog.fr

Re: Carbon

<jneucmFn478U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8689&group=comp.lang.ada#8689

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: niklas.holsti@tidorum.invalid (Niklas Holsti)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Fri, 2 Sep 2022 20:55:34 +0300
Organization: Tidorum Ltd
Lines: 28
Message-ID: <jneucmFn478U1@mid.individual.net>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com>
<8735di1y6a.fsf@nightsong.com> <teecue$dupe$1@dont-email.me>
<87ler9ywye.fsf@nightsong.com> <tefalc$j9vn$1@dont-email.me>
<teg8va$m5ah$1@dont-email.me> <tepkfj$23i1l$1@dont-email.me>
<tet3b1$2hvdn$1@dont-email.me> <tet5o2$2hhu0$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Db8gBBuhSZ2ZvgGnmz3yFAt9E9bA4tpAyFc8QjOoReFnmojktf
Cancel-Lock: sha1:Vdl/CuG4K89VbuSf8HxcptYwEoA=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:102.0)
Gecko/20100101 Thunderbird/102.1.2
Content-Language: en-US
In-Reply-To: <tet5o2$2hhu0$1@dont-email.me>
 by: Niklas Holsti - Fri, 2 Sep 2022 17:55 UTC

On 2022-09-02 17:59, J-P. Rosen wrote:
> Le 02/09/2022 à 16:18, G.B. a écrit :
>> On 01.09.22 08:46, J-P. Rosen wrote:
>>> Le 28/08/2022 à 19:34, G.B. a écrit :
>>>> Also the convenience of being able to compare two objects for
>>>> being the same object, using "===" in some languages---out of the box!
>>>>
>>>> procedure same_object (A : T; B in out T) is
>>>> begin
>>>>    what_do_i_put_here; --  ?
>>>       A'Has_Same_Storage (B);
>>>> end same_object;
>>>
>>> Of course, this procedure should be a function...
>>
>> Cool, new attributes.
>>
>> Is the expectation that A and B occupy the same
>> bits if I pass the same X as an actual for both?
> Yes.

Surely only if their type (T, above) is passed by-reference?

G.B.'s post had a later example where T is "range 1 .. 10", which is a
by-copy type, so there A and B would be separate copies of X.

Re: Carbon

<tetiuu$2hhu1$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8690&group=comp.lang.ada#8690

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: rosen@adalog.fr (J-P. Rosen)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Fri, 2 Sep 2022 20:45:08 +0200
Organization: Adalog
Lines: 39
Message-ID: <tetiuu$2hhu1$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com>
<tbj438$1eab$1@gioia.aioe.org>
<f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com>
<tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me>
<993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com>
<5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com>
<a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com>
<877d2u21ps.fsf@nightsong.com>
<bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com>
<8735di1y6a.fsf@nightsong.com> <teecue$dupe$1@dont-email.me>
<87ler9ywye.fsf@nightsong.com> <tefalc$j9vn$1@dont-email.me>
<teg8va$m5ah$1@dont-email.me> <tepkfj$23i1l$1@dont-email.me>
<tet3b1$2hvdn$1@dont-email.me> <tet5o2$2hhu0$1@dont-email.me>
<jneucmFn478U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 2 Sep 2022 18:44:46 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c5c07cd7500e79760c471e70f452c84b";
logging-data="2672577"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KrmaDNhI/ObBi4472LySV"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.0
Cancel-Lock: sha1:YfRUgPR2r0/nWOgNQbI74PT6wFA=
In-Reply-To: <jneucmFn478U1@mid.individual.net>
Content-Language: fr
 by: J-P. Rosen - Fri, 2 Sep 2022 18:45 UTC

Le 02/09/2022 à 19:55, Niklas Holsti a écrit :
> On 2022-09-02 17:59, J-P. Rosen wrote:
>> Le 02/09/2022 à 16:18, G.B. a écrit :
>>> On 01.09.22 08:46, J-P. Rosen wrote:
>>>> Le 28/08/2022 à 19:34, G.B. a écrit :
>>>>> Also the convenience of being able to compare two objects for
>>>>> being the same object, using "===" in some languages---out of the box!
>>>>>
>>>>> procedure same_object (A : T; B in out T) is
>>>>> begin
>>>>>    what_do_i_put_here; --  ?
>>>>       A'Has_Same_Storage (B);
>>>>> end same_object;
>>>>
>>>> Of course, this procedure should be a function...
>>>
>>> Cool, new attributes.
>>>
>>> Is the expectation that A and B occupy the same
>>> bits if I pass the same X as an actual for both?
>> Yes.
>
>
> Surely only if their type (T, above) is passed by-reference?
>
> G.B.'s post had a later example where T is "range 1 .. 10", which is a
> by-copy type, so there A and B would be separate copies of X.
>
>
Sure, but in this case you are passing values, not objects, so "same
object" is irrelevant.
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52
https://www.adalog.fr

Re: Carbon

<teu6pr$2m3oc$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8695&group=comp.lang.ada#8695

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: randy@rrsoftware.com (Randy Brukardt)
Newsgroups: comp.lang.ada
Subject: Re: Carbon
Date: Fri, 2 Sep 2022 19:23:21 -0500
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <teu6pr$2m3oc$1@dont-email.me>
References: <f91d8f78-d92f-4200-a1bd-dce840bf0400n@googlegroups.com> <tbj438$1eab$1@gioia.aioe.org> <f88660da-350c-40df-ac70-a644e6f30661n@googlegroups.com> <tbqs0t$104n$1@gioia.aioe.org> <tbrsd7$2iq3d$1@dont-email.me> <993af397-b615-44e7-ae8d-ec706f9b6098n@googlegroups.com> <5f819cdd-e763-4a96-aed5-545d57edac23n@googlegroups.com> <a68c8311-6430-4956-9e82-eaed3a962114n@googlegroups.com> <877d2u21ps.fsf@nightsong.com> <bf592477-feba-418a-b1aa-17bbc81e7f76n@googlegroups.com> <8735di1y6a.fsf@nightsong.com> <teecue$dupe$1@dont-email.me> <87ler9ywye.fsf@nightsong.com> <tefalc$j9vn$1@dont-email.me> <teg8va$m5ah$1@dont-email.me> <tepkfj$23i1l$1@dont-email.me> <tet3b1$2hvdn$1@dont-email.me> <tet5o2$2hhu0$1@dont-email.me> <jneucmFn478U1@mid.individual.net>
Injection-Date: Sat, 3 Sep 2022 00:23:23 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="540bec0664a3fed56c5bc4112da1ca1f";
logging-data="2821900"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+EcRKnfnLtmOjSgCc+28S/S4cHuZr8q3U="
Cancel-Lock: sha1:EiHlLX+OI2GAlOVx98wB4nhqs0c=
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Response
X-MSMail-Priority: Normal
 by: Randy Brukardt - Sat, 3 Sep 2022 00:23 UTC

"Niklas Holsti" <niklas.holsti@tidorum.invalid> wrote in message
news:jneucmFn478U1@mid.individual.net...
> On 2022-09-02 17:59, J-P. Rosen wrote:
>> Le 02/09/2022 � 16:18, G.B. a �crit :
>>> On 01.09.22 08:46, J-P. Rosen wrote:
>>>> Le 28/08/2022 � 19:34, G.B. a �crit :
>>>>> Also the convenience of being able to compare two objects for
>>>>> being the same object, using "===" in some languages---out of the box!
>>>>>
>>>>> procedure same_object (A : T; B in out T) is
>>>>> begin
>>>>> what_do_i_put_here; -- ?
>>>> A'Has_Same_Storage (B);
>>>>> end same_object;
>>>>
>>>> Of course, this procedure should be a function...
>>>
>>> Cool, new attributes.

Not very new, these were added in Ada 2012. They were considered inportant
for some preconditions.

>>>
>>> Is the expectation that A and B occupy the same
>>> bits if I pass the same X as an actual for both?
>> Yes.
>
>
> Surely only if their type (T, above) is passed by-reference?
>
> G.B.'s post had a later example where T is "range 1 .. 10", which is a
> by-copy type, so there A and B would be separate copies of X.

Agreed. Parameters of a by-copy type are separate objects from the actual
objects. Parameters of a by-reference type (like tagged types) are the same
objects. Parameters of types which are not specified as either may or may
not be new objects. And of course, Has_Same_Storage only if true when an
object is not copied. So the technique shown only certainly works for
by-reference types. The compiler can copy other types when it wants, so it
isn't meaningful to compare objects (only values).

Randy.


devel / comp.lang.ada / Re: Carbon

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor