Hi Marvin,

I just saw that you started to work on an immutable string class. It's a good 
idea to get this done before the first Clownfish release. Some implementation 
details have already been discussed on lucy-dev and I have an unpublished, 
local branch where I continued to flesh out the design of string iterators.

I see that you made CharBuf inherit from String as a temporary measure. It 
seems that you have a plan on how to make a gradual transition to immutable 
strings which would be great. Can you share some details about the separate 
steps so I could help with some of the work? From what I understand, the 
process should roughly look like this:

    * Move a couple of methods from CharBuf to String.
    * Implement string iterators.
    * Make CFC convert between Perl and Clownfish strings.
    * Implement a "zombie" string class?
    * Step-by-step conversion of CharBufs to Strings.
    * Make CharBuf a separate class.

Nick

Reply via email to