Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Virtual" means never knowing where your next byte is coming from.


devel / comp.lang.c / Re: you think rust may *DE*throne c?

SubjectAuthor
* you think rust may outthrone c?fir
`* Re: you think rust may outthrone c?Blue-Maned_Hawk
 +- Re: you think rust may outthrone c?jak
 +* Re: you think rust may outthrone c?fir
 |`- Re: you think rust may outthrone c?fir
 +* Re: you think rust may outthrone c?rek2 hispagatos
 |`* Re: you think rust may outthrone c?Kaz Kylheku
 | `* Re: you think rust may outthrone c?Kalevi Kolttonen
 |  +* Re: you think rust may outthrone c?Scott Lurndal
 |  |`* Re: you think rust may outthrone c?Kalevi Kolttonen
 |  | +- Re: you think rust may outthrone c?Kaz Kylheku
 |  | +* Re: you think rust may outthrone c?Bart
 |  | |`* Re: you think rust may outthrone c?Kalevi Kolttonen
 |  | | +* Re: you think rust may outthrone c?Bart
 |  | | |+* Re: you think rust may outthrone c?Kalevi Kolttonen
 |  | | ||`* Re: you think rust may outthrone c?Kaz Kylheku
 |  | | || `- Re: you think rust may outthrone c?Kalevi Kolttonen
 |  | | |`* Re: you think rust may outthrone c?David Brown
 |  | | | `* Re: you think rust may outthrone c?Kalevi Kolttonen
 |  | | |  +* Re: you think rust may outthrone c?David Brown
 |  | | |  |`* Re: you think rust may outthrone c?Kaz Kylheku
 |  | | |  | `- Re: you think rust may outthrone c?Kalevi Kolttonen
 |  | | |  `* Re: you think rust may outthrone c?Kaz Kylheku
 |  | | |   `* Re: you think rust may outthrone c?Kalevi Kolttonen
 |  | | |    `* Re: you think rust may outthrone c?David Brown
 |  | | |     +* Re: you think rust may outthrone c?Scott Lurndal
 |  | | |     |`- Re: you think rust may outthrone c?Keith Thompson
 |  | | |     `* Re: you think rust may outthrone c?Keith Thompson
 |  | | |      +- Re: you think rust may outthrone c?David Brown
 |  | | |      `* Re: you think rust may outthrone c?Malcolm McLean
 |  | | |       `* Re: you think rust may outthrone c?David Brown
 |  | | |        `* Re: you think rust may outthrone c?Malcolm McLean
 |  | | |         `* Re: you think rust may outthrone c?David Brown
 |  | | |          +- Re: you think rust may outthrone c?fir
 |  | | |          +* Re: you think rust may outthrone c?fir
 |  | | |          |`* Re: you think rust may outthrone c?fir
 |  | | |          | `- Re: you think rust may outthrone c?fir
 |  | | |          `* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |           `* Re: you think rust may outthrone c?Bart
 |  | | |            +* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |            |`* Re: you think rust may outthrone c?Malcolm McLean
 |  | | |            | +* Re: you think rust may outthrone c?David Brown
 |  | | |            | |+* Re: you think rust may outthrone c?Malcolm McLean
 |  | | |            | ||+* Re: you think rust may outthrone c?David Brown
 |  | | |            | |||+* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |            | ||||`* Re: you think rust may outthrone c?Tim Rentsch
 |  | | |            | |||| `- Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |            | |||`* Re: you think rust may outthrone c?Bart
 |  | | |            | ||| +- Re: you think rust may outthrone c?Malcolm McLean
 |  | | |            | ||| `- Re: you think rust may outthrone c?David Brown
 |  | | |            | ||`- Re: you think rust may outthrone c?Scott Lurndal
 |  | | |            | |`* Re: you think rust may outthrone c?Kaz Kylheku
 |  | | |            | | +- Re: you think rust may outthrone c?David Brown
 |  | | |            | | `* Re: you think rust may outthrone c?jak
 |  | | |            | |  `* Re: you think rust may outthrone c?Kaz Kylheku
 |  | | |            | |   +- Re: you think rust may outthrone c?jak
 |  | | |            | |   `- Re: you think rust may outthrone c?Tim Rentsch
 |  | | |            | `* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |            |  `* Re: you think rust may outthrone c?Malcolm McLean
 |  | | |            |   +- Re: you think rust may outthrone c?David Brown
 |  | | |            |   `- Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |            `* Re: you think rust may outthrone c?David Brown
 |  | | |             `* Re: you think rust may outthrone c?fir
 |  | | |              +* Re: you think rust may outthrone c?Chris M. Thomasson
 |  | | |              |`* Re: you think rust may outthrone c?David Brown
 |  | | |              | +* Re: you think rust may outthrone c?Chris M. Thomasson
 |  | | |              | |+* Re: you think rust may outthrone c?Chris M. Thomasson
 |  | | |              | ||+- Re: you think rust may outthrone c?Chris M. Thomasson
 |  | | |              | ||+* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |              | |||`- Re: you think rust may outthrone c?Chris M. Thomasson
 |  | | |              | ||`- Re: you think rust may outthrone c?fir
 |  | | |              | |`- Re: you think rust may outthrone c?Bart
 |  | | |              | `- Re: you think rust may outthrone c?Chris M. Thomasson
 |  | | |              `* Re: you think rust may outthrone c?fir
 |  | | |               `* Re: you think rust may outthrone c?Bart
 |  | | |                +* Re: you think rust may outthrone c?Keith Thompson
 |  | | |                |+* Re: you think rust may outthrone c?Bart
 |  | | |                ||+* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |                |||`* Re: you think rust may outthrone c?Bart
 |  | | |                ||| +- Re: you think rust may outthrone c?Kaz Kylheku
 |  | | |                ||| +* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |                ||| |+* Re: you think rust may outthrone c?David Brown
 |  | | |                ||| ||+- Re: you think rust may outthrone c?Bart
 |  | | |                ||| ||`* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |                ||| || `* Re: you think rust may outthrone c?David Brown
 |  | | |                ||| ||  `* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |                ||| ||   +* Re: you think rust may outthrone c?David Brown
 |  | | |                ||| ||   |`* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |                ||| ||   | `* Re: you think rust may outthrone c?David Brown
 |  | | |                ||| ||   |  `- Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |                ||| ||   `* Re: you think rust may outthrone c?Kaz Kylheku
 |  | | |                ||| ||    `- Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |                ||| |+* Re: you think rust may outthrone c?Bart
 |  | | |                ||| ||+* Re: you think rust may outthrone c?Ike Naar
 |  | | |                ||| |||`- Re: you think rust may outthrone c?Bart
 |  | | |                ||| ||+* Re: you think rust may outthrone c?David Brown
 |  | | |                ||| |||`* Re: you think rust may outthrone c?Bart
 |  | | |                ||| ||| `- Re: you think rust may outthrone c?David Brown
 |  | | |                ||| ||`* Re: you think rust may outthrone c?Ben Bacarisse
 |  | | |                ||| || +- Re: you think rust may outthrone c?Kaz Kylheku
 |  | | |                ||| || +* Re: you think rust may outthrone c?Malcolm McLean
 |  | | |                ||| || `* Re: you think rust may outthrone c?Bart
 |  | | |                ||| |`* Re: you think rust may outthrone c?Scott Lurndal
 |  | | |                ||| `* Re: you think rust may outthrone c?Keith Thompson
 |  | | |                ||`- Re: you think rust may outthrone c?Keith Thompson
 |  | | |                |`* Re: you think rust may outthrone c?Kaz Kylheku
 |  | | |                `* Re: you think rust may outthrone c?fir
 |  | | +* Yeah, C is harder than many programming languages. Your point? (Was: you think Kenny McCormack
 |  | | +* Re: you think rust may outthrone c?Po Lu
 |  | | `* Re: you think rust may outthrone c?Kaz Kylheku
 |  | +* Re: you think rust may outthrone c?David Brown
 |  | `- Re: you think rust may outthrone c?Po Lu
 |  `* Re: you think rust may outthrone c?Anton Shepelev
 `* Re: you think rust may outthrone c?Bonita Montero

Pages:123456789101112131415161718192021222324252627282930313233343536373839
Re: you think rust may *DE*throne c?

<k7MCM.493058$TCKc.321228@fx13.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27680&group=comp.lang.c#27680

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: you think rust may *DE*throne c?
Newsgroups: comp.lang.c
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com> <909acf23-ef0e-44c7-9ebf-89846e50e871n@googlegroups.com> <p_uAM.489417$mPI2.398490@fx15.iad> <e5d7b49e-3472-4b70-8c52-d21243725d15n@googlegroups.com> <87zg31ezu5.fsf@bsb.me.uk> <uavpcf$3t64r$1@dont-email.me> <87bkffg6qz.fsf@bsb.me.uk> <ub1840$3q1k$1@dont-email.me> <87zg2zej54.fsf@bsb.me.uk> <Hr6BM.359405$xMqa.20823@fx12.iad> <87il9ndiz9.fsf@bsb.me.uk> <ubfs11$2qfen$7@dont-email.me> <ubfse9$2qu9c$1@dont-email.me>
Lines: 79
Message-ID: <k7MCM.493058$TCKc.321228@fx13.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 15 Aug 2023 14:40:16 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 15 Aug 2023 14:40:16 GMT
X-Received-Bytes: 3717
 by: Scott Lurndal - Tue, 15 Aug 2023 14:40 UTC

Bart <bc@freeuk.com> writes:
>On 15/08/2023 13:45, David Brown wrote:
>> On 10/08/2023 17:18, Ben Bacarisse wrote:
>>> scott@slp53.sl.home (Scott Lurndal) writes:
>>>
>>>> Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>>>>> Bart <bc@freeuk.com> writes:
>>>>
>>>>>> If working with Linux and you need -lm, then 'make prog' won't
>>>>>> work. That's
>>>>>> just a fact.
>>>>>
>>>>> 2+2 = 4.  That's just a fact.
>>>>
>>>> Indeed, and it is a fact for _any_ library containing optional
>>>> functionality
>>>> that is needed by the application.
>>>
>>> That's only true in a circular way.  Why are the math functions
>>> considered optional?  Why not, for example, consider the IO functions
>>> optional so that any program that includes <stdio.h> has to link with
>>> -lio?  (I know the history -- that's not what I'm asking.)
>>>
>>> There's even a division that could be justified by the standard.  Any
>>> program that uses functions not required in a freestanding
>>> implementation could be obliged to link with -lhosted, but requiring -lm
>>> is just a historical barnacle.
>>>
>>
>> I believe the "-lm" thing is, as you say, just historical.  C libraries
>> were split to reduce their size, and since the maths functions were
>> often unneeded but often depend on each other, that seemed a natural
>> split.  For many C libraries these days, libm.a is actually empty - it
>> exists solely so that "-lm" finds something if you use it.
>
>
>A test with dlopen/dlsym managed to find "sqrt" only from "libm.so.6".
>It coulldn't find it using "libc.so.6".

The 'nm' (namelist) command is quicker.

$ nm /usr/lib64/libc.so.6 | grep " [tT] " | wc -l
4573

So there are 4573 functions available in libc.so.6.

$ nm /usr/lib64/libc.so.6 | grep -i sqrt
$

On this implementation (fedora core), sqrt is not part of libc.

$ nm /usr/lib64/libm.so.6 | grep -i sqrt
0000003a4f62a060 t __csqrt
0000003a4f637ae0 t __csqrtf
0000003a4f642270 t __csqrtl
0000003a4f6169e0 t __ieee754_sqrt
0000003a4f630690 t __ieee754_sqrtf
0000003a4f63c530 t __ieee754_sqrtl
0000003a4f648f10 t __mpsqrt
0000003a4f65f810 t __mpsqrt_fma4
0000003a4f6add00 r __mpsqrt_mp
0000003a4f6270a0 t __sqrt
0000003a4f6169e0 T __sqrt_finite
0000003a4f634900 t __sqrtf
0000003a4f630690 T __sqrtf_finite
0000003a4f63f590 t __sqrtl
0000003a4f63c530 T __sqrtl_finite
0000003a4f62a060 W csqrt
0000003a4f637ae0 W csqrtf
0000003a4f642270 W csqrtl
0000003a4f6270a0 W sqrt
0000003a4f68e220 r sqrt_2.2994
0000003a4f68e220 r sqrt_2.3297
0000003a4f68e220 r sqrt_2.3533
0000003a4f634900 W sqrtf
0000003a4f63f590 W sqrtl

And David did say "many", not all.

Re: you think rust may outthrone c?

<87fs4k4avj.fsf@fatphil.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27682&group=comp.lang.c#27682

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pc+use...@asdf.org (Phil Carmody)
Newsgroups: comp.lang.c
Subject: Re: you think rust may outthrone c?
Date: Tue, 15 Aug 2023 17:51:28 +0300
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <87fs4k4avj.fsf@fatphil.org>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<uaddgc$1lf7$1@dont-email.me>
<d7fcd0d6-c5a5-4229-87d5-98f3129c9572n@googlegroups.com>
<87wmydv39y.fsf@bsb.me.uk>
<c707dddd-c94e-47bf-9ae6-a8537d245ac1n@googlegroups.com>
<uaeivj$9urb$1@dont-email.me>
<27a833dc-67b7-4195-a3f5-8d8c60ad3d2fn@googlegroups.com>
<uafsqe$mtv7$1@dont-email.me> <X=vUTZgAAVQwBn6et@bongo-ra.co>
<uaj4gk$1alq7$1@dont-email.me>
<cbe7d004-e90b-41d7-9a34-c711ef9c3949n@googlegroups.com>
<uaj7iv$1b5h7$1@dont-email.me>
<2caab55a-f70e-457f-a4d2-ee912c27b681n@googlegroups.com>
<ualceb$1nnq7$1@dont-email.me>
<1aceef78-a719-424e-9234-63bc7531105cn@googlegroups.com>
<uatmcb$3eti9$1@dont-email.me>
<a33ce226-3826-4b0c-97fc-585105018304n@googlegroups.com>
<87bkfhqfqx.fsf@nosuchdomain.example.com>
<ub00ij$3uknp$1@dont-email.me> <20230809095615.602@kylheku.com>
<ubfnud$2q8ip$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="9176dbab4427e178b28c3a609a56f3cb";
logging-data="3016354"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fsTOPTJPlIOmxaiDNu8bN"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Cancel-Lock: sha1:sw5l/oDmbTupIqy3y14ADTVoNZ4=
sha1:OomIDXfmMjsU/eMG7u9wo7Grxy8=
 by: Phil Carmody - Tue, 15 Aug 2023 14:51 UTC

David Brown <david.brown@hesbynett.no> writes:
> On 09/08/2023 19:18, Kaz Kylheku wrote:
>> I can't find clear references on this topic, but somehow, I seem to be
>> carrying an old impression from somewhere that the use of the diaeresis
>> for native words is just something that became fashinable in the 1800's.
>>
>> I.e. it's not simply archaic, but a revival of a passing Victorian
>> era fad.
>
> Yes, I think that is correct. But "naïve" is not a native English
> word - it came from the French, complete with accent.

Which is precisely why you shouldn't use it when communicating in
English, which has the word "naive" that performs exactly the same
task at least as adequately.

Phil
--
We are no longer hunters and nomads. No longer awed and frightened, as we have
gained some understanding of the world in which we live. As such, we can cast
aside childish remnants from the dawn of our civilization.
-- NotSanguine on SoylentNews, after Eugen Weber in /The Western Tradition/

Re: you think rust may *DE*throne c?

<ubg4tb$2se4o$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27689&group=comp.lang.c#27689

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (Bart)
Newsgroups: comp.lang.c
Subject: Re: you think rust may *DE*throne c?
Date: Tue, 15 Aug 2023 16:17:00 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <ubg4tb$2se4o$2@dont-email.me>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<p_uAM.489417$mPI2.398490@fx15.iad>
<e5d7b49e-3472-4b70-8c52-d21243725d15n@googlegroups.com>
<87zg31ezu5.fsf@bsb.me.uk> <uavpcf$3t64r$1@dont-email.me>
<slrnud6spf.f45.dan@djph.net> <ub010k$3um69$1@dont-email.me>
<ub04i1$3v4p5$2@dont-email.me> <ub06ih$3vdv6$1@dont-email.me>
<ub4lb2$olm3$1@dont-email.me> <ub51sl$qadl$1@dont-email.me>
<uba12c$1oa26$1@dont-email.me> <O87CM.741127$GMN3.660340@fx16.iad>
<ubfrit$2qfen$6@dont-email.me> <i2MCM.493057$TCKc.128266@fx13.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 15 Aug 2023 15:16:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b2bb591c1712a7be1bb8b1a577f1cf0d";
logging-data="3029144"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fonhTxr9qj8qwBQ792Qo2CwYChiTrBMw="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:dKe3LYLB33iT66wyTn8eoBjucoc=
In-Reply-To: <i2MCM.493057$TCKc.128266@fx13.iad>
 by: Bart - Tue, 15 Aug 2023 15:17 UTC

On 15/08/2023 15:34, Scott Lurndal wrote:
> David Brown <david.brown@hesbynett.no> writes:
>> On 13/08/2023 18:02, Scott Lurndal wrote:
>>> David Brown <david.brown@hesbynett.no> writes:
>>>> On 11/08/2023 12:17, Bart wrote:
>>>>> On 11/08/2023 07:43, David Brown wrote:
>>>
>>>>> Look, just do things your way, and let others use their own approaches.
>>>>> I've actually been doing this stuff for longer than you.
>>>>>
>>>>
>>>> Longer does not mean better. Often it means set in your ways, and
>>>> unwilling to look at alternatives.
>>>
>>> And I seriously doubt the "longer than you" bit.
>>
>> Bart /has/ been programming for longer than me - I've only been at it
>> for a little over 40 years.
>>
>
> Ah, 47 for me. I don't recall Bart posting his history.

47 years also since I first sat in front of a terminal and wrote code,
and I wasn't that young.

I couldn't do so from age 10, since then a computer probably cost 200
times as much as a house.

Re: you think rust may outthrone c?

<ubg512$2sgin$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27690&group=comp.lang.c#27690

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: you think rust may outthrone c?
Date: Tue, 15 Aug 2023 17:18:57 +0200
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <ubg512$2sgin$1@dont-email.me>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<uaddgc$1lf7$1@dont-email.me>
<d7fcd0d6-c5a5-4229-87d5-98f3129c9572n@googlegroups.com>
<87wmydv39y.fsf@bsb.me.uk>
<c707dddd-c94e-47bf-9ae6-a8537d245ac1n@googlegroups.com>
<uaeivj$9urb$1@dont-email.me>
<27a833dc-67b7-4195-a3f5-8d8c60ad3d2fn@googlegroups.com>
<uafsqe$mtv7$1@dont-email.me> <X=vUTZgAAVQwBn6et@bongo-ra.co>
<uaj4gk$1alq7$1@dont-email.me>
<cbe7d004-e90b-41d7-9a34-c711ef9c3949n@googlegroups.com>
<uaj7iv$1b5h7$1@dont-email.me>
<2caab55a-f70e-457f-a4d2-ee912c27b681n@googlegroups.com>
<ualceb$1nnq7$1@dont-email.me>
<1aceef78-a719-424e-9234-63bc7531105cn@googlegroups.com>
<uatmcb$3eti9$1@dont-email.me>
<a33ce226-3826-4b0c-97fc-585105018304n@googlegroups.com>
<87bkfhqfqx.fsf@nosuchdomain.example.com> <ub00ij$3uknp$1@dont-email.me>
<20230809095615.602@kylheku.com> <ubfnud$2q8ip$1@dont-email.me>
<87fs4k4avj.fsf@fatphil.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 15 Aug 2023 15:18:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="10ce11f68d8c291ce7348f2f767658cc";
logging-data="3031639"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19y2L5p9GkZh6wcY22ciq7sHmqWtPvy+7I="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:vqeU3VMzo3jjoNbbQPSi37Gtah8=
In-Reply-To: <87fs4k4avj.fsf@fatphil.org>
Content-Language: en-GB
 by: David Brown - Tue, 15 Aug 2023 15:18 UTC

On 15/08/2023 16:51, Phil Carmody wrote:
> David Brown <david.brown@hesbynett.no> writes:
>> On 09/08/2023 19:18, Kaz Kylheku wrote:
>>> I can't find clear references on this topic, but somehow, I seem to be
>>> carrying an old impression from somewhere that the use of the diaeresis
>>> for native words is just something that became fashinable in the 1800's.
>>>
>>> I.e. it's not simply archaic, but a revival of a passing Victorian
>>> era fad.
>>
>> Yes, I think that is correct. But "naïve" is not a native English
>> word - it came from the French, complete with accent.
>
> Which is precisely why you shouldn't use it when communicating in
> English, which has the word "naive" that performs exactly the same
> task at least as adequately.
>

"naïve" came from the French, and joined English - just like "café" and
a number of other words. It is absolutely fine to write "naïve" in
English, and I would expect anyone to be happy seeing it spelt that way
(baring issues with fonts). Equally, however, I would expect people to
be happy with "naive", and it would be wrong to suggest that either of
them is incorrectly spelt. The only time I would consider it
particularly important would be if the word were used multiple times in
the same document - then consistency should be the guiding factor.

Sometimes such foreign words keep their accents when merged into
English, sometimes the accents disappear over time. Sometimes they are
commonly written in italics to emphasise that they are not "native" -
but since English has accumulated words from all sorts of languages over
time, I think it is at best a question of time and common usage before a
word becomes "native".

These words are often called "loanwords", but we've kept them in
English, and are not giving them back :-)

Re: you think rust may *DE*throne c?

<ubg5an$2sgin$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27691&group=comp.lang.c#27691

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: you think rust may *DE*throne c?
Date: Tue, 15 Aug 2023 17:24:07 +0200
Organization: A noiseless patient Spider
Lines: 95
Message-ID: <ubg5an$2sgin$2@dont-email.me>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<ub04i1$3v4p5$2@dont-email.me> <ub06ih$3vdv6$1@dont-email.me>
<20230809091709.678@kylheku.com> <ub7ga2$18t8e$1@dont-email.me>
<ub7pf0$1a1uf$2@dont-email.me> <uba0pv$1o951$1@dont-email.me>
<087CM.741126$GMN3.195290@fx16.iad> <ubb1h8$1t3pi$3@dont-email.me>
<tdbCM.170111$ens9.69973@fx45.iad> <20230813210925.583@kylheku.com>
<q5sCM.59052$m8Ke.36345@fx08.iad> <20230814090331.271@kylheku.com>
<ubfqgk$2qfen$2@dont-email.me> <E0MCM.493056$TCKc.227020@fx13.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 15 Aug 2023 15:24:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="10ce11f68d8c291ce7348f2f767658cc";
logging-data="3031639"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++7gRDxLAkhX/Byc7QoL+pC+Cx7FhDV4g="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:K2Xbn6yEPsK+w0NcnAYahUGMWb8=
In-Reply-To: <E0MCM.493056$TCKc.227020@fx13.iad>
Content-Language: en-GB
 by: David Brown - Tue, 15 Aug 2023 15:24 UTC

On 15/08/2023 16:33, Scott Lurndal wrote:
> David Brown <david.brown@hesbynett.no> writes:
>> On 14/08/2023 18:06, Kaz Kylheku wrote:
>>> On 2023-08-14, Scott Lurndal <scott@slp53.sl.home> wrote:
>>>> Kaz Kylheku <864-117-4973@kylheku.com> writes:
>>>>> On 2023-08-13, Scott Lurndal <scott@slp53.sl.home> wrote:
>>>>>> Bart <bc@freeuk.com> writes:
>>>>>>> On 13/08/2023 17:02, Scott Lurndal wrote:
>>>>>>>> David Brown <david.brown@hesbynett.no> writes:
>>>>>>>>> On 12/08/2023 13:12, Bart wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Suppose you dispensed with all that dependency stuff; how long would it
>>>>>>>>>> take to build such a project? Say compared with just compiling one module.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> That particular project takes a minute and a half to compile on my
>>>>>>>>> laptop (it's faster on my main machine). It's 373 compilations, perhaps
>>>>>>>>> 40% of it C++. Too long for convenience.
>>>>>>>>
>>>>>>>> My current project takes well over an hour to build on a single-core
>>>>>>>> system. With 32 cores and parallel make (-j32), that's reduced to
>>>>>>>> less than ten minutes
>>>>>>>
>>>>>>> You don't get a 32x speedup then?
>>>>>>
>>>>>> Compiler workloads are generally I/O bound.
>>>>>
>>>>> Not really. E.g. if you use ccache, and everything is a hit,
>>>>> it's "lightning fast" just to copy the .o files from the cache.
>>>>
>>>> We've used ccache, and had enough problems with it that we
>>>> abandoned it.
>>>
>>> For my purposes, I'm not running into the problem; ccache
>>> is working.
>>>
>>> Subtly broken or not, for the present purposes, it shows that two orders
>>> of magnitude of run-time can get saved by hashing the translation unit
>>> and just copying canned .o files.
>>
>> I use ccache myself, and have not seen any problems with it. (I disable
>> it when doing timings posted here.)
>
> The issues we saw were related to different users compiling with
> different compilation flags or optimization levels (the Ccache was
> shared by a hundred users). For the cases where the users were
> simply compiling the code it worked fine. For the developers actually
> developing the code, it caused issues when the developers modified
> debugging defines or the optimization level and tried to link with
> cached objects with different configurations.

ccache uses hashes from the complete command line, including flags, as
well as a hash of the entire pre-processed source code. That should not
be an issue. (At least, that's the case for ccache now - maybe you are
talking about long ago.)

What /might/ be an issue is slightly different versions of tools. I
would normally expect local ccaches on users' machines, rather than a
shared cache.

>
> In any case, we use dependency checking which limits recompilation
> to the files made obsolete by changes to source or header files.
>

Indeed.

>
>> There's a famous article somewhere titled "Recursive make considered
>> harmful".
>
>
> I've read it many times and found it not very compelling. Even
> linux uses recursive make sucessfully, and pretty much every project
> I've worked on over the last four decades (from Unixware to my
> current large project) use recursive makefiles without running
> into the issues in the article.
>

As long as you are careful, recursive make can work fine - but it does
introduce new ways to get things wrong.

>
>
>
>> I just make my binary depend on the object files matching
>> every source file in all the subdirectories, and let make sort it all
>> out (in parallel, though I don't have as many cores as Scott).
>
> It's a really nice two socket xeon system, to be sure :-).

I bet you have one of the Zen4 EPYC processors on your Christmas list!

Re: you think rust may *DE*throne c?

<ubg5d5$2sgin$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27692&group=comp.lang.c#27692

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: you think rust may *DE*throne c?
Date: Tue, 15 Aug 2023 17:25:25 +0200
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <ubg5d5$2sgin$3@dont-email.me>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<p_uAM.489417$mPI2.398490@fx15.iad>
<e5d7b49e-3472-4b70-8c52-d21243725d15n@googlegroups.com>
<87zg31ezu5.fsf@bsb.me.uk> <uavpcf$3t64r$1@dont-email.me>
<slrnud6spf.f45.dan@djph.net> <ub010k$3um69$1@dont-email.me>
<ub04i1$3v4p5$2@dont-email.me> <ub06ih$3vdv6$1@dont-email.me>
<ub4lb2$olm3$1@dont-email.me> <ub51sl$qadl$1@dont-email.me>
<uba12c$1oa26$1@dont-email.me> <O87CM.741127$GMN3.660340@fx16.iad>
<ubfrit$2qfen$6@dont-email.me> <i2MCM.493057$TCKc.128266@fx13.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 15 Aug 2023 15:25:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="10ce11f68d8c291ce7348f2f767658cc";
logging-data="3031639"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/qrPqX/5JVCK+q87eWQvmdiNCCxrnrq8I="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:izUZq9AuHn4PgOZ0HgiRV41gdEU=
In-Reply-To: <i2MCM.493057$TCKc.128266@fx13.iad>
Content-Language: en-GB
 by: David Brown - Tue, 15 Aug 2023 15:25 UTC

On 15/08/2023 16:34, Scott Lurndal wrote:
> David Brown <david.brown@hesbynett.no> writes:
>> On 13/08/2023 18:02, Scott Lurndal wrote:
>>> David Brown <david.brown@hesbynett.no> writes:
>>>> On 11/08/2023 12:17, Bart wrote:
>>>>> On 11/08/2023 07:43, David Brown wrote:
>>>
>>>>> Look, just do things your way, and let others use their own approaches.
>>>>> I've actually been doing this stuff for longer than you.
>>>>>
>>>>
>>>> Longer does not mean better. Often it means set in your ways, and
>>>> unwilling to look at alternatives.
>>>
>>> And I seriously doubt the "longer than you" bit.
>>
>> Bart /has/ been programming for longer than me - I've only been at it
>> for a little over 40 years.
>>
>
> Ah, 47 for me. I don't recall Bart posting his history.

He has talked about programming in Algol, but I don't know exactly when.

Re: you think rust may *DE*throne c?

<20230815081550.922@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27693&group=comp.lang.c#27693

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: you think rust may *DE*throne c?
Date: Tue, 15 Aug 2023 15:27:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <20230815081550.922@kylheku.com>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<ub04i1$3v4p5$2@dont-email.me> <ub06ih$3vdv6$1@dont-email.me>
<20230809091709.678@kylheku.com> <ub7ga2$18t8e$1@dont-email.me>
<ub7pf0$1a1uf$2@dont-email.me> <uba0pv$1o951$1@dont-email.me>
<087CM.741126$GMN3.195290@fx16.iad> <ubb1h8$1t3pi$3@dont-email.me>
<tdbCM.170111$ens9.69973@fx45.iad> <20230813210925.583@kylheku.com>
<q5sCM.59052$m8Ke.36345@fx08.iad> <20230814090331.271@kylheku.com>
<ubfqgk$2qfen$2@dont-email.me> <E0MCM.493056$TCKc.227020@fx13.iad>
Injection-Date: Tue, 15 Aug 2023 15:27:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="12961595d97071749275a1c93b8d4ac5";
logging-data="3034481"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UWmGCLx+rRt6HMOhFD7hQyu4TbF/Pq9Q="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:xDr4JYU0aa0f1Pe30VUiDUgpQzo=
 by: Kaz Kylheku - Tue, 15 Aug 2023 15:27 UTC

On 2023-08-15, Scott Lurndal <scott@slp53.sl.home> wrote:
> David Brown <david.brown@hesbynett.no> writes:
>>There's a famous article somewhere titled "Recursive make considered
>>harmful".
>
>
> I've read it many times and found it not very compelling. Even
> linux uses recursive make sucessfully, and pretty much every project
> I've worked on over the last four decades (from Unixware to my
> current large project) use recursive makefiles without running
> into the issues in the article.

The Linux build system has certain recursive make invocations, but does
not recursively invoke make in every subdirectory; it has one big
graph for the whole tree, consisting of including sub-makefiles.

For instance and out-of-tree module build will set some variables
and recursively redirect to the kernel tree with $(MAKE) -C <path>.
So, okay, that's a kind of recursion.

Top-level make re-invocation trick don't amount to the the main
"payload" build being recursive.

A recursive make system needs to execute numerous nested make
invocations in numerous directories in order to discover all the
targets that need to be built.

Maybe that hurts less when that can be parallelized? Or
is even faster?

The thing is that the size of the tree and the number of rules
doesn't change whether subtrees are handled by separate make
invocations or not. So it's mainly the overhead of the invocations
that is the problem.

The same amount of Makefile material has to be parsed either way.

A non-recursive Makefile system like described in that paper has
the disadvantage that /reading/ the Makefile material isn't
parallelizable, only /executing/ the rules A single process has to scan
the entire tree of sub-Makefiles before dispatching a build; only that
build is then parallel.

A recursive system can dispatch the sub-makes in parallel, using
multiple cores to read their respective sections of the rule
tree in parallel.

Thus, recursive make, even if Harful, could potentially be faster,
if the project tree is so large that scanning the makefile
material causes a noticeable delay in dispatching an incremental
build.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: you think rust may outthrone c?

<20230815083815.613@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27695&group=comp.lang.c#27695

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: you think rust may outthrone c?
Date: Tue, 15 Aug 2023 15:48:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <20230815083815.613@kylheku.com>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<uaddgc$1lf7$1@dont-email.me>
<d7fcd0d6-c5a5-4229-87d5-98f3129c9572n@googlegroups.com>
<87wmydv39y.fsf@bsb.me.uk>
<c707dddd-c94e-47bf-9ae6-a8537d245ac1n@googlegroups.com>
<uaeivj$9urb$1@dont-email.me>
<27a833dc-67b7-4195-a3f5-8d8c60ad3d2fn@googlegroups.com>
<uafsqe$mtv7$1@dont-email.me> <X=vUTZgAAVQwBn6et@bongo-ra.co>
<uaj4gk$1alq7$1@dont-email.me>
<cbe7d004-e90b-41d7-9a34-c711ef9c3949n@googlegroups.com>
<uaj7iv$1b5h7$1@dont-email.me>
<2caab55a-f70e-457f-a4d2-ee912c27b681n@googlegroups.com>
<ualceb$1nnq7$1@dont-email.me>
<1aceef78-a719-424e-9234-63bc7531105cn@googlegroups.com>
<uatmcb$3eti9$1@dont-email.me>
<a33ce226-3826-4b0c-97fc-585105018304n@googlegroups.com>
<87bkfhqfqx.fsf@nosuchdomain.example.com> <ub00ij$3uknp$1@dont-email.me>
<20230809095615.602@kylheku.com> <ubfnud$2q8ip$1@dont-email.me>
<87fs4k4avj.fsf@fatphil.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 15 Aug 2023 15:48:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="12961595d97071749275a1c93b8d4ac5";
logging-data="3040951"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OId+VHSZgElNiyvlWmDssvU/7qa2vlI0="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:LAk8n5yC7umaLtUgW/VTZ9vPzTU=
 by: Kaz Kylheku - Tue, 15 Aug 2023 15:48 UTC

On 2023-08-15, Phil Carmody <pc+usenet@asdf.org> wrote:
> David Brown <david.brown@hesbynett.no> writes:
>> On 09/08/2023 19:18, Kaz Kylheku wrote:
>>> I can't find clear references on this topic, but somehow, I seem to be
>>> carrying an old impression from somewhere that the use of the diaeresis
>>> for native words is just something that became fashinable in the 1800's.
>>>
>>> I.e. it's not simply archaic, but a revival of a passing Victorian
>>> era fad.
>>
>> Yes, I think that is correct. But "naïve" is not a native English
>> word - it came from the French, complete with accent.
>
> Which is precisely why you shouldn't use it when communicating in
> English, which has the word "naive" that performs exactly the same
> task at least as adequately.

Bingo! "naïve" did not /come/ from French, it /is/ French!

The word that came from French is "naive".

Just like the word that came into English from Japanese is "futon".

Whereas the related word "布団" did not come into English.

It all makes a 団 of sense; when you think about it this way.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: you think rust may *DE*throne c?

<dgNCM.91257$VzFf.31071@fx03.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27698&group=comp.lang.c#27698

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx03.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: you think rust may *DE*throne c?
Newsgroups: comp.lang.c
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com> <20230809091709.678@kylheku.com> <ub7ga2$18t8e$1@dont-email.me> <ub7pf0$1a1uf$2@dont-email.me> <uba0pv$1o951$1@dont-email.me> <087CM.741126$GMN3.195290@fx16.iad> <ubb1h8$1t3pi$3@dont-email.me> <tdbCM.170111$ens9.69973@fx45.iad> <20230813210925.583@kylheku.com> <q5sCM.59052$m8Ke.36345@fx08.iad> <20230814090331.271@kylheku.com> <ubfqgk$2qfen$2@dont-email.me> <E0MCM.493056$TCKc.227020@fx13.iad> <ubg5an$2sgin$2@dont-email.me>
Lines: 85
Message-ID: <dgNCM.91257$VzFf.31071@fx03.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 15 Aug 2023 15:58:01 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 15 Aug 2023 15:58:01 GMT
X-Received-Bytes: 4893
 by: Scott Lurndal - Tue, 15 Aug 2023 15:58 UTC

David Brown <david.brown@hesbynett.no> writes:
>On 15/08/2023 16:33, Scott Lurndal wrote:
>> David Brown <david.brown@hesbynett.no> writes:
>>> On 14/08/2023 18:06, Kaz Kylheku wrote:
>>>> On 2023-08-14, Scott Lurndal <scott@slp53.sl.home> wrote:
>>>>> Kaz Kylheku <864-117-4973@kylheku.com> writes:
>>>>>> On 2023-08-13, Scott Lurndal <scott@slp53.sl.home> wrote:
>>>>>>> Bart <bc@freeuk.com> writes:
>>>>>>>> On 13/08/2023 17:02, Scott Lurndal wrote:
>>>>>>>>> David Brown <david.brown@hesbynett.no> writes:
>>>>>>>>>> On 12/08/2023 13:12, Bart wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Suppose you dispensed with all that dependency stuff; how long would it
>>>>>>>>>>> take to build such a project? Say compared with just compiling one module.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> That particular project takes a minute and a half to compile on my
>>>>>>>>>> laptop (it's faster on my main machine). It's 373 compilations, perhaps
>>>>>>>>>> 40% of it C++. Too long for convenience.
>>>>>>>>>
>>>>>>>>> My current project takes well over an hour to build on a single-core
>>>>>>>>> system. With 32 cores and parallel make (-j32), that's reduced to
>>>>>>>>> less than ten minutes
>>>>>>>>
>>>>>>>> You don't get a 32x speedup then?
>>>>>>>
>>>>>>> Compiler workloads are generally I/O bound.
>>>>>>
>>>>>> Not really. E.g. if you use ccache, and everything is a hit,
>>>>>> it's "lightning fast" just to copy the .o files from the cache.
>>>>>
>>>>> We've used ccache, and had enough problems with it that we
>>>>> abandoned it.
>>>>
>>>> For my purposes, I'm not running into the problem; ccache
>>>> is working.
>>>>
>>>> Subtly broken or not, for the present purposes, it shows that two orders
>>>> of magnitude of run-time can get saved by hashing the translation unit
>>>> and just copying canned .o files.
>>>
>>> I use ccache myself, and have not seen any problems with it. (I disable
>>> it when doing timings posted here.)
>>
>> The issues we saw were related to different users compiling with
>> different compilation flags or optimization levels (the Ccache was
>> shared by a hundred users). For the cases where the users were
>> simply compiling the code it worked fine. For the developers actually
>> developing the code, it caused issues when the developers modified
>> debugging defines or the optimization level and tried to link with
>> cached objects with different configurations.
>
>ccache uses hashes from the complete command line, including flags, as
>well as a hash of the entire pre-processed source code. That should not
>be an issue. (At least, that's the case for ccache now - maybe you are
>talking about long ago.)

yes, this was a decade ago using, what was at the time, an older
version of ccache.

>
>What /might/ be an issue is slightly different versions of tools. I
>would normally expect local ccaches on users' machines, rather than a
>shared cache.

Ah, but in the RTL development environment, there are no local disks
other than the root disk since they're part of a grid and the system
on which the compile happens changes from run to run. It's all on
NFS.

The RTL team runs thousands of random simulations 24x7, and each
simulation compiles the RTL and supporting assets (e.g. the C++
golden model), leveraging the common ccache.

>>> I just make my binary depend on the object files matching
>>> every source file in all the subdirectories, and let make sort it all
>>> out (in parallel, though I don't have as many cores as Scott).
>>
>> It's a really nice two socket xeon system, to be sure :-).
>
>I bet you have one of the Zen4 EPYC processors on your Christmas list!

We've several options in mind for the next set of build machines :-)

Re: you think rust may *DE*throne c?

<20230815085225.468@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27699&group=comp.lang.c#27699

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: you think rust may *DE*throne c?
Date: Tue, 15 Aug 2023 15:58:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <20230815085225.468@kylheku.com>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<ub04i1$3v4p5$2@dont-email.me> <ub06ih$3vdv6$1@dont-email.me>
<20230809091709.678@kylheku.com> <ub7ga2$18t8e$1@dont-email.me>
<ub7pf0$1a1uf$2@dont-email.me> <uba0pv$1o951$1@dont-email.me>
<087CM.741126$GMN3.195290@fx16.iad> <ubb1h8$1t3pi$3@dont-email.me>
<tdbCM.170111$ens9.69973@fx45.iad> <20230813210925.583@kylheku.com>
<q5sCM.59052$m8Ke.36345@fx08.iad> <20230814090331.271@kylheku.com>
<ubfqgk$2qfen$2@dont-email.me> <E0MCM.493056$TCKc.227020@fx13.iad>
<ubg5an$2sgin$2@dont-email.me>
Injection-Date: Tue, 15 Aug 2023 15:58:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="12961595d97071749275a1c93b8d4ac5";
logging-data="3040951"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JORunH1xYlf+KAfcrYEXOGbLlsZH+12Y="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:MHYaZu+E8hcOKZDnO9pbjxP3+GA=
 by: Kaz Kylheku - Tue, 15 Aug 2023 15:58 UTC

On 2023-08-15, David Brown <david.brown@hesbynett.no> wrote:
> On 15/08/2023 16:33, Scott Lurndal wrote:
>> The issues we saw were related to different users compiling with
>> different compilation flags or optimization levels (the Ccache was
>> shared by a hundred users). For the cases where the users were
>> simply compiling the code it worked fine. For the developers actually
>> developing the code, it caused issues when the developers modified
>> debugging defines or the optimization level and tried to link with
>> cached objects with different configurations.
>
> ccache uses hashes from the complete command line, including flags, as
> well as a hash of the entire pre-processed source code. That should not
> be an issue. (At least, that's the case for ccache now - maybe you are
> talking about long ago.)

Speaking of ccache long ago, in 2006 I posted some patches for ccache.

https://www.mail-archive.com/ccache@lists.samba.org/msg00086.html

One of them is multiple-caches: this makes ccache look in more than
one cache for a hit. So you can have a local cache on your node only,
but fall back one a shared one, too.

Local builds don't have to pollute the shared cache, but can read
from it.

I think they didn't merge it. Someone was asking for it in 2016:

https://lists.samba.org/archive/ccache/2016q2/001444.html

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: you think rust may *DE*throne c?

<uiNCM.91258$VzFf.54935@fx03.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27701&group=comp.lang.c#27701

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx03.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: you think rust may *DE*throne c?
Newsgroups: comp.lang.c
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com> <87zg31ezu5.fsf@bsb.me.uk> <uavpcf$3t64r$1@dont-email.me> <slrnud6spf.f45.dan@djph.net> <ub010k$3um69$1@dont-email.me> <ub04i1$3v4p5$2@dont-email.me> <ub06ih$3vdv6$1@dont-email.me> <ub4lb2$olm3$1@dont-email.me> <ub51sl$qadl$1@dont-email.me> <uba12c$1oa26$1@dont-email.me> <O87CM.741127$GMN3.660340@fx16.iad> <ubfrit$2qfen$6@dont-email.me> <i2MCM.493057$TCKc.128266@fx13.iad> <ubg5d5$2sgin$3@dont-email.me>
Lines: 29
Message-ID: <uiNCM.91258$VzFf.54935@fx03.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 15 Aug 2023 16:00:26 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 15 Aug 2023 16:00:26 GMT
X-Received-Bytes: 2140
 by: Scott Lurndal - Tue, 15 Aug 2023 16:00 UTC

David Brown <david.brown@hesbynett.no> writes:
>On 15/08/2023 16:34, Scott Lurndal wrote:
>> David Brown <david.brown@hesbynett.no> writes:
>>> On 13/08/2023 18:02, Scott Lurndal wrote:
>>>> David Brown <david.brown@hesbynett.no> writes:
>>>>> On 11/08/2023 12:17, Bart wrote:
>>>>>> On 11/08/2023 07:43, David Brown wrote:
>>>>
>>>>>> Look, just do things your way, and let others use their own approaches.
>>>>>> I've actually been doing this stuff for longer than you.
>>>>>>
>>>>>
>>>>> Longer does not mean better. Often it means set in your ways, and
>>>>> unwilling to look at alternatives.
>>>>
>>>> And I seriously doubt the "longer than you" bit.
>>>
>>> Bart /has/ been programming for longer than me - I've only been at it
>>> for a little over 40 years.
>>>
>>
>> Ah, 47 for me. I don't recall Bart posting his history.
>
>He has talked about programming in Algol, but I don't know exactly when.

There's still a significant base of Unisys (nee Burroughs) systems in production
and Algol is the primary systems programming language for those systems.

The MCP is written in a custom flavor of Algol.

Re: you think rust may outthrone c?

<20230815085818.111@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27702&group=comp.lang.c#27702

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: you think rust may outthrone c?
Date: Tue, 15 Aug 2023 16:01:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <20230815085818.111@kylheku.com>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<uaddgc$1lf7$1@dont-email.me>
<d7fcd0d6-c5a5-4229-87d5-98f3129c9572n@googlegroups.com>
<87wmydv39y.fsf@bsb.me.uk>
<c707dddd-c94e-47bf-9ae6-a8537d245ac1n@googlegroups.com>
<uaeivj$9urb$1@dont-email.me>
<27a833dc-67b7-4195-a3f5-8d8c60ad3d2fn@googlegroups.com>
<uafsqe$mtv7$1@dont-email.me> <X=vUTZgAAVQwBn6et@bongo-ra.co>
<uaj4gk$1alq7$1@dont-email.me>
<cbe7d004-e90b-41d7-9a34-c711ef9c3949n@googlegroups.com>
<uaj7iv$1b5h7$1@dont-email.me>
<2caab55a-f70e-457f-a4d2-ee912c27b681n@googlegroups.com>
<ualceb$1nnq7$1@dont-email.me>
<1aceef78-a719-424e-9234-63bc7531105cn@googlegroups.com>
<uatmcb$3eti9$1@dont-email.me>
<a33ce226-3826-4b0c-97fc-585105018304n@googlegroups.com>
<87bkfhqfqx.fsf@nosuchdomain.example.com> <ub00ij$3uknp$1@dont-email.me>
<20230809095615.602@kylheku.com> <ubfnud$2q8ip$1@dont-email.me>
<87fs4k4avj.fsf@fatphil.org> <ubg512$2sgin$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 15 Aug 2023 16:01:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="12961595d97071749275a1c93b8d4ac5";
logging-data="3040951"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4yO7gZD/ok7o8GUYdWxqR6JU/HYQ2sEQ="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:fk+1heCZfROL/ggxcbQTBkCCGGE=
 by: Kaz Kylheku - Tue, 15 Aug 2023 16:01 UTC

On 2023-08-15, David Brown <david.brown@hesbynett.no> wrote:
> On 15/08/2023 16:51, Phil Carmody wrote:
>> David Brown <david.brown@hesbynett.no> writes:
>>> On 09/08/2023 19:18, Kaz Kylheku wrote:
>>>> I can't find clear references on this topic, but somehow, I seem to be
>>>> carrying an old impression from somewhere that the use of the diaeresis
>>>> for native words is just something that became fashinable in the 1800's.
>>>>
>>>> I.e. it's not simply archaic, but a revival of a passing Victorian
>>>> era fad.
>>>
>>> Yes, I think that is correct. But "naïve" is not a native English
>>> word - it came from the French, complete with accent.
>>
>> Which is precisely why you shouldn't use it when communicating in
>> English, which has the word "naive" that performs exactly the same
>> task at least as adequately.
>>
>
>
> "naïve" came from the French, and joined English - just like "café" and
> a number of other words.

In so doing, it became "naive". End of story.

Just like how 神風 became "kamikaze" when it came into English.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: you think rust may outthrone c?

<86fs4k6pgq.fsf@linuxsc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27720&group=comp.lang.c#27720

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.lang.c
Subject: Re: you think rust may outthrone c?
Date: Tue, 15 Aug 2023 13:05:41 -0700
Organization: A noiseless patient Spider
Lines: 157
Message-ID: <86fs4k6pgq.fsf@linuxsc.com>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com> <u9e8so$3addm$1@dont-email.me> <u9edc7$3bdu0$1@dont-email.me> <u9em5t$3d7sv$1@dont-email.me> <875y6dne2u.fsf@nosuchdomain.example.com> <u9evak$3eutv$1@dont-email.me> <3ff53ffd-299b-4dc8-a503-cfd170ce3e03n@googlegroups.com> <u9gbnu$3pc9g$1@dont-email.me> <u9h29k$3ssnr$1@dont-email.me> <u9hob6$3vo3c$1@dont-email.me> <u9jig1$9lnb$2@dont-email.me> <u9jm4i$a4dp$1@dont-email.me> <u9jqnf$ak1k$1@dont-email.me> <u9juf1$avv8$1@dont-email.me> <u9lafa$j89a$1@dont-email.me> <u9li0r$k6vn$1@dont-email.me> <87ila9laoa.fsf@bsb.me.uk> <86cz0fs86n.fsf@linuxsc.com> <87pm4fqppe.fsf@nosuchdomain.example.com> <86r0o887op.fsf@linuxsc.com> <87350nomsc.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: dont-email.me; posting-host="4aa43ab23f99b81d777a1b3458fe2d41";
logging-data="3116156"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18bhPOdEUj81Qa+WDb6UmwY5Lx7VNODTBs="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:MByfJLz4eVUKXK0nHZYLHFrWXDc=
sha1:h+oq4dItlpP9wJr1RSbG4HnRDfg=
 by: Tim Rentsch - Tue, 15 Aug 2023 20:05 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>
>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>
>>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>>>
>>>> Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>>>
>>> [...]
>>>
>>>>> Yes, C++ calls them literals. But that site does use the same
>>>>> terminology as the C standard when talking about C:
>>>>>
>>>>> https://en.cppreference.com/w/c/language/integer_constant
>>>>>
>>>>> I prefer C++'s usage, since "integer constant" can be so easily
>>>>> confused for "integer constant expression".
>>>>
>>>> Using the same term for both suggests a false equivalence, and
>>>> also is ahistorical. The two kinds of entities are fundamentally
>>>> different: constants denote values, literals denote objects.
>>>> Constants, like mathematical constants, always denote the same
>>>> value; literals denote different objects at different times or
>>>> places, even if the values used to produce a given literal are
>>>> always the same, which they need not be. The distinctions are
>>>> too important to gloss over by using a common term for both.
>>>
>>> When you say that "literals denote objects", are you referring
>>> specifically to the way C uses the terms "string literal" and
>>> "compound literal"?
>>>
>>> I haven't done an exhaustive search, but every language other than
>>> C whose documentation I've just checked (C++, Ada, Perl, Python,
>>> Go, Java) calls 42 an integer literal and "foo" a string literal.
>>> C is a bit of an outlier in callling 42 an integer constant.
>>>
>>> I suggest that the fact that C uses "constant" for tokens that
>>> refer to values and "literal" (string or compound) for constructs
>>> that refer to anonymous objects was an arbitrary choice, and the
>>> distinction you mention is not nearly as fundamental as you
>>> suggest it is.
>>>
>>> I do prefer to use the term "integer constant" when discussing C,
>>> but the phrase "integer literal" is (a) correct in most other
>>> languages and (b) perfectly clear. It wouldn't occur to me that
>>> "integer literal" implies something that refers to an object.
>>
>> The word literal, used as a noun when describing programming
>> languages, came into vogue sometime after it became common to
>> specify language syntax by using a formal grammar (usually
>> expressed in some variation of Backus-Naur Form); roughly the
>> 1970s timeframe. A typical usage would be for "literal" to be
>> synonymous with "terminal symbol", or perhaps with just a subset
>> of terminal symbols, as used in the rules of grammar. In some
>> cases the words "constant" and "literal" were used more or less
>> interchangeably.
>>
>> A good decade earlier, however, the word literal was used in a
>> somewhat different programming language context, not as part of
>> describing a language but as an element of the language. The
>> assembly language for IBM System/360 had constants, both ordinary
>> numeric and character constants, and symbolic constants (defined
>> with EQU). Constants could be used as direct operands for some
>> instructions, depending on the particulars of the instruction and
>> for which operand, and represented values encoded directly in the
>> instruction. Distinct from constants there were also /literals/,
>> a distinct category of operand that produced the address of an
>> initialized anonymous region of memory. Here are two example
>> lines of assembly, to illustrate the difference:
>>
>> OI VAL+2,X'F0'
>> C 3,=F'1000'
>>
>> In the first line, there are two constants, 2 and X'F0'. These
>> tokens are numerical quantities that are used directly in the
>> generated instruction. (In the case of the constant 2 the value
>> is added to the address VAL, and it is the sum that is used to
>> produce the bytes of the instruction, but the key property is
>> that the value 2 participates locally, and not remotely.)
>>
>> The second line has a constant 3 and a literal =F'1000'. Like in
>> the first line, the value 3 is used directly in the generated
>> instruction. The literal =F'1000' is not used directly. Instead,
>> the assembler keeps track of literals used in the program, and
>> uses them to initialize areas of memory elsewhere in the program.
>> A use of a literal, such as the =F'1000' here, results in the
>> address of the memory area reserved for the value of the literal.
>> (There are some further details about literals, such as literal
>> pools and the LTORG directive, that I won't explain because those
>> details are not important to the discussion.)
>>
>> Note the parallels between how these terms are used in assembly
>> language and in C. Constants are used to generate code but appear
>> only implicitly; literals always occupy areas of memory (objects)
>> and use of a literal causes its address (lvalue) to be part of a
>> generated instruction. The distinction between constants and
>> literals is primarily a semantic distinction, not a syntactic one.
>>
>> Besides being more historically faithful, having two different
>> terms provides a useful semantic distinction that would disappear
>> if the term "literal" were used for both concepts.
>>
>>
>>>> Given a choice between the level of confusion seen in the C++
>>>> standard and the level of confusion seen in the C standard ("integer
>>>> constant" and "integer constant expression" is confusing? really?)
>>>> I'm happy to be on the side of C's choice any day of the week and
>>>> twice on Sunday. Please cast my vote to continue using the terms
>>>> "constant" and "literal" as they are used in the C standard.
>>>
>>> I use those terms simply because that's how they're used in the C
>>> standard.
>>
>> Obviously it's a good idea to use terminology in the C standard
>> when talking about the C language. My point though is that the
>> terminology used in the C standard is a better choice both
>> historically and semantically.
>
> Ok, that's some interesting history -- but I've never heard of
> anything other than IBM System/360 assembly language (and C) that
> makes that particular distinction. Most programmers these days
> (myself included) are not more than vaguely familiar with
> System/360.

I have seen "literal" used in the descriptions of other high level
languages in much the same sense that it is used in C and in 360
Assembly. I don't remember where and haven't made an effort to
track them down.

> The distinction you suggest never occurred to me until you brought
> it up here. (The term "string literal" appears to have been
> introduced in K&R1, 1978; earlier documents use the term "string".
> All C documents I've checked back to 1975 refer to integer,
> character, and floating constants as "constants". B did the same.
> BCPL used the term "string constant".)
>
> Do you have other examples, or evidence that the distinction
> between "literals" and "constants" has been common?

I think this question misses the point of my comments. The word
"constant" seems reasonable to me for the sorts of things that C
calls constants; maybe another word would be okay, I haven't
really thought about it. My point though is not that "constant" is
right but that "literal" is wrong, both because it is ahistorical
and because it hides an important semantic distinction.

Furthermore, using "literal" for both constants and literals is bad
in another way, because the secondary meaning of "literal" had to
do with a lexical property (that "literals" correspond to terminal
symbols), but that property is lost when applied to things like
compound literals. I don't know if other languages do something
like that, but if they do then they are showing poor use of
language - in particular, copying the form of a word use without
understanding the underlying meaning. There's no reason to copy
bad examples, no matter how many of them there are.


Click here to read the complete article
Re: you think rust may outthrone c?

<87350k3w2u.fsf@fatphil.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27721&group=comp.lang.c#27721

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: pc+use...@asdf.org (Phil Carmody)
Newsgroups: comp.lang.c
Subject: Re: you think rust may outthrone c?
Date: Tue, 15 Aug 2023 23:11:05 +0300
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <87350k3w2u.fsf@fatphil.org>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<87wmydv39y.fsf@bsb.me.uk>
<c707dddd-c94e-47bf-9ae6-a8537d245ac1n@googlegroups.com>
<uaeivj$9urb$1@dont-email.me>
<27a833dc-67b7-4195-a3f5-8d8c60ad3d2fn@googlegroups.com>
<uafsqe$mtv7$1@dont-email.me> <X=vUTZgAAVQwBn6et@bongo-ra.co>
<uaj4gk$1alq7$1@dont-email.me>
<cbe7d004-e90b-41d7-9a34-c711ef9c3949n@googlegroups.com>
<uaj7iv$1b5h7$1@dont-email.me>
<2caab55a-f70e-457f-a4d2-ee912c27b681n@googlegroups.com>
<ualceb$1nnq7$1@dont-email.me>
<1aceef78-a719-424e-9234-63bc7531105cn@googlegroups.com>
<uatmcb$3eti9$1@dont-email.me>
<a33ce226-3826-4b0c-97fc-585105018304n@googlegroups.com>
<87bkfhqfqx.fsf@nosuchdomain.example.com>
<ub00ij$3uknp$1@dont-email.me> <20230809095615.602@kylheku.com>
<ubfnud$2q8ip$1@dont-email.me> <87fs4k4avj.fsf@fatphil.org>
<ubg512$2sgin$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="9176dbab4427e178b28c3a609a56f3cb";
logging-data="3113645"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Y9p7aqmSFcj2lzkNlRpOE"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Cancel-Lock: sha1:6t5nIREjyTzn/L6IEqIwGzNKwZw=
sha1:CyP17FT1z6aAb85BCHbWkiEEEjA=
 by: Phil Carmody - Tue, 15 Aug 2023 20:11 UTC

David Brown <david.brown@hesbynett.no> writes:
> On 15/08/2023 16:51, Phil Carmody wrote:
>> David Brown <david.brown@hesbynett.no> writes:

>>> But "naïve" is not a native English
>>> word

> It is absolutely fine to write "naïve"
> in English

You're suffering cognitive dissonance.

Phil
--
We are no longer hunters and nomads. No longer awed and frightened, as we have
gained some understanding of the world in which we live. As such, we can cast
aside childish remnants from the dawn of our civilization.
-- NotSanguine on SoylentNews, after Eugen Weber in /The Western Tradition/

Re: you think rust may outthrone c?

<86bkf86lzx.fsf@linuxsc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27734&group=comp.lang.c#27734

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.lang.c
Subject: Re: you think rust may outthrone c?
Date: Tue, 15 Aug 2023 14:20:34 -0700
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <86bkf86lzx.fsf@linuxsc.com>
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com> <u9e8so$3addm$1@dont-email.me> <u9edc7$3bdu0$1@dont-email.me> <u9em5t$3d7sv$1@dont-email.me> <875y6dne2u.fsf@nosuchdomain.example.com> <u9evak$3eutv$1@dont-email.me> <3ff53ffd-299b-4dc8-a503-cfd170ce3e03n@googlegroups.com> <u9gbnu$3pc9g$1@dont-email.me> <u9h29k$3ssnr$1@dont-email.me> <u9hob6$3vo3c$1@dont-email.me> <u9jig1$9lnb$2@dont-email.me> <u9jm4i$a4dp$1@dont-email.me> <u9jqnf$ak1k$1@dont-email.me> <u9juf1$avv8$1@dont-email.me> <u9lafa$j89a$1@dont-email.me> <u9li0r$k6vn$1@dont-email.me> <87ila9laoa.fsf@bsb.me.uk> <86cz0fs86n.fsf@linuxsc.com> <87pm4fqppe.fsf@nosuchdomain.example.com> <86r0o887op.fsf@linuxsc.com> <87350nomsc.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: dont-email.me; posting-host="4aa43ab23f99b81d777a1b3458fe2d41";
logging-data="3135094"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18L1QRdKdMEbcVDZ/7lttZLqLlQNnoMsEc="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:YWh+TpLp8f06ZEonaskIjLmadNw=
sha1:R+o7gUK/zIARHJhyEcYvt1h73UQ=
 by: Tim Rentsch - Tue, 15 Aug 2023 21:20 UTC

A postscript to my recent posting...

Perusing the C++ standard, I stumbled on this note:

Note: A literal type is one for which it might be possible
to create an object within a constant expression. It is not
a guarantee that it is possible to create such an object,
nor is it a guarantee that any object of that type will be
usable in a constant expression. --end note

No point to make, I just thought it's amusing.

Re: you think rust may *DE*throne c?

<c678b5b3-e3f2-4f6e-bf4b-dd09b8766e01n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27783&group=comp.lang.c#27783

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ad4:4e07:0:b0:641:8a6a:328e with SMTP id dl7-20020ad44e07000000b006418a6a328emr36387qvb.8.1692205742484;
Wed, 16 Aug 2023 10:09:02 -0700 (PDT)
X-Received: by 2002:a17:903:2343:b0:1bd:df9a:4fbd with SMTP id
c3-20020a170903234300b001bddf9a4fbdmr901489plh.11.1692205741942; Wed, 16 Aug
2023 10:09:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.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.c
Date: Wed, 16 Aug 2023 10:09:01 -0700 (PDT)
In-Reply-To: <a7583b52-b94e-403e-9ace-dff8d4f4cf19n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.144; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.144
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com>
<uat9ca$3cjmt$1@dont-email.me> <uatjcp$3ec7b$1@dont-email.me>
<uatlrr$3epln$1@dont-email.me> <uatr2m$3fla4$1@dont-email.me>
<909acf23-ef0e-44c7-9ebf-89846e50e871n@googlegroups.com> <p_uAM.489417$mPI2.398490@fx15.iad>
<e5d7b49e-3472-4b70-8c52-d21243725d15n@googlegroups.com> <87zg31ezu5.fsf@bsb.me.uk>
<uavpcf$3t64r$1@dont-email.me> <87bkffg6qz.fsf@bsb.me.uk> <ub1840$3q1k$1@dont-email.me>
<87zg2zej54.fsf@bsb.me.uk> <Hr6BM.359405$xMqa.20823@fx12.iad>
<87il9ndiz9.fsf@bsb.me.uk> <ubfs11$2qfen$7@dont-email.me> <a7583b52-b94e-403e-9ace-dff8d4f4cf19n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c678b5b3-e3f2-4f6e-bf4b-dd09b8766e01n@googlegroups.com>
Subject: Re: you think rust may *DE*throne c?
From: profesor...@gmail.com (fir)
Injection-Date: Wed, 16 Aug 2023 17:09:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3076
 by: fir - Wed, 16 Aug 2023 17:09 UTC

wtorek, 15 sierpnia 2023 o 15:26:23 UTC+2 Malcolm McLean napisał(a):
> Most big processors have a hardware square root function. So I would hope
> compilers would inline calls rather than use a library.

i think to use this there should be some new calling convention to put in
declarations/header like
__hardware double sqrt(double);

(may be bester looking word)

btw the risc vs cisc 'discussion' is still valid imo..
is valid for example here becouse such things like sin, sqrt etc you may
count by using 'series' (or how it is called in english) with basic arithmetic)..
which is risc solution with this advantage you may chose yourself how many bits of precision you need (sometimes with simpel division you also dont need 50
bits but just like 10 or something..though i dont know if division is to count by series too)

cisc in turn can be eral optimisation..and if cisc work im not against it (though it better should be somewhat elegant and real usable...more interesting it would be to found "cisc" cases which would improve general coding for some big/notable factor liek 50% or something though today memory bandwidth is probably total bottleneck not the cpu (assuming memopry bandwidth is not a cpu problem, as i dont know if it is ram pieces or cpu problem)

Re: you think rust may *DE*throne c?

<326683fa-2e28-456c-8aae-04dca80fbe81n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27892&group=comp.lang.c#27892

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:8f10:b0:76d:8cc1:55a0 with SMTP id rh16-20020a05620a8f1000b0076d8cc155a0mr15752qkn.12.1692369405728; Fri, 18 Aug 2023 07:36:45 -0700 (PDT)
X-Received: by 2002:a17:903:41ca:b0:1bf:1a9e:85f6 with SMTP id u10-20020a17090341ca00b001bf1a9e85f6mr864854ple.7.1692369405227; Fri, 18 Aug 2023 07:36:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.11.MISMATCH!border-1.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.c
Date: Fri, 18 Aug 2023 07:36:44 -0700 (PDT)
In-Reply-To: <c678b5b3-e3f2-4f6e-bf4b-dd09b8766e01n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.117; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.117
References: <ebb9e01a-6369-4629-8b38-11d28df63693n@googlegroups.com> <uat9ca$3cjmt$1@dont-email.me> <uatjcp$3ec7b$1@dont-email.me> <uatlrr$3epln$1@dont-email.me> <uatr2m$3fla4$1@dont-email.me> <909acf23-ef0e-44c7-9ebf-89846e50e871n@googlegroups.com> <p_uAM.489417$mPI2.398490@fx15.iad> <e5d7b49e-3472-4b70-8c52-d21243725d15n@googlegroups.com> <87zg31ezu5.fsf@bsb.me.uk> <uavpcf$3t64r$1@dont-email.me> <87bkffg6qz.fsf@bsb.me.uk> <ub1840$3q1k$1@dont-email.me> <87zg2zej54.fsf@bsb.me.uk> <Hr6BM.359405$xMqa.20823@fx12.iad> <87il9ndiz9.fsf@bsb.me.uk> <ubfs11$2qfen$7@dont-email.me> <a7583b52-b94e-403e-9ace-dff8d4f4cf19n@googlegroups.com> <c678b5b3-e3f2-4f6e-bf4b-dd09b8766e01n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <326683fa-2e28-456c-8aae-04dca80fbe81n@googlegroups.com>
Subject: Re: you think rust may *DE*throne c?
From: profesor...@gmail.com (fir)
Injection-Date: Fri, 18 Aug 2023 14:36:45 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 0
 by: fir - Fri, 18 Aug 2023 14:36 UTC

this thread stopped ad 968 messages, maybe add yet some to reach 1000?

Pages:123456789101112131415161718192021222324252627282930313233343536373839
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor