Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A computer scientist is someone who fixes things that aren't broken.


devel / comp.compilers / Re: another C-like language? was Compilers :)

SubjectAuthor
* Re: another C-like language? was Compilers :)Steve Limb
+* Re: another C-like language? was Compilers :)gah4
|`* Re: another C-like language? was Compilers :)Aharon Robbins
| `- Re: another C-like language? was Compilers :)gah4
`* Re: another C-like language? was Compilers :)marb...@yahoo.co.uk
 +- Re: another C-like language? was Compilers :)gah4
 +* Re: another C-like language? was Compilers :)David Brown
 |`* Re: another C-like language? was Compilers :)Kaz Kylheku
 | +* Re: another C-like language? was Compilers :)David Brown
 | |+* Re: another C-like language? was Compilers :)gah4
 | ||`* Re: another C-like language? was Compilers :)David Brown
 | || +- Re: back in the 60s, another C-like language? was Compilers :)gah4
 | || `- Re: another C-like language? was Compilers :)marb...@yahoo.co.uk
 | |+* Re: another C-like language? was Compilers :)Kaz Kylheku
 | ||`- Re: Scheme is not another C-like language? was Compilers :)George Neuner
 | |`- Re: another C-like language? was Compilers :)Bill Findlay
 | +* Re: another C-like language? was Compilers :)Thomas Koenig
 | |`* Re: another C-like language? was Compilers :)marb...@yahoo.co.uk
 | | `- Re: another C-like language? was Compilers :)Andy Walker
 | `* Re: another C-like language? was Compilers :)Luke A. Guest
 |  +- Re: another C-like language? was Compilers :)George Neuner
 |  `- Re: another C-like language? was Compilers :)Kaz Kylheku
 `* Re: another C-like language? was Compilers :)marb...@yahoo.co.uk
  `* Re: another C-like language? was Compilers :)David Brown
   +* Re: another C-like language? was Compilers :)Hans-Peter Diettrich
   |`- Re: C scopes, another C-like language? was Compilers :)David Brown
   `- Re: another C-like language? was Compilers :)Keith Thompson

Pages:12
Re: another C-like language? was Compilers :)

<23-01-060@comp.compilers>

 copy mid

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

 copy link   Newsgroups: comp.compilers
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end
From: marbly...@yahoo.co.uk (marb...@yahoo.co.uk)
Newsgroups: comp.compilers
Subject: Re: another C-like language? was Compilers :)
Date: Sun, 15 Jan 2023 04:26:48 -0800 (PST)
Organization: Compilers Central
Sender: news@iecc.com
Approved: comp.compilers@iecc.com
Message-ID: <23-01-060@comp.compilers>
References: <23-01-001@comp.compilers> <23-01-002@comp.compilers> <23-01-003@comp.compilers> <23-01-008@comp.compilers> <23-01-016@comp.compilers> <23-01-029@comp.compilers> <23-01-033@comp.compilers> <23-01-034@comp.compilers> <23-01-040@comp.compilers>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="39257"; mail-complaints-to="abuse@iecc.com"
Keywords: C, optimize
Posted-Date: 15 Jan 2023 13:11:12 EST
X-submission-address: compilers@iecc.com
X-moderator-address: compilers-request@iecc.com
X-FAQ-and-archives: http://compilers.iecc.com
In-Reply-To: <23-01-040@comp.compilers>
 by: marb...@yahoo.co.uk - Sun, 15 Jan 2023 12:26 UTC

On Wednesday, 11 January 2023 at 23:10:38 UTC, David Brown wrote:
> The same applies to C and C++ programming, when using static error
> checking. (And during development, you should definitely be using a
> compiler capable of spotting missing initialisations, and you should
> treat such warnings as bugs in your code.) And like Java tools, C and
> C++ compilers are not /quite/ perfect :-)
>
> So I agree that there are occasional uses for such "artificial"
> initialisation. There are also occasions when declaring a variable
> without initialising makes sense because you will later set its value
> inside a conditional.

Indeed. I've occasionally had compilers complain about uninitialised
variables though I could see that my (rather perverse?) code did
always initialise them before they were used (but possibly not if they
weren't). In such cases, I've added an initialisation to the
declaration just to shut the compiler up. (Warnings of uninitialised
variables usually do indicate bugs.)

Re: another C-like language? was Compilers :)

<23-01-061@comp.compilers>

 copy mid

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

 copy link   Newsgroups: comp.compilers
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end
From: anw...@cuboid.co.uk (Andy Walker)
Newsgroups: comp.compilers
Subject: Re: another C-like language? was Compilers :)
Date: Sun, 15 Jan 2023 22:01:00 +0000
Organization: Not very much
Sender: news@iecc.com
Approved: comp.compilers@iecc.com
Message-ID: <23-01-061@comp.compilers>
References: <23-01-001@comp.compilers> <23-01-002@comp.compilers> <23-01-003@comp.compilers> <23-01-008@comp.compilers> <23-01-016@comp.compilers> <23-01-029@comp.compilers> <23-01-037@comp.compilers> <23-01-059@comp.compilers>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="24450"; mail-complaints-to="abuse@iecc.com"
Keywords: algol68, history
Posted-Date: 15 Jan 2023 21:16:22 EST
X-submission-address: compilers@iecc.com
X-moderator-address: compilers-request@iecc.com
X-FAQ-and-archives: http://compilers.iecc.com
Content-Language: en-GB
 by: Andy Walker - Sun, 15 Jan 2023 22:01 UTC

On 15/01/2023 12:21, marb...@yahoo.co.uk wrote:
> [...] I gather it took 6 years to write the first
> complete A68 compiler! Well, strictly speaking, they'd revised A68 by
> then, so it was an A68R compiler.

A68-R was announced in July 1970, so much less than 6 years
from the A68 Report [December 1968]. It wasn't entirely a complete
compiler, having a few changes primarily to permit single-pass
compilation [but also, eg, "CODE ... EDOC" brackets for embedded
machine code]. Nothing to do with the Revised Report, which was
several years later, and incorporated the experience of A68-R. It
also took much less than 6 years from the publication of the RR to
the first compilers.

--
Andy Walker, Nottingham.
Andy's music pages: www.cuboid.me.uk/andy/Music
Composer of the day: www.cuboid.me.uk/andy/Music/Composers/Byrd

Pages:12
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor