whats new in visual studioMulti-repo support • Publish code to GitHub or Azure Devops • Pinning branches & customizations • Hot Reload • Dependent breakpoints & Force run to cursor • And… performance Performance of Visual0 码力 | 42 页 | 19.02 MB | 6 月前3
Writing Python Bindings for C++ Libraries: Easy-to-use Performancethat boundary using python binding ● Try putting “hot path” code inside your library ○ Need to design a DSL for the user to be able to leverage your hot path capabilities written in C++ ○ Numpy / Pandas provide “hot path” C++ functionsWhat Functions to expose in the API ● Init some data structures / load some data ● Configure your class’ parameters ● Do a lot of complex work inside a “hot path” ● [this]() { return internals_->subscribe(listener); } ); }Example 3 Optimizing python hot loops using *Some analysis code reader = mod.RowReader(f) rows = reader.getRows()0 码力 | 118 页 | 2.18 MB | 6 月前3
The Main Points of C++underlying type • Bit-fields • Attribute specifier [[using gnu : always_inline, hot]] // same as this: [[gnu::always_inline, gnu::hot]] :2. Two points -> colon • Class inheritance • Member access specifiers0 码力 | 34 页 | 344.31 KB | 6 月前3
Just-in-Time Compilation - J F Bastien - CppCon 20206 Most of the time we think of JiTs jumping to the entry of a function, but if you’re stuck in a hot loop then you can’t do that. This is where OSR comes in. OSR effectively turns a function “inside speculative reordering of loads and stores. x86 instructions are initially interpreted, and if deemed “hot” they’re JiT-compiled in a hidden part of the hardware, effectively ring -1. I don’t know about you0 码力 | 111 页 | 3.98 MB | 6 月前3
Why is my Build so Slowrecursion?Project Level 39 Higher Order Single FileClangBuildAnalyzer - High level overview of hot spots - Files that took longest to parse - Templates that took longest to instantiate - Functions0 码力 | 71 页 | 3.96 MB | 6 月前3
Blazing Trails: Building the World's Fastest CameBoy Emulator in Modern C++game series and the best-selling video game franchise not owned by Nintendo. 27Tetris is still hot! 28But really: why tetris? • M-cycle precision emulation is sufficient • Only 284 of the 501 opcodes0 码力 | 91 页 | 8.37 MB | 6 月前3
Libraries: A First Step Toward Standard C++ Dependency Management○ Cannot declare dependencies anyway! 36CPS and software bills of materials (SBOM) ● SBOM is a hot topic ○ Ensuring software transparency ○ Managing open-source software and third-party dependencies0 码力 | 82 页 | 4.21 MB | 6 月前3
Tracy: A Profiler You Don't Want to Misscallstacks (too frequently)? 64 yesterday… …today… Gotchas Zones are suddenly taking a lot more time• hot inner-loops, small/inlined routines called frequently, … • Profiling skew: when profiling itself starts0 码力 | 84 页 | 8.70 MB | 6 月前3
Tracy: A Profiler You Don't Want to Misscallstacks (too frequently)? 68 yesterday… …today… Gotchas Zones are suddenly taking a lot more time• hot inner-loops, small/inlined routines called frequently, … • Profiling skew: when profiling itself starts0 码力 | 85 页 | 6.51 MB | 6 月前3
Multi Producer, Multi Consumer, Lock Free, Atomic Queuehttps://github.com/erez-strauss/lockfree_mpmc_queueLockfree, MPMC Queue - push() code [[using gnu: hot, flatten]] bool push(value_type d) noexcept { while (true) { index_type wr_index = _write_index0 码力 | 54 页 | 886.12 KB | 6 月前3
共 92 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
相关搜索词
whatsnewinvisualstudioWritingPythonBindingsforC++LibrariesEasytousePerformanceTheMainPointsofJustTimeCompilationBastienCppCon2020WhyismyBuildsoSlowBlazingTrailsBuildingtheWorldFastestCameBoyEmulatorModernFirstStepTowardStandardDependencyManagementTracyProfilerYouDonWantMissMultiProducerConsumerLockFreeAtomicQueue













