Article View: comp.sys.powerpc
Article #2342Re: Ask yourself these before you choosing a 32bit OS...
From: Jerry Shekhel
Date: Tue, 26 Sep 1995 01:11
Date: Tue, 26 Sep 1995 01:11
50 lines
2799 bytes
2799 bytes
Dmitry V. Irtegov (fat@cnit.nsk.su) wrote: : > : >Nope. Your "twice as many instructions" comment is BS. You lock, : >access as many times as you need, then unlock. You don't have to lock : >or dereference twice for each access. : : Well, reality is much more complex. If you do encapsulated routines : for access to data structures, like linked lists, etc, you have to do : lock/unlock in each routine. If you port code from system with linear : memory, often it is very hard to find block boundaries properly. : These are examples that spring to mind first. : These are good points. I totally agree that an application using handles instead of pointers must be designed a certain way. : >: > : >: >That says more about your skill as a programmer than it does about the : >: >Mac's memory scheme. : >: : >: Not every programmer wants to go through blockhead exercises that have : >: nothing to do with the computing task. : > : >But they all have to. It's called programming. : : It is called brainf*cking. On VM systems I do not have to go through : all that crap, my code is both smaller and faster and memory : requirements are comparable or less than Mac or Win3.x. : Why do you keep bringing up VM when it does nothing to solve the problem handles are intended to solve? As for your comments regarding memory requirements, I'd like to see some numbers -- code size, peak data size, etc. : : Actually, there are situation when there _is_ need to do indirection per : each access. And when you try to block your accesses, you might create ugly : bugs that are very hard to find. On other hand, in VM systems MMU hardware : does indirection for you automagicaly. : VM has nothing to do with it. Handles are meant to solve the problem of internal fragmentation, while paged VM solved external fragmentation. There are handle-based allocation libraries for UNIX. MacOS and 16-bit Windows have VM but still use handles, and for a reason. You may agree or disagree with the reason, but VM solves a totally different problem. -- Jerry J. Shekhel jerry@cybercom.net
Technical Details
Message-ID:
<447jvu$1vr@orion.cybercom.net>Path:
arc1-ca.pugleaf.net!kalypso.cybercom.net!jerryReferences:
<3vh2hc$9dd@falcon.ccs.uwo.ca> <wade-1809952212460001@f182-067.net.wisc.edu> <FAT.95Sep25202617@fat.cnit.nsk.su>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!kalypso.cybercom.net!jerry From: jerry@cybercom.net (Jerry Shekhel) Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel,comp.os.ms-windows.advocacy Subject: Re: Ask yourself these before you choosing a 32bit OS... Date: 26 Sep 1995 01:11:26 GMT Organization: Cyber Access Internet Communications, Inc. Distribution: world Message-ID: <447jvu$1vr@orion.cybercom.net> References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <wade-1809952212460001@f182-067.net.wisc.edu> <FAT.95Sep25202617@fat.cnit.nsk.su> NNTP-Posting-Host: kalypso.cybercom.net X-Newsreader: TIN [version 1.2 PL2]