Shared Libraries## +23 ## Shared Libraries in Windows, in Linux, and yes - in C++ ## OFEK SHILON ## Terminology ## • Shared Library: - Shared Object, Dynamic Object, Dynamic Shared Object (DSO), Dynamic Load Library Library (DLL), Dynamic Shared Library • Binary: • Executable / Shared Library, Component, Module • Symbol: • Function / Global variable • "Linux": • Unix-like systems • Mostly MacOS too (1 important /tr>0x00000000000000001 (NEEDED) Shared library: [libslinux.so.1] 0x00000000000000001 (NEEDED) Shared library: [libc.so.6] 0 码力 | 69 页 | 1.40 MB | 1 年前3
Shared Libraries and Where To Find Them## +24 ## Shared Libraries and Where To Find Them ## LUIS CARO CAMPOS ## Shared Libraries and Where to Find Them  Luis The executables themselves • Static libraries • Shared libraries Libraries $ ^{*} $ are a vehicle for “reusable” code code that can be invoked by other libraries or applications (even from other languages) languages) ## How developers deal with shared libraries ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found Undefined symbols0 码力 | 94 页 | 6.49 MB | 1 年前3
generic graph libraries## Generic Graph Libraries in C++20 ## ANDREW LUMSDAINE, PHIL RATZLOFF 20 21 October 24-29 ## About Us  ## • Andrew areas related to high-performance computing, including systems, programming languages, software libraries, and large-scale graph analytics. Open-source software projects resulting from his work include practical (concrete) problems – theory reuse • Goes hand-in-glove with goals of generic software libraries   • Dynamic shared object (.so) • Mach-O dynamic library (.dylib) Background ## Dynamic linking ≠ Dynamic loading runtime • d $ \log_{n} $ APIs works with both dynamic libraries and bundles • Prior to Mac OS X 10.5, dlclose() does not unload dynamic libraries ## I n case you don't know • Portable Executable0 码力 | 100 页 | 3.98 MB | 1 年前3
Reflection Based Libraries to Look Forward To## +24 ## Reflection Based Libraries to Look Forward To ## SAKSHAM SHARMA ## Reflection based libraries to look forward to ## Saksham Sharma CppCon 2024 ## Why me Director, Quant Research Tech at languages (Go, Python, Java) • Reflection in C++ as per P2996 ☐ Syntax and examples • Reflection libraries! Python bindings ABI hashing (boost::abi_hash?) A duck-typed std::any (boost::virtual_any?) Reflection libraries! • Reflection is a really powerful language feature ☐ With great power comes great responsibility • Easier to write general-purpose / boilerplate-reducing libraries • Solve multiple0 码力 | 118 页 | 14.33 MB | 1 年前3
Making Libraries Consumable for Non-C++ Developers## +21 ## Making Libraries Consumable for Non-C++ Developers ## AARON ROBINSON 20 21 October 24-29 ## Who am I? ### .NET Core Still at Microsoft, now on the .NET Core runtime team. • https://github anymore. Garbage collection is really “automatic memory management”. - Reference counted C++ - std::shared_ptr- Python Objective-C (manual or automatic – see ARC) - Swift COM - AddRef() /Release() has fixed keyword. • Conforming JVM implementations have the option. ## Memory model Control of “shared” memory needs to be documented and/or agreed upon. GCs make this far more complicated since they 0 码力 | 29 页 | 1.21 MB | 1 年前3
The Beman Project: Bringing Standard Libraries to the Next Level## The Beman Project: Bringing Standard Libraries to the Next Level ## DAVID SANKEL ## 20 24 September 15 - 20 # The Beman Project Bringing Standard Libraries to the Next Level David Sankel | Principal of the highest quality C++ standard libraries” – Beman project mission ## “Support the efficient design and adoption of the highest quality C++ standard libraries through implementation experience” – C++ standard libraries through implementation experience, user feedback” – Beman project mission ### “Support the efficient design and adoption of the highest quality C++ standard libraries through implementation0 码力 | 53 页 | 7.38 MB | 1 年前3
Libraries: A First Step Toward Standard C++ Dependency Management## +23 ## Libraries: A First Step Toward Standard C++ Dependency Management ## BILL HOFFMAN & BRET BROWN ## 20 23 October 01 - 06 ## Libraries: A First Step Toward Standard C++ Dependency Management Metadata file(s) to declare those contents • Modest tool interop requirements In short, declaring libraries installed on a filesystem ## Goals • ✓ A first step towards a robust packaging ecosystem - Explicit too hard Q: Which of these do you find frustrating about C++ development? • 82% – Managing the libraries my application depends on • 80% – Build times • 71% – Setting up CI pipelines from scratch •0 码力 | 82 页 | 4.21 MB | 1 年前3
Lock-Free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done!## +23 ## Lock-free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done! DANIEL ANDERSON  Daniel Anderson danielanderson.net ## What we'll learn today • How shared ptr is implemented under the hood • Atomics and concurrency patterns • How existing atomic<shared_ptr> are implemented (the split reference count for • You’ve heard of shared_ptr Things we won't cover • Alias pointers, weak pointers Carnegie Mellon Universityshared_ptr> ## What we'll learn today • How shared ptr is implemented under0 码力 | 45 页 | 5.12 MB | 1 年前3
Writing Python Bindings for C++ Libraries: Easy-to-use Performance## +23 ## Writing Python Bindings for C++ Libraries: Easy-to-use Performance ## SAKSHAM SHARMA ## A QUICK BIO - YOURS TRULY - Director, Quant Research Tech at Tower Research Capital - High frequency box (IPython) Jupyter notebooks provide a great research environment ☐ Very mature open source libraries for various domains Why C++? We're at CppCon :) ## WHY C++ AND PYTHON • Why? Avoid reimplementing ☐ Back and forth with user's python code ☐ Interoperability with data structures in Python – shared memory space ## How? Python/C API Cython ○ Numba / PyPy Boost::Python ○ Pybind11 ○ cppyy0 码力 | 118 页 | 2.18 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
Shared LibrariesLinkerDynamic Shared Object (DSO)BinarySymbol共享库动态链接器定位依赖项运行时C++20图Boost Graph Library概念范围动态加载库延迟加载外国链接模块动态链接平台实现ReflectionC++Python bindingsABI hashingTemplate metaprogramming互操作性内存模型异常处理数据类型一致性Beman ProjectLitGTestCTestCMakedependency managementlibrariespackage managers原子共享指针锁-free拆分引用计数基准测试递延回收Python BindingsC++ LibrariesBoost::PythonPybind11Cython













