This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [isocpp-parallel] Proposal for new memory_order_consume definition

On 02/28/2016 05:13 PM, Linus Torvalds wrote:

Yeah, let's just say that the original C designers were
better at their job than a gaggle of standards people who were making
bad crap up to make some Fortran-style programs go faster.

The original C designers were defining a language that would make it easy to write operating systems in (and not having to rely on assembler).

I misled the quote where they said they first tried Fortran (and concluded it didn't fit their purpose).

BTW, Fortran was designed around floating point arithmetic (and its non-relation to the mathematical concept of the field of the reals).

It used integers only for counting and indexing arrays, so it had no purpose for "signed integers that overflowed". Therefore, to the Fortran standard, this was "undefined". It was literally "undefined" - as it was not described by the standard's text.

Toon Moene - e-mail: - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home:; weather:
Progress of GNU Fortran:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]