Making Libraries Consumable for Non-C++ Developersinteroperability? Don’t touch it! Glue code? Boiler plate? A nightmare? Application binary interface (ABI) Calling conventions Marshalling Was I supposed to free that? Was I not supposed to free that? arobins@microsoft.com GitHub: @AaronRobinsonMSFT, https://github.com/AaronRobinsonMSFTRecent Interop ABI fun struct blub_t { size_t a; int b; }; size_t DoTheThing(blub_t b); Switch .NET call from0 码力 | 29 页 | 1.21 MB | 6 月前3
C++20 STL Features: 1 Year of Development on GitHubExplained bug, fix, ABI, testing; others provided more info • GH-142 P0122R7 • 691 comments! • GH-1173 Fix ostr << flt precision • Fixed long-standing bugs while preserving ABI • Every PR is extensively0 码力 | 45 页 | 702.09 KB | 6 月前3
hazard pointer synchronous reclamationSynchronous Reclamation Beyond Concurrency TS2 – Maged Michael // Extend hazard_pointer_obj_base (subject to ABI-compatibility) class hazard_pointer_obj_base { public: void set_cohort(hazard_pointer_cohort* cohort)0 码力 | 31 页 | 856.38 KB | 6 月前3
C++高性能并行编程与优化 - 课件 - 性能优化之无分支编程 Branchless Programming)”。这样一来,类成员里只需要存一个指向虚函数表首地址的指针,之后通过 查找该表即可找到连续的 n 个函数指针。此处为了方便理解,右侧案例代码没有用虚函数表。 课外拓展 · 参考资料 • 堆栈和 ABI 的知识 https://zhuanlan.zhihu.com/p/27339191 • x86 汇编指令大全 https://zhuanlan.zhihu.com/p/53394807 • CMake0 码力 | 47 页 | 8.45 MB | 1 年前3
共 4 条
- 1













