Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.04; 'binary': 0.07; 'subject:code': 0.07; 'abstraction': 0.09; 'bits': 0.09; 'code"': 0.09; 'logic': 0.09; 'portions': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'language,': 0.12; 'aiming': 0.16; 'at,': 0.16; 'binary.': 0.16; 'executor': 0.16; 'fiddle': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'implies': 0.16; 'reality:': 0.16; 'subject:programming': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'thu,': 0.19; 'subject:] ': 0.20; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'holds': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'am,': 0.29; 'instruction': 0.29; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'that.': 0.31; 'breaking': 0.31; 'cells': 0.31; 'dropped': 0.31; 'layer': 0.31; 'subject:that': 0.31; 'anyone': 0.31; 'another': 0.32; '(e.g.': 0.33; 'framework': 0.33; 'maybe': 0.34; 'subject:the': 0.34; 'common': 0.35; 'operate': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'subject:?': 0.36; 'level': 0.37; 'nov': 0.38; 'others.': 0.38; 'subject:can': 0.39; 'how': 0.40; 'truly': 0.60; 'most': 0.60; 'lower': 0.61; "you're": 0.61; 'back': 0.62; 'kind': 0.63; 'computers': 0.72; 'day': 0.76; "everything's": 0.84; 'subject:you': 0.87; 'edwards': 0.91; 'to:none': 0.92; 'subject:OFF': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=tqbJHZlP2zH93ILlFaR4mpyURFUbRKWQbXJNVqHk+Vk=; b=cwQaLyfORZOlX0otvEBuRJJRWEgqvpIXSe02yS/zjqfiCEnnQfuWzx/8q2zklWULU2 G2oKfbtonaZD5AgFGAfKl5BqRjGOToSnOhL4AAmourEoqC3HCaxts48M4I51ZK+pI5iZ sd9SsWpwT6BVWhZu2Uag9x44KXABH+Tewdl3k5Eu80VGaY0X3fKGUo0VBXcH4eVBtEKj CWXQDDGJgXTjjucno1arNOytY59KQePosQqWOL5MPywPIsZNUyoQASrs8XSBahAfxBkP 3/eMDojv+g/q0lOxUOcj85b8mrJiyh41NbncseG272pd9aS5BXFSuuOpJb8FEykw66ws 8Q6Q== MIME-Version: 1.0 X-Received: by 10.107.134.89 with SMTP id i86mr18402502iod.53.1415200915932; Wed, 05 Nov 2014 07:21:55 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Nov 2014 02:21:55 +1100 Subject: Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1415200924 news.xs4all.nl 2882 [2001:888:2000:d::a6]:51388 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:80273 On Thu, Nov 6, 2014 at 2:05 AM, Grant Edwards wrote: > On 2014-11-05, Dennis Lee Bieber wrote: > >> "machine code" typically implies an instruction set specific >> to that machine... ALL computers operate in BINARY logic (a bit only >> holds 0 or 1). How you get those bits into the computer is >> irrelevant. > > Just to muddy the water... > > _Most_ parts of most computers operate in binary. Portions of some > parts (e.g. some NAND flash) use ternary, quaternary, or octal. IIRC, > four-state transistor cells are pretty common at the moment, but some > vendor(s) are working with 8-state cells. Dragging this back to some semblance of reality: Whenever you write code, you're writing code for some kind of executor. No level of abstraction higher or lower truly matters; you just write to the level you're aiming at, and everything else is of educational curiosity only. I might write code for a Python executor one day, and for a C executor another, and then another day maybe I'm writing LaTeX code - that's a language, too, of a sort. If I build my own framework layer above the base executor, that's just added another type of executor to the pool, and now I can target that. Everything's abstractions around something, and *it doesn't matter*, because anyone can fiddle with any layer without disturbing the others. Those eight-state cells can be dropped in without breaking my Python code - that's the whole point of abstractions. They're doing their job. ChrisA