dylanmclark
Re:Libc++'s Implementation of std::string
on Thursday January 30, 2020 @09:25PM (#22198424)
Reminds me of a talk a few years ago about Facebook's internal implementation of std::string. They do the same short string optimization, but Facebook manages to outperform this implementation by storing 24 bytes (vs 23) in "short string mode".
IIRC, Facebook achieves this by using the last byte as the flag byte. To signify short string mode, this flag is set 0. This allows it to also serve as the null terminator. Tricky!
I don't think Microsoft would buy Slack given the money they've dumped into developing and promoting Teams. Seems they're too far gone at this point.
Disclosure: Work at MSFT, not on Teams.
Re:Human-Centric Tools for Navigating Code [pdf]
on Tuesday December 11, 2018 @03:21AM (#18653911)
The patch grid and ribbon in the Patchworks Editor this proposes are exactly what I didn’t know I needed