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  认知服务  ## 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
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 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>1 [Image](/uploads/documents/b/8/1/a/b81afd1caaee62e04fa1a2d13bd68657/p14_2.jpg) ## • Normal Functions /class member functions • Lambdas, std::function• std::bind • void (*function)() • struct Function{}: 0 码力 | 39 页 | 1.23 MB | 1 年前3
Julia v1.4.2 Documentationfeatures 3 Language changes 4 Multi-threading changes 5 Build system changes 6 New library functions 7 New library features 8 Standard library changes LinearAlgebra Markdown Random REPL Syntax Conflicts 42 11.5 Literal zero and one 43 12 Mathematical Operations and Elementary Functions 45 12.1 Arithmetic Operators 45 12.2 Bitwise Operators 46 12.3 Updating operators 46 12 Elementary Functions 50 12.6 Operator Precedence and Associativity 51 12.7 Numerical Conversions 52 Rounding functions 53 Division functions 53 Sign and absolute value functions 530 码力 | 1314 页 | 4.29 MB | 2 年前3
C++高性能并行编程与优化 - 课件 - 15 C++ 系列课:字符与字符串1. vector 容器初体验 & 迭代器入门 (BV1qF411T7sd) 2. 你所不知道的 set 容器 & 迭代器分类 (BV1m34y157wb) 3. string, string_view, const char * 的爱恨纠葛(本期) 4. 万能的 map 容器全家桶及其妙用举例 5. 函子 functor 与 lambda 表达式知多少 6. 通过实战案例来学习 ~/Codes/course/15 (master) $ 你的 char 是有符号的,我猜你是 x86 架构 ## C 语言中的字符串 • 字符串 (string) 就是由字符 (character) 组成的数组。 • C 语言中,字符串用双引号 “” 包裹,字符用单引号 “” 包裹。 • char c = 'h'; • char ## 封装的 std::string 应运而生 10 #include9 #include <string> 8 7 using namespace std; 6 5 int main() { 4 string s1 = "hello"; 3 string s2 = "world"; 2 string s3 = s1 + s2; 0 码力 | 162 页 | 40.20 MB | 2 年前3
Julia 1.6.1 DocumentationSyntax Conflicts 22 4.5 Literal zero and one 23 5 Mathematical Operations and Elementary Functions 25 5.1 Arithmetic Operators 25 5.2 Boolean Operators 26 5.3 Bitwise Operators 26 5.4 Updating Elementary Functions 31 5.7 Operator Precedence and Associativity 31 5.8 Numerical Conversions 32 Rounding functions 33 Division functions 33 Sign and absolute value functions 33 Powers, and hyperbolic functions 34 Special functions 35 6 Complex and Rational Numbers 37 6.1 Complex Numbers 37 6.2 Rational Numbers 40 7 Strings 43 7.1 Characters 44 7.2 String Basics 45 7.30 码力 | 1397 页 | 4.59 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
函数参数命名规则模板测试CallableFunctionCoroutineLambda ExpressionFunction Overloading函数模板重载解析隐式参数成员函数SFINAEAzure FunctionsPythonAKSACIVMstring_viewstd::stringspan性能优化内存分配虚函数基准测试编译器优化CPU架构Vienna Game Job Systemcoroutinesfunctionsthread pooljob allocationDocumentation systemREPLCore modulesString functionsModulesC字符串小字符串优化vectorDocumentationFunctionsMethods













