From owner-freebsd-hackers Tue Feb 27 22:39:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from syncopation-03.iinet.net.au (syncopation-03.iinet.net.au [203.59.24.49]) by hub.freebsd.org (Postfix) with SMTP id B7E4637B71A for ; Tue, 27 Feb 2001 22:39:17 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 16267 invoked by uid 666); 28 Feb 2001 06:51:10 -0000 Received: from i003-146.nv.iinet.net.au (HELO elischer.org) (203.59.3.146) by mail.m.iinet.net.au with SMTP; 28 Feb 2001 06:51:10 -0000 Message-ID: <3A9C9D11.854BCD5@elischer.org> Date: Tue, 27 Feb 2001 22:39:13 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Wes Peters Cc: adsharma@sharmas.dhs.org, dillon@earth.backplane.com, hackers@freebsd.org Subject: Re: Setting memory allocators for library functions. References: <200102260529.f1Q5T8413011@curve.dellroad.org> <200102261755.f1QHtvr34064@earth.backplane.com> <200102270624.WAA17949@c62443-a.frmt1.sfba.home.com> <3A9BAAF9.C75B39BF@elischer.org> <3A9C9CCC.4F9B521D@softweyr.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wes Peters wrote: > > Julian Elischer wrote: > > > > Arun Sharma wrote: > > > > > > On 26 Feb 2001 18:56:18 +0100, Matt Dillon wrote: > > > > Ha. Right. Go through any piece of significant code and just see how > > > > much goes flying out the window because the code wants to simply assume > > > > things work. Then try coding conditionals all the way through to fix > > > > it... and don't forget you need to propogate the error condition back > > > > up the procedure chain too so the original caller knows why it failed. > > > > > > So, it all comes down to reimplementing the UNIX kernel in a language > > > that supports exceptions, just like Linus suggested :) > > > > I've often considered writing a language SPECIFICALLY for writing the kernel. > > (no other uses) > > > > I mean it basically uses the same mechaninsims over and over and over again... > > > > linked lists, hash tables, nested loops, etc.etc. > > > > I'd like a language that lets me define the module I'm writing, > > define the way it should behave, and let the boring code be taken care of > > by itelf :-) > > Oh, like C++ & STL? > > /me ducks and runs, trying not to gag. no, something specifically designed around kernel type of actions. declarations of "physical pointer", "kvm pointer" "User Pointer" for example, and being able to declare a structure (not 'struct') and say "this list is 'per process'" and have the list head automatically in the proc struct without haviong to add it there.. i.e backwards from today.. > > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > wes@softweyr.com http://softweyr.com/ -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message