Building a Coroutine-Based Job System Without Standard LibraryTianyi(Tanki) Zhang tankiistanki tankijong COROUTINE JOB SYSTEM WITHOUT STANDARD LIBRARY source code of the system: https://github.com/tankiJong/cpp-coroutine-job-system Hi Everyone, Tanki here. Thanks game engine – Jobs. Specifically, based on C++ coroutine which we shipped in C++ 20, without standard library support. I because the contents are pretty connected, so I will take all questions at the end0 码力 | 120 页 | 2.20 MB | 6 月前3
Dynamically Loaded Libraries Outside the StandardLibraries Outside the Standard 2021/10/29 Zhihao Yuan3 CppCon 2021 | • Dynamic-link library (.dll) • Dynamic shared object (.so) • Mach-O dynamic library (.dylib) Are we talking Relocation is done at load time Dynamic loading • Ask for additional functionalities • Often involve library discovery • Relocation is done at run time • May be capable of “unloading”6 CppCon 2021 | • Older loadable library CMake add_library(repromath MODULE) generate_export_header(repromath)10 CppCon 2021 | • LoadLibraryEx("mylib.dll", nullptr, flags) – open and get a handle to the library • LoadLibrary("mlib 0 码力 | 100 页 | 3.98 MB | 6 月前3
Connecting User And Library Code@@@ All of library code is in LibSpace, user code without frame is in UserSpace@@@ As opposed to library sharing entities with other libraries+ @@@ Deducing this removes the need for CRTP2 Slides1. https://godbolt there’s motivation for default implementation (something which can be done generally) @@@ All of library code is in LibSpace, user code without frame is in UserSpace1. @@@ Terms: 1. Overload: multiple abstract interface at all.”5 Slides@@@ (*) Concepts are only limiting by behavior / qualities@@@ All of library code is in LibSpace, user code without frame is in UserSpace 1. Basic: https://godbolt.org/z/nej3977z8@@@0 码力 | 58 页 | 18.82 MB | 6 月前3
Linear Algebra Coming to Standard C++to Standard C++ Mark Hoemmen, NVIDIA | CppCon 20233 Agenda • Motivating example: Matrix multiply • Where std::linalg fits in linear algebra’s layers • std::linalg builds on the C++ Standard Library 𝛼𝐴𝐵𝑇 𝛼 and 𝛽 are scalars; 𝐴, 𝐵, and 𝐶 are matrices // BEFORE: Call optimized Fortran library extern “C” void dgemm_( const char* TRANSA, const char* TRANSB, const int* m, const int* n, matrix_product(par_unseq, scaled(alpha, A), transposed(B), scaled(beta, C), C);5 Does a “linear algebra library” do linear algebra? Aspirational linearity My impression of René Magritte’s “The Treachery of0 码力 | 46 页 | 2.95 MB | 6 月前3
Linear Algebra with The Eigen Cpp Library• A short history – linear algebra and C++ (1998 – Present) • The Eigen C++ Template Library for Linear Algebra • Linear Algebra Interface in C++26 • Basics • Using with Eigen Outline Daniel Hanson Hanson CppCon 2024 2• This presentation is on solving problems using • The Eigen linear algebra library • stdBLAS in C++26 • Not affiliated with Eigen but have used it in financial programming and teaching essentially were: • Write your own Matrix class and operations • Convince your boss to buy a commercial library A Little History Daniel Hanson CppCon 2024 5FAQ’s • Boost uBLAS (BLAS: “Basic Linear Algebra0 码力 | 35 页 | 1.10 MB | 6 月前3
The Beman Project: Bringing Standard Libraries to the Next LevelBeman Project Bringing Standard Libraries to the Next Level David Sankel | Principal Scientist Software Technology Lab Image generated with Adobe FireflyWhere does the standard come from?BristolBristol© Rights Reserved. Standard library proposal lifetime Library Plenary Library evolution incubator Library evolution Study group (optional) Domain specific review Prepare proposal for library evolution review C++ standard libraries” – Beman project mission 17 David Sankel Richard Powell© 2024 Adobe. All Rights Reserved. “ Support the efficient design and adoption of the highest quality C++ standard libraries0 码力 | 53 页 | 7.38 MB | 6 月前3
The Zig Programming Language 0.8.1 DocumentationIntroduction Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. Robust - behavior is correct even for edge cases such as out of memory each of Zig's features. It is all on one page so you can search with your browser's search tool. The code samples in this document are compiled and tested as part of the main test suite of Zig. This HTML external files, so you can use it offline. Where is the documentation for the Zig standard library? Hello World hello.zig const std = @import("std"); pub fn main() !void { const stdout = std.io0 码力 | 234 页 | 6.01 MB | 1 年前3
The Zig Programming Language 0.7.1 DocumentationIntroduction Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. Robust - behavior is correct even for edge cases such as out of memory each of Zig's features. It is all on one page so you can search with your browser's search tool. The code samples in this document are compiled and tested as part of the main test suite of Zig. This HTML external files, so you can use it offline. Where is the documentation for the Zig standard library? Hello World hello.zig const std = @import("std"); pub fn main() !void { const stdout = std.io0 码力 | 225 页 | 5.74 MB | 1 年前3
The Zig Programming Language 0.6.0 DocumentationIntroduction Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. Robust - behavior is correct even for edge cases such as out of memory each of Zig's features. It is all on one page so you can search with your browser's search tool. The code samples in this document are compiled and tested as part of the main test suite of Zig. This HTML external files, so you can use it offline. Where is the documentation for the Zig standard library? Hello World hello.zig const std = @import("std"); pub fn main() !void { const stdout = std.io0 码力 | 214 页 | 5.37 MB | 1 年前3
The Zig Programming Language 0.5.0 Documentation| 0.4.0 | 0.5.0 | 0.6.0 | 0.7.1 | 0.8.1 | 0.9.1 | 0.10.1 | 0.11.0 | 0.12.0 | master Introduction Zig is a general-purpose programming language designed for robustness, optimality, and maintainability each of Zig's features. It is all on one page so you can search with your browser's search tool. The code samples in this document are compiled and tested as part of the main test suite of Zig. This HTML depends on no external files, so you can use it offline. Where is the documentation for the Zig standard library? Index Introduction Index Hello World Comments Doc comments Values Primitive Types Primitive0 码力 | 224 页 | 5.80 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













