Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80273

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?

References <CAK_6RwdnUbMBPheTcLRs5-x+3yhMuaJovuBAnVewiaOkXT9h0Q@mail.gmail.com> <mailman.15475.1415154617.18130.python-list@python.org> <m3dec7$6cl$1@reader1.panix.com>
Date 2014-11-06 02:21 +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 <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15499.1415200924.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Nov 6, 2014 at 2:05 AM, Grant Edwards <invalid@invalid.invalid> wrote:
> On 2014-11-05, Dennis Lee Bieber <wlfraed@ix.netcom.com> 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

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-11-04 21:30 -0500
  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? Grant Edwards <invalid@invalid.invalid> - 2014-11-05 15:05 +0000
    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? Chris Angelico <rosuav@gmail.com> - 2014-11-06 02:21 +1100
  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? Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-05 15:38 +0000
    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? Cameron Simpson <cs@zip.com.au> - 2014-11-06 09:27 +1100
    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? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-11-05 22:33 -0500
    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? "Clayton Kirkwood" <crk@godblessthe.us> - 2014-11-05 15:14 -0800
    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? William Ray Wing <wrw@mac.com> - 2014-11-06 09:19 -0500

csiph-web