News for hackers. Stuff that matters.
Re:Show HN by realgeniushere on Saturday December 03, 2022 @12:24PM (#33845176)
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.
Re:Show HN by dixie_land on Saturday December 03, 2022 @08:27PM (#33849557)
I 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/Inte...

One obvious advantage of such scheme of course is that you can pass them as-is to C APIs