The Absurdity of Error Handling
The Absurdity of Error Handling: Finding a Purpose for Errors in Safety-Critical SYCL Erik Tomusk CppCon 2023 October 5, 2023© 2023 Codeplay Software Ltd. Codeplay Corporate Slide 2© 2023 Codeplay explicitly stated© 2023 Codeplay Software Ltd. Outline • Definition of Safety • Definition of Error Handling • Case Study • Why is this Important? • Is it Really so bad? • What does this mean for SYCL execution time (in mainstream compilers) 17Definition of Error Handling 18© 2023 Codeplay Software Ltd. Definition of Error Handling • Exceptions and error codes are sometimes used for reporting or0 码力 | 43 页 | 1.39 MB | 5 月前3Message Handling with Boolean Algebra
Message Handling with Boolean Algebra Ben Deane / CppCon / 2024-09-16 1Alternative Title "The Unreasonable Effectiveness of Boolean Algebra in Software Design, Showing the Particular Application of of a Message Handling Library, with an Excursion into the Roots of Programming" 2Frontmatter No AI/LLM was used in the creation of this talk. Code is simplified for slides; may have some errors in ] SVG diagrams for resolution-independence 4What this talk is about The workings of a message-handling library. How messages and the fields in them are specified. Efficiently identifying (with matchers)0 码力 | 103 页 | 4.37 MB | 5 月前3Modern C++ Error Handling
Modern C++ Handling Phil Nash Error2018 2019series disappointments of a (total) Part 1int parse_int(std::string_view number)// TODO: +, -, digit separators? int acc = 0; for(char c versions Correct-by-construction Throwing violation-handler No noexcept PreconditionsModern C++ Handling Phil Nash Error0 码力 | 66 页 | 36.65 MB | 5 月前3Using Kubernetes for handling second screen experience of european tv show
Using Kubernetes for handling second screen experience of european tv show About us Thomas Hector Head of IT Operations Key Qualifications ● 12+ years’ experience with development and operations operations ● Automating everything ● Been handling Kubernetes clusters in production for 2 years Jan-Erik Revsbech CTO Key Qualifications ● 20+ year of experience in web-development & operation/hosting0 码力 | 28 页 | 3.86 MB | 1 年前3Design patterns for error handling in C++ programs using parallel algorithms and executors
Design patterns for error handling in C++ programs using parallel algorithms and executors Mark Hoemmen* mhoemmen@stellarscience.com CppCon 2020 * hoʊ’mən, or hœm’mən; he/himWho am I? • > 10 years Started new job at Stellar Science in March Eschew raw pointersOutline • Parallelism makes error handling harder… • …C++ parallel algorithms and tasks specifically • Message Passing Interface (MPI): 3 decades Jurvetson)Parallel hinders error handling • … because parallelism relaxes execution order – Deliberately, to improve performance • Errors interrupt execution; handling constrains order • Errors could0 码力 | 32 页 | 883.27 KB | 5 月前3Java 应用与开发 - 异常处理
0 码力 | 33 页 | 626.40 KB | 1 年前3Java EE 企业应用系统开发 - HTTP 响应处理编程
0 码力 | 26 页 | 575.28 KB | 1 年前3Java EE 企业应用系统设计 - HTTP 请求处理编程
0 码力 | 27 页 | 565.27 KB | 1 年前3Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Code
response_path; }Conventional Approach ● response is an out parameter that is set in the function ● Error handling is done both by printing to logs and returning an error code via the service response void g response_path; }Conventional Approach ● response is an out parameter that is set in the function ● Error handling is done both by printing to logs and returning an error code via the service response ● generate_global_path Single Responsibility Principle ● Inflexibility of extensions ○ Implementing more features or handling more types of services will cause the class to grow quickly ○ Data are private variables, which0 码力 | 200 页 | 1.77 MB | 5 月前3Flask Documentation (1.1.x)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 1.11 Configuration Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 1.12 Signals implemented in Flask itself. Numerous extensions provide database integration, form validation, upload handling, various open authentication technologies, and more. Flask may be “micro”, but it’s ready for pro- test_request_context() method to try out url_for(). test_request_context() tells Flask to behave as though it’s handling a request even while we use a Python shell. See Context Locals. from flask import Flask, url_for0 码力 | 291 页 | 1.25 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100