On Thu Feb  3 04:36:35 EST 2011, fors...@terzarima.net wrote:
> > The finished version will support strings backed by file storage
> 
> string(2) doesn't go quite that far, but is used by the mailer upas
> and perhaps other things to reduce the instances of arbitrarily low limits
> and bounds exceeded.

unfortunately string has an clunky interface.
s_to_c, etc.  and it begets clunky hacks that assume
implementation.  but i don't think you can do much better with
the interface in c.  Rune*s don't work very well and they've
essentially doubled the functions in the c library.

i think you're better off with char*s and realloc.
it's worth looking at the heavy machinery in sam
and acme, though, and comparing against ed.

- erik

Reply via email to