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 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, logs and roots 33 Trigonometric 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 Characters0 码力 | 1397 页 | 4.59 MB | 2 年前3
Julia 1.6.2 DocumentationNumeric Literal Coefficients 4.5 Literal zero and one 5 Mathematical Operations and Elementary Functions 5.1 Arithmetic Operators 5.2 Boolean Operators 5.3 Bitwise Operators 5.4 Updating operators 7.12 Raw String Literals ..... 58 8 Functions ..... 59 8.1 Argument Passing Behavior ..... 60 8.2 The return Keyword ..... 60 8.3 Operators Are Functions ..... 62 8.4 Operators With Special Names 8.5 Anonymous Functions ..... 62 8.6 Tuples ..... 63 8.7 Named Tuples ..... 64 8.8 Multiple Return Values ..... 64 8.9 Argument destructuring ..... 65 8.10 Varargs Functions ..... 65 8.110 码力 | 1324 页 | 4.54 MB | 2 年前3
Julia 1.4.0 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 码力 | 1340 页 | 4.36 MB | 2 年前3
The Idris Tutorial Version 0.9.18Installing 5 2.3 The Interactive Environment 6 3 Types and Functions 7 3.1 Primitive Types 7 3.2 Data Types 8 3.3 Functions 8 3.4 Dependent Types 10 3.5 I/O 12 3.6 "do" notation Main.main : IO () *hello> :c hello *hello> :q Bye bye $ ./hello Hello world ## Types and Functions ### 3.1 Primitive Types Idris defines several primitive types: Int, Integer and Float for numeric writing Idris programs both the order in which definitions are given and indentation are significant. Functions and data types must be defined before use, incidently each definition must have a type declaration0 码力 | 69 页 | 316.20 KB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
函数参数命名规则模板测试CallableFunctionCoroutineLambda ExpressionFunction Overloading函数模板重载解析隐式参数成员函数SFINAEAzure FunctionsPythonAKSACIVM虚函数基准测试性能优化编译器优化CPU架构Vienna Game Job Systemcoroutinesfunctionsthread pooljob allocationDocumentationREPLModulesFunctionsMethodsJuliadocstringsVersion InfoIdrisdependent typestypesmodulespackages













