From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <448A0375.5030207@lanl.gov> Date: Fri, 9 Jun 2006 17:25:41 -0600 From: Ronald G Minnich User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] quantity vs. quality References: <4ef97ffa3f0bbb8004fb870726536e2c@collyer.net> <50097123-1D9F-400C-BABA-3F9A4B352733@orthanc.ca> <20060608030512.GE13116@augusta.math.psu.edu> <20060609220308.GA2291@submarine> <3e1162e60606091544p5be17e81k201735720c8c1a1@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 65c6347a-ead1-11e9-9d60-3106f5b1d025 Latchesar Ionkov wrote: > Another example is using emalloc in libraries. I agree that it is much > simpler to just give up when there is not enough memory (which is also > not very likely case), but is that how the code is supposed to be > written if you are not doing research? yes, that is a problem with a lot of code. "Just bail on first error" -- we've had to stop using emalloc here because that is very unrealistic for production support. ron