Back To Basics Functions## +23 ## Back To Basics Functions ## MIKE SHAH ## 20 23 October 01 - 06 20 23 October 01 - 06 ## Back To Basics Functions 14:00 - 15:00 MDT Mon, Oct. 2 2023 60 minutes Introductory Audience MIKE SHAH ## Back To Basics Functions If you’ve been programming C++ for many years -- please provide suggestions, analogies, and other useful ways to think about functions now or in the future! 14:00 23/cppcon/functions Talks / 2023 / cppcon / functions / ☐ MikeShah Create readme.md Name readme.md ## The abstract that you read and enticed you to join me is here! ## Abstract Functions are one of0 码力 | 123 页 | 7.26 MB | 1 年前3
From Functions to Coroutinesnt max() # From Functions to Coroutines 40 Years Evolution std::cout << "myVec::"; for (auto i; myVec); std::cout std::cout << " std::vectormyVec2(20); std::iota(myVec2 Easy to test and to refactor The call sequence of functions can be changed ■ Automatically parallelizable ■ Results can be cached ## Pure Functions  Working with a pure function is based on discipline → Use common functions, meta-functions, constexpr, or consteval functions ■ Function int powFunc(int m, int n) { if (n == 0) return 1; 0 码力 | 29 页 | 510.47 KB | 1 年前3
Calling Functions A Tutorial## Calling Functions ## A Tutorial Klaus Iglberger, CppCon 2020 klaus.iglberger@gmx.de ## C++ Trainer since 2016 Author of the bl $ \text{ze} $ C++ math library (Co-)Organizer of the Munich C++ user Overload Resolution (Viable) Candidate Functions Ranking Ambiguous Function Calls Access Labels Function Template Specializations Virtual Dispatch Deleting Functions ## Content Overview Name Lookup Overload Resolution (Viable) Candidate Functions Ranking Ambiguous Function Calls Access Labels Function Template Specializations Virtual Dispatch Deleting Functions ## Disclaimer This talk does ...0 码力 | 111 页 | 5.11 MB | 1 年前3
Python in Azure Functions 基于Python的Azure Functions实践 赵健Python in Azure Functions ## 基于Python的Azure Functions实践 赵健 - Microsoft 目录 CONTENTS >> >> Python 在 Azure 中无处不在 >> 粘合剂 – Azure Functions >> Azure Functions 实践  Functions  AKS ## 运行 Python Batch Notebook  Functions  认知服务  @@@ All of library code is in LibSpace, user code without0 码力 | 58 页 | 18.82 MB | 1 年前3
Optimizing Away Virtual Functions May Be Pointless## +23 ## Optimizing Away Virtual Functions May Be Pointless ## SHACHAR SHEMESH Slide #2 - who am I?  ## DO NOT ENTER reviewer's notes: There are interesting technical details and surprising conclusions that virtual functions can be actually faster. Since CPU architectures are mentioned, I'd expect to see deep assembly vtable lookup. Does it even matter? ### WEKA DriveU.auto ## Conclusions - The notion that “virtual functions are slower” is flat out wrong. ○ Which is not to say they are faster o Some of the suggested alternatives0 码力 | 20 页 | 1.19 MB | 1 年前3
Linear Algebra with The Eigen Cpp LibraryLinear Algebra with The Eigen C++ Library ## +24 ## DANIEL HANSON ## Outline • A short history – linear algebra and C++ (1998 – Present) • The Eigen C++ Template Library for Linear Algebra • Linear Algebra Disclaimers/Caveats • 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: Open-Source Libraries ## • Boost uBLAS (BLAS: “Basic Linear Algebra Subroutines”)0 码力 | 35 页 | 1.10 MB | 1 年前3
Combining Co-Routines and Functions into a Job System## +21 ## Combining Co-Routines and Functions into a Job System ## HELMUT HLAVACS 20 21 October 24-29 ## About Myself • Professor for Computer Science • University of Vienna, Austria: founded 1365 System + • Graphics API Abstraction Layer + • Vienna Entity Component System + Vienna Type List Library • Vienna Physics Engine + • Vienna Game AI Engine + • GUI • = Vienna Vulkan Game Engine 2.0 submit_for_render(); // submit command buffers Helmut Hlavacs - Combining Co-Routines and Functions into a Job System - CppCon 2021 4 / 39 ## Modern Multicore CPUs • N>10 码力 | 39 页 | 1.23 MB | 1 年前3
Improving Our Safety With a Quantities and Units Library## +24 ## Improving Our Safety With a Quantities and Units Library ## MATEUSZ PUSZ ## The future is here  ## The future fundamental types – updating the core language rules – providing safer high-level abstractions in the library ## C++ developers needs help • Many C++ engineers are expected to write life-critical software today quantities and units library ## • Compile-time safety – correct handling of physical quantities, units, and numerical values ## mp-units: C++20/23 quantities and units library ## • Compile-time safety0 码力 | 207 页 | 6.93 MB | 1 年前3
A Physical Units Library for the Next C++## A Physical Units Library For the Next C++ Mateusz Pusz September 15, 2020 ## Motivation, Existing Practice, Challenges  slide number. ## QUICK START ## Physical Units library in a nutshell // simple numeric operations static_assert(10_q_km / 2 == 5_q_km); ## Physical Units library in a nutshell ## // simple numeric operations static_assert(1_q_h == 3600_q_s); static_assert(1_q_km + 1_q_m == 1001_q_m); ## Physical Units library in a nutshell // simple numeric operations static_assert(10_q_km / 2 == 5_q_km); // unit conversions0 码力 | 172 页 | 6.17 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
函数参数命名规则模板测试CallableFunctionCoroutineLambda ExpressionFunction Overloading函数模板重载解析隐式参数成员函数SFINAEAzure FunctionsPythonAKSACIVMCustomization PointsLibrary CodeUser CodeIntegrationHooks虚函数基准测试性能优化编译器优化CPU架构Eigen C++ Template LibraryC++26 Standard LibraryBLAS interfacematrix decompositionvector operationsVienna Game Job Systemcoroutinesfunctionsthread pooljob allocationmp-units库编译时安全物理量单位系统类型安全C++物理单位库静态断言单位转换Boost.Units













