9 ms·
Makes me think less of antirez that he doesn’t acknowledge that this is the same design as Microsoft’s BSTRs, which predate sds by many many years.
by realgeniushere 4y ago
Makes me think less of antirez that he doesn’t acknowledge that this is the same design as Microsoft’s BSTRs, which predate sds by many many years.
- dixie_land 4y agoI also thought of BSTR but in all fairness this idea of prefixing metadata for string types aren't so unique: eg Delphi's string types use a similar scheme: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Internal_Data_Formats_(Delphi)#Long_String_Types https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Inte... One obvious advantage of such scheme of course is that you can pass them as-is to C APIs