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


Groups > comp.lang.python > #86699

Re: Python Worst Practices

Path csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed0.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.83.MISMATCH!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
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; 'mrab': 0.05; 'subject:Python': 0.06; 'permitted': 0.07; 'referring': 0.07; 'bytes,': 0.09; 'bytes.': 0.09; 'interpreted': 0.09; 'lines.': 0.09; 'wrote': 0.14; '16-bit': 0.16; '8-bit': 0.16; '8088': 0.16; 'bits.': 0.16; 'bus.': 0.16; 'interpreter,': 0.16; 'itself,': 0.16; 'language)': 0.16; 'likewise': 0.16; "pc's": 0.16; 'processor,': 0.16; 'processors': 0.16; 'space).': 0.16; 'time).': 0.16; 'words.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'memory': 0.22; '(in': 0.22; 'header:User-Agent:1': 0.23; 'byte': 0.24; 'bytes': 0.24; 'processor': 0.24; 'equivalent': 0.26; 'switch': 0.26; 'header:In-Reply-To:1': 0.27; 'generally': 0.29; 'dec': 0.30; 'code': 0.31; 'compatible': 0.32; 'run': 0.32; 'bus': 0.33; 'could': 0.34; 'basic': 0.35; 'but': 0.35; 'really': 0.36; 'ibm': 0.36; 'half': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'ability': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'most': 0.60; 'first': 0.61; 'address': 0.63; 'term': 0.63; 'more': 0.64; 'taking': 0.65; 'charset:windows-1252': 0.65; 'believe': 0.68; 'received:74.208': 0.68; 'home': 0.69; 'fact,': 0.69; 'therefore': 0.72; 'distinguish': 0.84; 'subject:Practices': 0.84; '8bit': 0.91
Date Sun, 01 Mar 2015 23:49:57 -0500
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Python Worst Practices
References <mclca6$iie$1@ger.gmane.org> <7053A277-9687-49B0-9FDB-CB4DB3E76DEC@gmail.com> <54F0E38D.40006@davea.name> <CAPTjJmqTsB-of0JdJKW4BNW23DEpZ17353fHa9iBHfV8-3uANw@mail.gmail.com> <mailman.19334.1425137628.18130.python-list@python.org> <NinIw.894937$551.656196@fx43.am4> <54f274bb$0$13011$c3e8da3$5496439d@news.astraweb.com> <CAPTjJmoRiTb+gL8BVKHLzGCfPkjXjX1_jU_Osu2FYkUxjC0Aqg@mail.gmail.com> <mif7fadg0g1b276shsagrg2urvonfbbnd8@4ax.com> <54F3C3FF.3040608@mrabarnett.plus.com>
In-Reply-To <54F3C3FF.3040608@mrabarnett.plus.com>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:3s9G28j2FyvpQLWsBMrAFidwjH5Oqp32Y8MfKiuomGN Zoh6ApzjffYE8c20BAB7XzmL3HvABiSFPz4rAYCAMsheTVm0y5 nAoqh8LaTEUaI9HZlvS3ao2Q5/hcbdpA9FawHbj2qBd1Qukrpl IkR5RW1ActNOKqSm63uwYMnAZHoUPpzPrbASGzVINnUdjXfgRH qtASOuYPPoB3ZvGyppJTnmW07x3GUUbkh0hY0MesgNA1eyK7aa Td463ZX9ZYdoooGiSb0xgPEJDQYWvXcgOc89P/RStls6knHlGY /qZC716kVhS66mVS+l0Psf1xRFWF+7hcTMSAdIIu7usY+41+f1 cccrCvYbRgcWZM6/BrNg=
X-UI-Out-Filterresults notjunk:1;
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.19
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12.1425271817.13471.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1425271817 news.xs4all.nl 2851 [2001:888:2000:d::a6]:59673
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:86699

Show key headers only | View raw


On 03/01/2015 08:59 PM, MRAB wrote:
> On 2015-03-02 01:37, Dennis Lee Bieber wrote
>>
>>     You'd be able to run it on a TI99/4 (in which the BASIC interpreter,
>> itself, was run on an interpreter... nothing like taking the first
>> "16-bit"
>> home computer and shackling it with an interpreted language that was
>> run on
>> an interpreted language)
>>
> The "16-bit" CPU had a 16-bit address bus (64K address space). If you
> were going to switch from an 8-bit processor to a 16-bit processor, one
> of the pluses you'd be looking for would the ability to directly
> address more than 64K.
>

The 16 bit address bus permitted addressing of 64k words.  On most 
processors, that was 64k bytes, though I know one Harris had no bytes, 
but every memory access was 16 bits.  It therefore had the equivalent of 
128k bytes.  Likewise I believe some of the DEC and DG minis had 128k 
bytes of addressability.

Usually, the term 8bit processor was referring to the size of the 
register(s), not the address bus.  All the 8 bit micro-processors had 16 
bit address buses.  In fact, 4 bit processors generally had 12 to 16 bit 
address buses as well.  So a 4 bit processor with a 16 bit address bus 
could address 32k bytes, a half byte (a nybble) at a time).

The IBM PC's 8088 had an 8 bit data-bus and 20 address lines.  But they 
called it a 16bit processor, to try to distinguish it from 8 bit 
processors like the 8080.  Anyway, it was code compatible with the 8086, 
which really did have a 16bit data bus and 20 bit address bus.

-- 
DaveA

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


Thread

Re: Python Worst Practices Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-28 15:33 +0000
  Re: Python Worst Practices BartC <bc@freeuk.com> - 2015-02-28 17:55 +0000
    Re: Python Worst Practices Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-28 18:38 +0000
    Re: Python Worst Practices Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-01 13:08 +1100
      Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-03-01 13:43 +1100
      Re: Python Worst Practices BartC <bc@freeuk.com> - 2015-03-01 12:47 +0000
      Re: Python Worst Practices Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-03-01 20:37 -0500
      Re: Python Worst Practices MRAB <python@mrabarnett.plus.com> - 2015-03-02 01:59 +0000
      Re: Python Worst Practices Dave Angel <davea@davea.name> - 2015-03-01 23:49 -0500
      Re: Python Worst Practices MRAB <python@mrabarnett.plus.com> - 2015-03-02 12:38 +0000
      Re: Python Worst Practices Dave Angel <davea@davea.name> - 2015-03-02 08:12 -0500
      Re: Python Worst Practices Jonas Wielicki <jonas@wielicki.name> - 2015-03-06 07:58 +0100
      Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-03-06 21:09 +1100
        Re: Python Worst Practices Mario Figueiredo <marfig@gmail.com> - 2015-03-07 16:11 +0100

csiph-web