From owner-freebsd-arch Sun Jun 25 2:16:35 2000 Delivered-To: freebsd-arch@freebsd.org Received: from server.baldwin.cx (server.geekhouse.net [64.81.6.52]) by hub.freebsd.org (Postfix) with ESMTP id 7AE7937BD5E; Sun, 25 Jun 2000 02:16:32 -0700 (PDT) (envelope-from john@baldwin.cx) Received: from john.baldwin.cx (root@john.geekhouse.net [192.168.1.18]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id CAA10040; Sun, 25 Jun 2000 02:16:05 -0700 (PDT) (envelope-from john@baldwin.cx) Received: (from john@localhost) by john.baldwin.cx (8.9.3/8.9.3) id CAA02237; Sun, 25 Jun 2000 02:16:23 -0700 (PDT) (envelope-from john) Message-Id: <200006250916.CAA02237@john.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000619160518.F17420@fw.wintelcom.net> Date: Sun, 25 Jun 2000 02:16:22 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: Alfred Perlstein Subject: Re: kblob discussion. Cc: arch@FreeBSD.ORG, Mike Smith , Jonathan Lemon Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 19-Jun-00 Alfred Perlstein wrote: > If it's flexible enough then you won't need to rip out my API, you'll > find it obnoxiously easy to create compatibility shims for it. Egads! This style of thinking leads to complicated code later on in life. Just read locore.s on the i386 and note how we have to maintain 3 (4?) different types of stacks when we start the kernel. For a second example, look at all the ugly hacks we have to do in the loader to handle disk drives via the BIOS on PC's due to have to remain backwards compatible. Adding a limited API that you _expect_ to be replaced in the future by a more generic API feels very wrong. Now, if your feeling is that this more generic API is never going to come along, then having a specific API is better than having none. However, forcing a situation in which we will be forced to maintain backwards compatibility may not be a wise move from a maintenance perspective. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message