From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cea30133e185dc3 X-Google-Attributes: gidfee84,public X-Google-Thread: 1014db,cea30133e185dc3 X-Google-Attributes: gid1014db,public From: kaz@cafe.dot.net (Kaz Kylheku) Subject: Re: How do you release memory back to the kernel in C Date: 1998/05/21 Message-ID: <35648d09.2507302420@207.126.101.81>#1/1 X-Deja-AN: 355337511 References: <35616C36.9167165F@citicorp.com> <35620a04.2342689789@207.126.101.81> <6jv9kk$uqc@ds2.acs.ucalgary.ca> <35633dce.2421483929@207.126.101.81> <125D9A1BA03D8776.FEF9821DB00860BE.0E4 <895712304snz@genesis.demon.co.uk> Reply-To: kaz@cafe.net X-Complaints-To: newsabuse@supernews.com X-Trace: 895781971 8EGGZV7/GD230CCEFC usenet57.supernews.com Organization: Infowave Wireless Messaging Inc. Newsgroups: comp.unix.osf.osf1,comp.lang.c On Thu, 21 May 98 00:58:24 GMT, fred@genesis.demon.co.uk (Lawrence Kirby) wrote: >>Really real programmers write new functions into the space >>formerly occupied by the old ones. > >Formerly? They should occupy the same space simultaneously. By using a >different entry point the same sequence of bytes can be made to represent >a different sequence of instructions (but of course you need a real >archetecture that doesn't have silly instruction alignment requirements). Hey, I used to do that when programming Mostek 6502 based machines. Mother nature also does it. There apparently exist these bacteria whose DNA forms a ring. The protein that is formed depends on where on the ring the decoding beings---the entry point, so to speak. The thing is that the codings for various proteins overlap! It's a hack and a half, not unlike overlapping machine code instructions: in fact, worse. :)