Delivering safe C++through the nullptr (often a run-time check) • Every access through a subscripted pointer is in-range (often a run-time check) • That • Implies range checking and elimination of dangling pointers (“memory safety”) • Some heuristics • Many rely on static analysis • Some beyond our current tools • Often easy to check “mechanically” • Primarily for tools (static analysis) • To allow specific feedback to programmer abstraction with sufficient data to range check • E.g., vector and span • void f(spans, int x) { s[x] = 7; } // OK for a checking span • Run-time range check every subscript operation • E.g., vector 0 码力 | 74 页 | 2.72 MB | 6 月前3
Just-in-Time Compilation - J F Bastien - CppCon 2020that rarely happens in practice. Polymorphic Inline Caches record what actual types are seen, and check against the common cases at runtime. It’s a cute optimization which tries to make the language’s paper itself adds fast algorithms for escape analysis, automatic object inlining, and array bounds check elimination. Where HotSpot is really amazing is in putting all of these things together in a very complex and memory to unlock new superpowers. Folks are used to Valgrind as a use-after-free our out-of-bounds tool, but that’s just one of Valgrind’s many capabilities. The true feat of Valgrind is its tooling0 码力 | 111 页 | 3.98 MB | 6 月前3
Building a Coroutine-Based Job System Without Standard Librarytypes: coroutine_handle<>, coroutine_handle• coroutine_handle<>: resume/destroy coroutine, check status(done) • coroutine_handle : provide access to the promise object(promise) Useful to string” or in general co_await on some un-awaitable expressions. Or prohibit co_await on certain types. Check out Promise::await_transform co_await is … Awaitable is … Awaiter is … At the compile time, when Wait(); } Okay, go back to our save world mission, feel like so far, we are only writing some empty check. We need to stop and do something practical, since we don’t have much time left. 105106 106 GOAL 0 码力 | 120 页 | 2.20 MB | 6 月前3
Conan 1.26 Documentationcertificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312 15.25 How to check the version of the Conan client inside a conanfile . . . . . . . . . . . . . . . . . . . . 312 15 builds from source, dependencies, and precompiled binaries for any language. For more information, check conan.io. Contents: CONTENTS 1 Conan Documentation, Release 1.26.1 2 CONTENTS CHAPTER ONE INTRODUCTION companies using it. 1.1 Open Source Conan is Free and Open Source, with a permissive MIT license. Check out the source code and issue tracking (for ques- tions and support, reporting bugs and suggesting0 码力 | 669 页 | 5.51 MB | 1 年前3
Conan 1.24 Documentationcertificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302 15.25 How to check the version of the Conan client inside a conanfile . . . . . . . . . . . . . . . . . . . . 302 15 builds from source, dependencies, and precompiled binaries for any language. For more information, check conan.io. Contents: CONTENTS 1 Conan Documentation, Release 1.24.1 2 CONTENTS CHAPTER ONE INTRODUCTION companies using it. 1.1 Open Source Conan is Free and Open Source, with a permissive MIT license. Check out the source code and issue tracking (for ques- tions and support, reporting bugs and suggesting0 码力 | 647 页 | 5.31 MB | 1 年前3
Conan 1.25 Documentationcertificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308 15.25 How to check the version of the Conan client inside a conanfile . . . . . . . . . . . . . . . . . . . . 308 15 builds from source, dependencies, and precompiled binaries for any language. For more information, check conan.io. Contents: CONTENTS 1 Conan Documentation, Release 1.25.2 2 CONTENTS CHAPTER ONE INTRODUCTION companies using it. 1.1 Open Source Conan is Free and Open Source, with a permissive MIT license. Check out the source code and issue tracking (for ques- tions and support, reporting bugs and suggesting0 码力 | 655 页 | 5.45 MB | 1 年前3
Conan 1.23 Documentationcertificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 15.25 How to check the version of the Conan client inside a conanfile . . . . . . . . . . . . . . . . . . . . 300 15 builds from source, dependencies, and precompiled binaries for any language. For more information, check conan.io. Contents: CONTENTS 1 Conan Documentation, Release 1.23.0 2 CONTENTS CHAPTER ONE INTRODUCTION companies using it. 1.1 Open Source Conan is Free and Open Source, with a permissive MIT license. Check out the source code and issue tracking (for ques- tions and support, reporting bugs and suggesting0 码力 | 637 页 | 5.04 MB | 1 年前3
Conan 1.22 Documentationcertificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 15.25 How to check the version of the Conan client inside a conanfile . . . . . . . . . . . . . . . . . . . . 300 15 builds from source, dependencies, and precompiled binaries for any language. For more information, check conan.io. Contents: CONTENTS 1 Conan Documentation, Release 1.22.3 2 CONTENTS CHAPTER ONE INTRODUCTION companies using it. 1.1 Open Source Conan is Free and Open Source, with a permissive MIT license. Check out the source code and issue tracking (for ques- tions and support, reporting bugs and suggesting0 码力 | 629 页 | 4.98 MB | 1 年前3
Conan 1.31 Documentationcertificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344 16.25 How to check the version of the Conan client inside a conanfile . . . . . . . . . . . . . . . . . . . . 345 16 companies using it. 1.1 Open Source Conan is Free and Open Source, with a permissive MIT license. Check out the source code and issue tracking (for ques- tions and support, reporting bugs and suggesting and help responding to questions, discussing problems and approaches.. Have any questions? Please check out our FAQ section or . 6 Chapter 1. Introduction CHAPTER TWO TRAINING COURSES JFrog has created0 码力 | 721 页 | 5.41 MB | 1 年前3
Conan 1.30 Documentationcertificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340 16.25 How to check the version of the Conan client inside a conanfile . . . . . . . . . . . . . . . . . . . . 341 16 builds from source, dependencies, and precompiled binaries for any language. For more information, check conan.io. Contents: CONTENTS 1 Conan Documentation, Release 1.30.2 2 CONTENTS CHAPTER ONE INTRODUCTION companies using it. 1.1 Open Source Conan is Free and Open Source, with a permissive MIT license. Check out the source code and issue tracking (for ques- tions and support, reporting bugs and suggesting0 码力 | 715 页 | 5.39 MB | 1 年前3
共 203 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21













