Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:text': 0.05; '64-bit': 0.07; 'memory.': 0.07; '32-bit': 0.09; "ain't": 0.09; 'executable': 0.09; 'linear': 0.09; 'subject:question': 0.10; '16-bit': 0.16; '8-bit': 0.16; 'processors': 0.16; 'quoted': 0.16; 'sure.': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'machine': 0.22; 'memory': 0.22; 'saying': 0.22; 'header:User-Agent:1': 0.23; '"you': 0.24; 'processor': 0.24; 'space.': 0.24; 'file.': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'generally': 0.29; 'lines': 0.31; '(although': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'could': 0.34; "can't": 0.35; 'but': 0.35; 'ram': 0.36; 'half': 0.37; 'virtual': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'embedded': 0.39; 'to:addr:python.org': 0.39; 'days': 0.60; 'even': 0.60; 'address': 0.63; 'more': 0.64; 'believe': 0.68; 'yes': 0.68; 'received:74.208': 0.68; 'physical': 0.72; 'electrical': 0.74; '2gb': 0.84; '4gig': 0.84; 'difference.': 0.84; 'processor.': 0.84; 'received:74.208.4.194': 0.84 Date: Thu, 26 Feb 2015 20:57:42 -0500 From: Dave Angel 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: Newbie question about text encoding References: <54EC5FA4.6070703@davea.name> <201502241455.t1OEtffT016452@fido.openend.se> <201502241507.t1OF7aUm018883@fido.openend.se> <201502241524.t1OFO09k022270@fido.openend.se> <201502241620.t1OGKf4n002146@fido.openend.se> <54ECB134.5090304@davea.name> <201502241945.t1OJjshO013092@fido.openend.se> <201502241957.t1OJvrJS015604@fido.openend.se> <00fbd940-52f6-44e2-bf08-b9f35c12e73f@googlegroups.com> <54efc2c8$0$12986$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <54efc2c8$0$12986$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:VAsvZ2os4dSZdThcSl6QwaxMwY9lJIuf8SZuIdi9j+i wY3vUeslJRihxRFlYrSKxOdhRDgB2+sZ2fiOShWRI6Tq8KBxYE Z61MNF2QpKud2Fmp5F1nVEFvWk9Otnk3C/3/dzFY0Pv+WEDaJr 8Zwc0DG9Cyea0zCeiNo5P0HKGyqW6K1R1r6n2dtv0oBkKZn0NU OwxH+8FaS8lLtLH0BOoLbhlnPgXjcCNPEBm3bU8CeeY5KFiEM9 v1VI7RZTeD3rJLAOf5Hugh9Ti9PoiNAWahP7b8g0z0HECx56+D IQjvJMuQWISIi2aQSnYxdtSxG7m65hKlRPxofODWWKZkoaRm4B SX/8cG6wld3iw/vLPwvE= X-UI-Out-Filterresults: notjunk:1; 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: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1425002275 news.xs4all.nl 2880 [2001:888:2000:d::a6]:57949 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86559 On 02/26/2015 08:05 PM, Steven D'Aprano wrote: > Rustom Mody wrote: > > >> eg consider the case of 32 vs 64 bit executables. >> The 64 bit executable is generally larger than the 32 bit one >> Now consider the case of a machine that has say 2GB RAM and a 64-bit >> processor. You could -- I think -- make a reasonable case that all those >> all-zero hi-address-words are 'waste'. > > Sure. The whole point of 64-bit processors is to enable the use of more than > 2GB of RAM. One might as well say that using 32-bit processors is wasteful > if you only have 64K of memory. Yes it is, but the only things which use > 16-bit or 8-bit processors these days are embedded devices. But the 2gig means electrical address lines out of the CPU are wasted, not address space. A 64 bit processor and 64bit OS means you can have more than 4gig in a process space, even if over half of it has to be in the swap file. Linear versus physical makes a big difference. (Although I believe Seymour Cray was quoted as saying that virtual memory is a crock, because "you can't fake what you ain't got.") -- DaveA