Re: George's buffer stuff

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 05/01/98


I prefer the C version, but that is mostly because
1) i don't really know C++ (first couple attempts were miserable failures)
2) I don't trust g++ enough yet, and face it, that is the default compilier
since UNIX companies started making people buy cc.
3) I already have the C version installed, what a bear that was to add by hand.
--Angus
P.S. if this message gets through unmolested, sorry for the blank messages,
ccmail and compuserve sucks big time.

______________________________ Forward Header __________________________________
Subject: Re:  Help (again)
Author:  INTERNET:CIRCLE@POST.QUEENSU.CA at CSERVE
Date:    4/30/98 9:52 PM


On Thu, 30 Apr 1998, Patrick Dughi wrote:

>want to write a memory manager or something of the sort. If you haven't
>gotten it though, Georges buffer code may help you a bit here, since it
>does quite a bit of work for you to maintain buffer sanity.

Do people prefer a C or C++ version of that code?

C advantage: cleaner interface, easier to understand
  disadvantage: slower, doesn't allow transparent snprintf and immediate
        detection (and prevention) of overruns.

C++, reverse those above.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST