[sldev] Uses of LLString and std::string ?

Tofu Linden tofu.linden at lindenlab.com
Wed Jan 23 08:57:02 PST 2008


Nik Radford wrote:
> I thought it was because the std library wasn't too stable when they
> started out writing SL so they ended up writing there own imlpementation
> of things.
> 
> I assume over time, std got stable and standard like and stuff and so its
> been okay to use it thus the intermixing.

That approximately matches what I've heard from our code historians -
and our newer code tries to use std::string exclusively.  (The other
day I heard someone mutter 'LLString must die'.)  Similarly we
prefer 'bool' over 'BOOL' now, C++ containers to our own skiplist
and hash implementations, etc.

-Tofu


More information about the SLDev mailing list