Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: "core C" Date: Wed, 01 Jul 2015 07:54:59 -0700 Organization: None to speak of Lines: 36 Message-ID: References: <338c5ea9-9021-4791-ac3d-62b56671b731@googlegroups.com> <8a9c228f-0b42-47e6-a427-6fc68cb04f88@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="13900"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cS2jRMh4ZJ/8RpB+FRymy" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:K9GypoRUCK2EHkA9Re9ub9WlDTQ= sha1:ugB3edzpnzKni9+XgGZUzIYqzhI= Xref: csiph.com comp.lang.c:64585 David Brown writes: > On 01/07/15 02:30, Keith Thompson wrote: >> Malcolm McLean writes: >>> On Tuesday, June 30, 2015 at 11:52:42 PM UTC+1, Ian Collins wrote: >>>> Malcolm McLean wrote: >>>>> >>>>> Because all code has to do a little bit of flow control and >>>>> arithmetical work. But algorithm implementation does just that, >>>>> together with memory allocation. Other code needs things like >>>>> thread control, timings and interrupts for reading data from ports, >>>>> and high-level concepts like windows. You can get rid of all that >>>>> for a lot of algorithms development. >>>> >>>> In other words use standard C as is, not some rehash. >>>> >>> ANSI C is pretty good for the purpose, yes. >> >> By "ANSI C", do you mean the language defined by the 1989 ANSI standard >> (complete with the implicit int rule)? Or do you mean the version >> defined by the 2011 ISO C standard, which is the only one currently >> recognized by ANSI? > > Let's just say "standard C", and skip the details. That would be ISO C. (But that doesn't tell us what Malcolm meant by it.) > The point is, I > think, that ordinary, everyday C that we know and love is suitable - we > don't need a new "Core C" to do the sorts of jobs Malcolm is talking about. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"