From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752396AbcB2Vaa (ORCPT ); Mon, 29 Feb 2016 16:30:30 -0500 Received: from moene.org ([80.101.130.238]:37220 "EHLO moene.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752320AbcB2Va0 (ORCPT ); Mon, 29 Feb 2016 16:30:26 -0500 X-Greylist: delayed 2660 seconds by postgrey-1.27 at vger.kernel.org; Mon, 29 Feb 2016 16:30:25 EST Subject: Re: [isocpp-parallel] Proposal for new memory_order_consume definition To: Linus Torvalds , Markus Trippelsdorf References: <20160218011033.GA1505@linux.vnet.ibm.com> <20160220021516.4898897.32908.5212@gmail.com> <20160220195318.GF3522@linux.vnet.ibm.com> <20160227170615.GU3522@linux.vnet.ibm.com> <20160227231033.GW3522@linux.vnet.ibm.com> <20160228082702.GA300@x4> Cc: Paul McKenney , "linux-arch@vger.kernel.org" , "gcc@gcc.gnu.org" , parallel@lists.isocpp.org, llvm-dev@lists.llvm.org, Will Deacon , Linux Kernel Mailing List , David Howells , Peter Zijlstra , Ramana Radhakrishnan , Luc Maranget , Andrew Morton , Jade Alglave , Ingo Molnar From: Toon Moene Organization: Moene Computational Physics, Maartensdijk, The Netherlands Message-ID: <56D4ADE8.7090403@moene.org> Date: Mon, 29 Feb 2016 21:45:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: toon@moene.org - phone: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/ Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news