From owner-freebsd-questions Fri Nov 19 15:29:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id EE9921507B for ; Fri, 19 Nov 1999 15:29:43 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.0.4] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.092 #1) id 11ovsX-000GnR-00; Fri, 19 Nov 1999 21:47:37 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.092 #1) id 11ovsX-0000x7-00; Fri, 19 Nov 1999 21:47:37 +0000 Date: Fri, 19 Nov 1999 21:47:37 +0000 From: Ben Smithurst To: "Oleg V. Volkov" Cc: Matthias Buelow , freebsd-questions@freebsd.org Subject: Re: Is there correct way for program to read from itself? Message-ID: <19991119214737.A3558@strontium.scientia.demon.co.uk> References: <19991118152324.37840@mojave.sitaranetworks.com> <19991118232846.A63288@fly.lglobus.ru> <19991118154736.22915@mojave.sitaranetworks.com> <19991119002759.B63288@fly.lglobus.ru> <19991118172315.02758@mojave.sitaranetworks.com> <19991119012822.A63914@fly.lglobus.ru> <19991119111026.11577@mojave.sitaranetworks.com> <19991119220338.B68540@fly.lglobus.ru> <19991119201806.A442@altair.mayn.de> <19991119231120.A69591@fly.lglobus.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991119231120.A69591@fly.lglobus.ru> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oleg V. Volkov wrote: > On Fri, Nov 19, 1999 at 08:18:06PM +0100, Matthias Buelow wrote: > >> Executable compressor? I thought DOS with tiny floppies was dead? >> :) I don't think such a thing is useful; if it works at all, if >> would dynamically generate the actual executable segments (code, >> data, bss and whatever is hiding in today's elf stuff) defeating >> the system's cache mechanisms for sharing code pages among multiple >> running processes of the same executable image etc. which might >> especially be critical since you probably want to compress very large >> object files. Other disadvantages might come into action. I don't >> think it makes sense at all generally in the days of very cheap >> multi-gigabyte disks and object files contribute only marginally to >> a typical filesystem fillage (mp3 files collections being much more >> space hungry on many personal systems). > > [...] BTW do not forget about bandwidth downloading 8mb and 1,5 mb > makes difference on 64k not to mention worse connections. What the hell has this got to do with anything? You download a gzipped copy of the executable, and then gunzip it and save it somewhere on your disk, uncompressed. Why does the executable have to be compressed after downloading? It seems stupid to me. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message