Balancing Efficiency and Flexibility: Cost of Abstractions in Embedded Systemsnon-type template parameter74 Conclusions Zero-cost abstractions Encapsulation Inheritance Dynamic Polymorphism Static Polymorphism Negative-cost abstractions More C++ for the embedded world! Architecture0 码力 | 75 页 | 2.12 MB | 6 月前3
Go 101 (Golang 101) v1.21.0Some Summaries §46. Some Simple Summaries §47. nil in Go §48. Value Conversion, Assignment and Comparison Rules §49. Syntax/Semantics Exceptions §50. Go Details 101 §51. Go FAQ 101 §52. Go Tips 101 custom generics) are deliberately ignored in the descriptions of conversion, assignability and comparison rules. In other words, this book doesn't consider the situations in which custom generics are involved variables and named constants. There are many operators used in the program, such as the less-than comparison operator < at line 19 and 21, the equal-to operator == at line 37, and the addition operator +0 码力 | 610 页 | 945.17 KB | 1 年前3
C++ Exceptions for Smaller Firmware(RTTI) Exception Tables Exception Code Nondeterministic Slow Binary Search Frame Unwinding Type Comparison (dynamic_cast) 🤫 ? 🤫 Frame Evaluation Requires Malloc Unbounded Memory UsageBack to Class (RTTI) Exception Tables Exception Code Nondeterministic Slow Binary Search Frame Unwinding Type Comparison (dynamic_cast) 🤫 ? 🤫 Frame Evaluation Requires Malloc Unbounded Memory UsageMost accepted return result.data(); } }🎉 IT WORKS! 🥳 but … 57Barrier #2 Large Binary Sizes 58Size Comparison ‼😱‼ Using Exceptions: text data bss dec hex filename 150008 2016 13280 码力 | 237 页 | 6.74 MB | 6 月前3
Au Unitsget it in your project? 2. What does it cost, in terms of developer experience? 16.2Framework for Choosing 1. Can you get it in your project? 2. What does it cost, in terms of developer experience? 3. 3Full comparison https://aurora-opensource.github.io/au/main/alternatives/ 17Full comparison https://aurora-opensource.github.io/au/main/alternatives/ 1. Can you get it? 17.1Full comparison http 1. Can you get it? 2. What does it cost? 17.2Full comparison https://aurora-opensource.github.io/au/main/alternatives/ 1. Can you get it? 2. What does it cost? 3. “Units library speci�c” features:0 码力 | 191 页 | 22.37 MB | 6 月前3
Go 101 (Golang 101) v1.21.0Some Summaries §46. Some Simple Summaries §47. nil in Go §48. Value Conversion, Assignment and Comparison Rules §49. Syntax/Semantics Exceptions §50. Go Details 101 §51. Go FAQ 101 §52. Go Tips 101 custom generics) are deliberately ignored in the descriptions of conversion, assignability and comparison rules. In other words, this book doesn't consider the situations in which custom generics are involved variables and named constants. There are many operators used in the program, such as the less-than comparison operator < at line 19 and 21, the equal-to operator == at line 37, and the addition operator +0 码力 | 630 页 | 3.77 MB | 1 年前3
Go 101 (Golang 101) v1.21.0Some Summaries §46. Some Simple Summaries §47. nil in Go §48. Value Conversion, Assignment and Comparison Rules §49. Syntax/Semantics Exceptions §50. Go Details 101 §51. Go FAQ 101 §52. Go Tips 101 custom generics) are deliberately ignored in the descriptions of conversion, assignability and comparison rules. In other words, this book doesn't consider the situations in which custom generics are involved variables and named constants. There are many operators used in the program, such as the less-than comparison operator < at line 19 and 21, the equal-to operator == at line 37, and the addition operator +0 码力 | 880 页 | 833.34 KB | 1 年前3
Techniques to Optimise Multi-threaded Data Building During Game Developmentworld cache Stores static world contents - for quick access - no duplicated effort Beware of memory cost Need to divide the world into regions - process as separate tasks Changing one region should not notesGRID CACHE MAP CHOICE HASHMAP • Lookup • High per-cell cost • Good for small area queries FLATMAP • Lookup • No per-cell memory cost • Good for large area queries O(1) O(log n) 20Choice of FlatMap FlatMap or HashMap depends HashMap Faster O(1) lookup Higher per-cell cost - memory or runtime - depends on hashmap design FlatMap Slower O(logn) lookup No per-cell overhead Easier to gather adjacent0 码力 | 99 页 | 2.40 MB | 6 月前3
Continuous Regression Testing for Safer and Faster Refactoring10,000 + attributes to verify 16,000 + gigabytes of input data19 Aurora Innovation In-Memory Comparison Test is dif�cult to setup Test system is inef�cient to run Test system is not reuseable 50 potential differences against your baseline. Automatic and on-demand comparison Overall insights and summary reports Custom comparison rules36 Aurora Innovation Comparing images and videos Share test regression testing effectively Establishing a culture of safety at scale56 Aurora Innovation Custom comparison rules Language Agnostic Real-Time Feedback 3.8 Actual value Version v5.1 3.9 Previous value0 码力 | 85 页 | 11.66 MB | 6 月前3
Julia v1.2.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 27.2 Equality and Comparison Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 27.3 Logical stacks and catch_stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372 42.5 Comparison with backtrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373 43 numeric values that cannot be represented effec�vely in na�ve hardware representa�ons, but at the cost of rela�vely slower performance. The following are Julia's primi�ve numeric types: • Integer types:0 码力 | 1250 页 | 4.29 MB | 1 年前3
Julia v1.1.1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 27.2 Equality and Comparison Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 27.3 Logical stacks and catch_stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368 42.5 Comparison with backtrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 43 numeric values that cannot be represented effec�vely in na�ve hardware representa�ons, but at the cost of rela�vely slower performance. The following are Julia's primi�ve numeric types: • Integer types:0 码力 | 1216 页 | 4.21 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













