Quantifying Accidental Complexity: An empirical look at teaching and using C++
Quantifying Accidental Complexity: An empirical look at teaching and using C++ Herb Sutter 9/21/2020 1 Herb Sutter 4 We’re “paying taxes” all the time Productivity Correctness and quality Tooling Tooling Teaching, learning, hiring, training 2 4Quantifying Accidental Complexity: An empirical look at teaching and using C++ Herb Sutter 9/21/2020 2 5 Common claim: “C++ is too complex” This talk's complexity Inherent in the problem, present in any solution Accidental complexity Artifact of a specific solution design 5 6Quantifying Accidental Complexity: An empirical look at teaching and using C++0 码力 | 36 页 | 2.68 MB | 5 月前3No Silver Bullet – Essence and Accident in Software Engineering
fashioning of the complex conceptual structures that compose the abstract software entity, and accidental tasks, the representation of the abstract entities in programming languages and the mapping of gains in software productivity have come from removing artificial barriers that have made the accidental tasks inordinately hard, such as severe hardware constraints, awkward programming languages, lack of machine time. How much of what software engineers now do is still devoted to the accidental, as opposed to the essential?”Agile Abstract “Therefore it appears that the time has come to0 码力 | 35 页 | 1.43 MB | 5 月前3Khronos APIs for Heterogeneous Compute and Safety: SYCL and SYCL SC
the Committee ▪ No one does ▪ Polls 29SAFETY & SECURITY ▪ What is safety? ▪ Limiting the (accidental) damage to a system caused by bugs ▪ Prefer prevention (compile-time) over detection (run-time) ▪ Cannot write a no-false-positive sanitizer to detect it ▪ Cannot tell the difference between accidental wrapping and deliberate wrapping 34P0122R0 ARRAY_VIEW: BOUNDS-SAFE VIEWS FOR SEQUENCES OF OBJECTS0 码力 | 82 页 | 3.35 MB | 5 月前3The Roles of Symmetry And Orthogonality In Design
1. Benefits (such as efficiency) do not justify added complexity 2. Unbalanced relationship was accidental (missed opportunity for one of): • Separation of Concerns: Could have established Orthogonality 1. Benefits (such as efficiency) do not justify added complexity 2. Unbalanced relationship was accidental (missed opportunity for one of): • Separation of Concerns: Could have established Orthogonality0 码力 | 151 页 | 3.20 MB | 5 月前3Ubuntu Desktop Guide
on your touchpad. Disable touchpad while typing Turn the touchpad off while typing to prevent accidental clicks. Simulate a right mouse click Press and hold the left mouse button to right-click. Simulate scrolling… See Also Disable touchpad while typing — Turn the touchpad off while typing to prevent accidental clicks. Click, drag, or scroll with the touchpad You can click, double-click, drag, and scroll laptops are often located where you rest your wrist while typing, which can sometimes cause accidental clicks while you type. You can disable the touchpad while you type. It will only work again0 码力 | 1709 页 | 5.81 MB | 1 年前3Named Optional Parameters - JavaScript Style
situation where we have multiple parameters in a function with the same type. It is very easy to make accidental switcheroos (e.g. source/destination being flipped) without a compiler error. void send(Address0 码力 | 1 页 | 3.17 MB | 5 月前3Security Beyond Memory Safety
Safety CppCon 2024 29 My Bias: Embedded Security Goals: • Show examples that • guard against accidental mistakes • reduce cognitive load in reviews • Provide inspirations for your use cases Non-Goals:0 码力 | 79 页 | 4.15 MB | 5 月前3Machine Learning Pytorch Tutorial
Prevents calculations from being added into gradient computation graph. Usually used to prevent accidental training on validation/testing data. Save/Load Trained Models ● Save torch.save(model.state_dict()0 码力 | 48 页 | 584.86 KB | 1 年前3C++20 STL Features: 1 Year of Development on GitHub
better • spans are implicitly constructible from arrays and vectors • Avoids ownership confusion, accidental pointer arithmetic • span➡ span ; span ❌ span • Shallow const, like 0 码力 | 45 页 | 989.72 KB | 5 月前3C++20 STL Features: 1 Year of Development on GitHub
better • spans are implicitly constructible from arrays and vectors • Avoids ownership confusion, accidental pointer arithmetic • span span ; span 🐞 span • Shallow const, 0 码力 | 45 页 | 702.09 KB | 5 月前3
共 744 条
- 1
- 2
- 3
- 4
- 5
- 6
- 75
相关搜索词
QuantifyingAccidentalComplexityAnempiricallookatteachingandusingC++NoSilverBulletEssenceAccidentinSoftwareEngineeringKhronosAPIsforHeterogeneousComputeSafetySYCLSCTheRolesofSymmetryAndOrthogonalityInDesignUbuntuDesktopGuideNamedOptionalParametersJavaScriptStyleSecurityBeyondMemoryMachineLearningPytorchTutorial20STLFeaturesYearDevelopmentonGitHub