🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #1947

Re: Answers, Chapter 1: TeX (was C's sins... and others)

#1947
From: Jim Giles
Date: Tue, 06 Nov 1990 21:56
14 lines
1079 bytes
From article <7298:Nov620:50:5990@kramden.acf.nyu.edu>, by brnstnd@kramden.acf.nyu.edu (Dan Bernstein):
> [...]
> Huh? Pointers are used to track the segments. It's just that you never
> try to use one pointer across segments. This sort of bi-level allocation
> is actually rather easy. Pointers are perfectly adequate for writing the
> _whole_ memory manager.

Well, not on my PC at any rate.  Segments have a maximum size of
64K.  The memory is 640K.  Clearly, some arithmetic on numbers bigger
than 16-bits is required to keep track of free space.  C pointers
can't do that.  But, _something_ must be.  Must not be pointers though,
all them use 16-bit arithmetic.

J. Giles
Technical Details
Message-ID: <5091@lanl.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!lanl!jlg
References: <7298:Nov620:50:5990@kramden.acf.nyu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!lanl!jlg
From: jlg@lanl.gov (Jim Giles)
Newsgroups: comp.lang.misc
Subject: Re: Answers, Chapter 1: TeX (was C's sins... and others)
Message-ID: <5091@lanl.gov>
Date: 6 Nov 90 21:56:04 GMT
References: <7298:Nov620:50:5990@kramden.acf.nyu.edu>
Organization: Los Alamos Natl Lab, Los Alamos, N.M.
Lines: 14