Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh hey, I just discovered that MS open-sourced the lowest levels of the Office codebase, including the stuff I talked about. The most common shared pointer type is actually the inscrutibly-named `TCntPtr`, but the file that covers most of what I talked about above is https://github.com/microsoft/Mso/blob/master/libs/object/inc....

Neat! ...not that I'd ever use it, or recommend its use. Its tradeoffs make perfect sense for Office but probably not for general-purpose applications.



The thing I was thinking of when I said "some ideas just went off in a different direction from the STL" is called a Swarm, and it's here: https://github.com/microsoft/Mso/blob/master/libs/object/inc...


Sounds a bit like a nested autorelease pool?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: