ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
RE: Reference counting garbage collection
by Tim Peters other posts by this author
Aug 27 2001 8:58PM messages near this date
Re: Reference counting garbage collection | A survey of Python IDEs - Summary (Long)
[Paul Rubin, presumably asking about word-addressed machines]
>  What machines are those anyway?

Generally high-performance number-crunchers, like several flavors of Cray
and the original Alphas.

>  How do they deal with byte arrays?

Painfully.  Here's a paper about Alphas:

   http://www.research.compaq.com/wrl/DECarchives/DTJ/DTJO08/DTJO08SC.TXT

When C was first implemented on Crays, "byte arrays" were purely a software
fiction.  By convention, we stored a 3-bit byte offset (64-bit words were
the smallest addressable unit) in the *high*-order bits of a pointer.  The
compiler then generated oceans of shift and mask operations accordingly.
short, int and long were all 64 bits.  This was a good test to see whether
programmers had read the C std <wink> .


-- 
http://mail.python.org/mailman/listinfo/python-list
Thread:
Paul Rubin
Tim Peters

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved