Boosting Software Efficiency0 码力 | 180 页 | 1.65 MB | 6 月前3
Balancing Efficiency and Flexibility: Cost of Abstractions in Embedded Systems0 码力 | 75 页 | 2.12 MB | 6 月前3
Using Modern C++ to Build XOffsetDatastructurewhich offers limited benefits, we aim to transform from O(n) to O(1), resulting in substantial efficiency gains. Fanchen Su, XOffsetDatastructure, CppCon 2024 7 Time Input Size O(n) O(n) O(1) O(n)->O(n) which offers limited benefits, we aim to transform from O(n) to O(1), resulting in substantial efficiency gains. • Implementation • High performance // In terms of Implementation, we ensure high performance containers, enabling complex data structures. XVectorequips; XMap items; Code sample struct Character { // ... XMap items; }; Fanchen Su, XOffsetDatastructure, CppCon 0 码力 | 111 页 | 3.03 MB | 6 月前3
micrograd++: A 500 line C++ Machine Learning Librarypowerful framework for building and training machine learning models. By leveraging the performance efficiency of C++, micro- grad++ offers a robust solution for integrating machine learning capabilities directly addresses these challenges by offering a pure C++ implementation that ensures high performance and efficiency. Moreover, micrograd++ retains the educational value of the original micrograd library, making deployment (CI/CD) pipeline using GitHub Actions to automate testing and deployment processes. V. SAMPLE CODE A. Example Usage The following code snippet demonstrates the basic usage of micrograd++ for0 码力 | 3 页 | 1.73 MB | 6 月前3
Leveraging the Power of C++ for Efficient Machine Learning on Embedded Devicesmachine learning on embedded devices C++ is widely used in embedded systems: ◮ Was designed with efficiency in mind ◮ Provides low-level access to hardware resources ◮ Provides high-level abstractions 9 rock-paper-scissors-dataset ◮ https://storage.googleapis.com/mediapipe-tasks/ gesture_recognizer/rps_data_sample.zip ◮ https://tensorflow.org/lite/examples 49 / 50Thank you! 50 / 500 码力 | 51 页 | 1.78 MB | 6 月前3
Code Analysis++management Expressive code Simplicity Work as intended Documented ReviewsReliability Efficiency Security Maintainability SizeHigh quality software is cheaper to produce! –Developer Fr overhead ○ Annotations to help analysis: gsl::SharedOwner, gsl::Owner, gsl::Pointer void sample1() { int* p = nullptr; { int x = 0; p = &x; *p = 42; //OK }0 码力 | 61 页 | 2.70 MB | 6 月前3
Back to Basics: Classic 9STLT& value);CppCon 2021 – Back to Basics: Classic STL Copyright © 2021 Bob Steagall Algorithms – A Sample remove_copy_if • remove_copy_if • Action: copies elements from the range [first, last), to another Steagall Summary: On the Brilliance of the STL • Four important positive qualities • Speed • Efficiency • Extensibility • Elegance • The STL separates data structures from algorithms, and ties them0 码力 | 75 页 | 603.36 KB | 6 月前3
Session Types in C++18What are types used for in programming? • Types are used for: • Abstraction • Documentation • Efficiency • Expressivity • Detecting errors • Safety 19What are types used for in programming? • Types Documentation • Efficiency • Carefully chosen type can lead to more efficient code. 22What are types used for in programming? • Types are used for: • Abstraction • Documentation • Efficiency • Expressivity 23What are types used for in programming? • Types are used for: • Abstraction • Documentation • Efficiency • Expressivity • Detecting errors • Doing something (by accident) that does not “fit” the type0 码力 | 89 页 | 1.55 MB | 6 月前3
Combining Co-Routines and Functions into a Job Systemof Vienna, Austria: founded 1365, >90000 students • Entertainment Computing Research Group • Efficiency and performance of game engines, AI, networking, VR … • Teaching: 3D Graphics, AI, Physics for a Job System - CppCon 2021 35 / 39 Speed Up and Efficiency Speed Up 𝑆 𝑛 : = 𝑇1 𝑇𝑛 Example: 𝑇1 = 100𝜇𝑠, 𝑇4 = 50𝜇𝑠 then 𝑆 4 = 2 Efficiency 𝐸 𝑛 : = 𝑆 𝑛 𝑛 Example: 𝐸 4 = 0.5 or 50% Questions 1.Minimum job size (CPU time) for 85/90/95% efficiency? 2.What is more efficient: function pointers, std::function, or coroutines?Helmut Hlavacs – Combining Co-Routines and Functions into0 码力 | 39 页 | 1.23 MB | 6 月前3
Tracy: A Profiler You Don't Want to Missgrail of efficiency leads to abuse. Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually grail of efficiency leads to abuse. Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually proper contexthttps://www.youtube.com/watch?v=dToaepIXW4s“C++ programmers talk all the time about efficiency, but they generally don’t know how to measure.” - Bjarne Stroustrup CppCon 2023 Keynote (literally0 码力 | 84 页 | 8.70 MB | 6 月前3
共 133 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
相关搜索词
BoostingSoftwareEfficiencyBalancingandFlexibilityCostofAbstractionsinEmbeddedSystemsUsingModernC++toBuildXOffsetDatastructuremicrograd++500lineMachineLearningLibraryLeveragingthePowerforEfficientonDevicesCodeAnalysisBackBasicsClassic9STLSessionTypesCombiningCoRoutinesFunctionsintoJobSystemTracyProfilerYouDonWantMiss













