Hacker News new | ask | show | jobs
by realgeniushere 1288 days 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.
1 comments

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