<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I was just kidding!<br>
<br>
Dan Adams wrote:
<blockquote cite="mid002101c56e2b$fbf7fe70$3c00000a@daninfochi"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <title>Message</title>
  <meta content="MSHTML 6.00.2800.1498" name="GENERATOR">
  <div><span class="974341702-11062005">Yes, but writing Java code
rather than c++ isn't necessarily the solution if the project is to be
programmed in c++. I am not necessarily suggesting a solution, but I am
in agreement with Robin that using the try/catch/throw stuff along with
garbage collection is a good idea through whatever programming.</span></div>
  <div><span class="974341702-11062005"></span>&nbsp;</div>
  <div><span class="974341702-11062005"><font face="Arial" size="2">Dan</font></span></div>
  <div><span class="974341702-11062005"></span>&nbsp;</div>
  <div class="OutlookMessageHeader" align="left" dir="ltr" lang="en-us"><font
 face="Tahoma" size="2">-----Original Message-----<br>
  <b>From:</b> <a class="moz-txt-link-abbreviated" href="mailto:sword-devel-bounces@crosswire.org">sword-devel-bounces@crosswire.org</a>
[<a class="moz-txt-link-freetext" href="mailto:sword-devel-bounces@crosswire.org">mailto:sword-devel-bounces@crosswire.org</a>] <b>On Behalf Of </b>DM
Smith<br>
  <b>Sent:</b> Friday, June 10, 2005 7:04 PM<br>
  <b>To:</b> SWORD Developers' Collaboration Forum<br>
  <b>Subject:</b> Re: [sword-devel] Re: sword-devel Digest, Vol 15,
Issue 13 ErrorHandling<br>
  <br>
  </font></div>
  <a class="moz-txt-link-abbreviated" href="mailto:RLRANDALLX@aol.com">RLRANDALLX@aol.com</a>
wrote:
  <blockquote cite="midce.6a538640.2fdb95c8@aol.com" type="cite">
    <meta content="MSHTML 6.00.2900.2627" name="GENERATOR">
    <font id="role_document" color="#000000" face="Arial" size="2">
    <div>
    <div>
    <div>In a message dated 6/10/2005 12:03:57 P.M. Pacific Daylight
Time, <a class="moz-txt-link-abbreviated"
 href="mailto:sword-devel-request@crosswire.org">sword-devel-request@crosswire.org</a>
writes:</div>
    <blockquote
 style="border-left: 2px solid blue; padding-left: 5px; margin-left: 5px;"><font
 style="background-color: transparent;" color="#000000" face="Arial"
 size="2"><br>
Hey Daniel,<br>
&nbsp; &nbsp; Thanks for the catch, but we don't check for successful memory <br>
allocation anywhere in the engine.&nbsp; I'm not sure what we'd do if we ran
      <br>
out of memory.&nbsp; Gracefully degradating from such a state is a complex <br>
problem.&nbsp; Also, our engine doesn't use try/catch/throw error handling, <br>
so throwing anything would cross a consistency line.&nbsp; Note: not
debating <br>
that we SHOULDN'T use exception error handling, only that we currently <br>
do not</font></blockquote>
    </div>
Troy,</div>
    <div>&nbsp;</div>
    <div>Wearing my QA hat, I think we ought to plan on using
try/catch/throw error handling pretty soon.&nbsp; How about after your
sabbatical?:) Also can we set some standard for garbage collection?&nbsp;
For example when we construct a temporary object is the deconstructor
working properly to clean things up? I'm not a C++ programmer, so maybe
you have some better ideas to help keep us&nbsp;from running out of memory.</div>
    <div>&nbsp;</div>
    </font></blockquote>
I have found the best way to handle memory problems in C++ is to write
code in Java ;)<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
</body>
</html>