Why Redis Doesn’t Use C Language Strings and Instead ‘Reinvented the Wheel’

Why Redis Doesn't Use C Language Strings and Instead 'Reinvented the Wheel'

Follow us, bookmark us, and join us every day at 7:30 for daily Java content sharing. Technical Analysis The ‘Four Sins’ of C Language Native Strings The C language does not have a true “string” type. Its so-called string is simply a character array (<span>char*</span>) terminated by a null character<span>\0</span>. This simple design leads to … Read more