Delivering safe C++## Delivering safe C++ Bjarne Stroustrup Columbia University www.stroustrup.com  ## Overview • The challenges of safety Government have begun initiatives to drive the culture of software development towards utilizing memory safe languages. · ... • NSA advises organizations to consider making a strategic shift from programming provide little or no inherent memory protection, such as C/C++, to a memory safe language when possible. Some examples of memory safe languages are C#, Go, Java, Ruby $ ^{™} $ , and Swift $ ^{®} $ . • NSA:0 码力 | 74 页 | 2.72 MB | 1 年前3
Exceptional C++21 October 24-29 ## Exceptional C++ CppCon 2021 October 25 $ ^{th} $ ## Abstract When writing code we usually focus our attention on the happy paths - that’s where the interesting stuff happens. But exceptions are a powerful mechanism of maneuvering execution on the unhappy path. Even if std::exception and related machinery are not your cup of tea, you might care about hardware faults or OS signals happens when an exception occurs, both at the application level and the OS level. We'll explore the unwind process, the compiler generated code, the CRT hooks available and other exception internals. As0 码力 | 113 页 | 24.39 MB | 1 年前3
Building Safe and Reliable Surgical Robotics with C++## +24 ## Building Safe and Reliable Surgical Robotics with C++ ## MILAD KHALEDYAN ## Presenters Milad Khaledyan Software Robotics Engineer Alexander Drew Software Engineer Disclaimer: The views in Software Products Released: September 20, 2023 Revised: December 06, 2023 The Case for Memory Safe Roadmaps BACK TO THE BU] BL( A PA1 MEAS FEBRUARY NATIONAL CYBERSECURITY STRATEGY IMPLEMENTATION Condition')| |22|CWE-269|Improper Privilege Management| |23|CWE-94|Improper Control of Generation of Code ('Code Injection')| |24|CWE-863|Incorrect Authorization| |25|CWE-276|Incorrect Default Permissions|0 码力 | 71 页 | 4.02 MB | 1 年前3
Top 5 improvements to Debugging Go Code in VS Code# Top 5 improvements to Debugging Go Code in VS Code in the last year Ramya Rao Software Engineer, Microsoft Maintainer of the Go plugin to VS Code ## Add/remove breakpoints when in the middle of debugging0 码力 | 9 页 | 153.73 KB | 2 年前3
Code Analysis++## +21 ## Code Analysis++ ## ANASTASIA KAZAKOVA ## 20 21 October 24-29 • Anastasia Kazakova, @anastasiak2512 C++ Dev: Embedded, Networking C++ Tools PMM and .NET Tools Marketing Lead, JetBrains - UG: https://www.meetup.com/St-Petersburg-CPP-User-Group/ C++ Russia: https://cppconf.ru/en/ ## Why Code Analysis? ## Software Quality While preparing for my workshop at #CppOnSea, I want to ask you: reply about software quality. Readability Repeatable tests SW helps solving Maintainability Expressive code less UB problems Simplicity tools Robustness The Last Spike Work as intended fuzzer Orthogonality0 码力 | 61 页 | 2.70 MB | 1 年前3
Better Code: Contracts+23 ## Better Code: Contracts ## SEAN PARENT & DAVE ABRAHAMS ## 20 23 October 01 - 06  ## Better Code: Contracts Dave Co-creator Documentation > Code  Local reasoning is the idea that the reader can make sense of the code directly in front of them them, without going on a journey discovering how the code works. ## —Nathan Gitter (https://medium.com/@nathangitter/local-reasoning-in-swift-6782e459d) ## Local reasoning | The tower of abstraction0 码力 | 204 页 | 4.46 MB | 1 年前3
Changing Legacy Code: With Confidence## GARMIN $ ^{®} $ ## Changing Legacy Code with Confidence: ## Practical Advice for Maintaining and Migrating Working Code ## Part 0: Legacy Code ## Legacy code has value • It works $ ^{*} $ It may making the company money • One person's bug is another's critical feature ## The Legacy of Code • Best practices and languages change • Developers cycle through projects • Features added/removed/re-added • Supporting tools change ## Goals of this talk • Preserve working code • Introduce testing • Gradual improvement • Make code self documenting • Instill confidence in changes • Develop for maintenance0 码力 | 114 页 | 982.54 KB | 1 年前3
Code generation for Vulkan Initialization## CODE GENERATION FOR VULKAN INITIALIZATION ## LEARNING VULKAN • So... • I’ve decided to learn Vulkan. • Did I learn it? • Not yet. ## WHAT DID I LEARN? ## THIS: ### Copyright © 2019-2019, NVIDIA "vk::SystemError: " << err.what() << std::endl; exit(-1); catch ( standard exception & err )code generation ■ XSLT translation to header file • Enumerate all the things ■ Platforms, extensions0 码力 | 13 页 | 963.32 KB | 1 年前3
Better Code: Exploring Validity## +23 ## Better Code: Exploring Validity ## DAVID SANKEL ## 20 23 October 01 - 06  ## Better Code Exploring Validity STLab exception safety classes Minimal exception safety. Partial execution of failed operations can result in side effects, but all objects under mutation must be discardable. Strong exception safety 5ee27df53fcaa5f54807d98b467/p104_1.jpg) // Has the minimal exception safety guarantee void minimal(Foo&); // Has the strong exception safety guarantee void strong(Foo&); x = /*...*/; try{ minimal(x);0 码力 | 117 页 | 6.03 MB | 1 年前3
Connecting User And Library Code## Customization Methods: Connecting User And Library Code Inbal Levi ## Who Am I? • A C++ Developer at Millennium. • Active member of ISO C++ work group (WG21): • Library Evolution Work Group Chair [Image](/uploads/documents/6/8/a/b/68abc7a36fe95e8dd3264ceb8985e804/p5_1.jpg) @@@ All of library code is in LibSpace, user code without frame is in UserSpace ## Part 0: What is a Library • From Wikipedia: “A [software] collection of non-volatile resources used by computer programs, often for software development.” • Library code is often shared between different developers. • Possibly from different parts of the world, who have0 码力 | 58 页 | 18.82 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
类型安全资源安全配置文件核心指南安全性Exception InternalsException HandlingException Safe CodeError Handlingbest practicesSafetyReliabilityC++Medical DevicesSoftware Engineering调试断点堆栈跟踪变量面板社区贡献Clang-Tidy静态分析工具C++ Core Guidelines域特定分析工具样式检查工具设计契约保证异常处理代码审查Legacy CodeMaintenanceTestingDevelopmentMigrationVulkan初始化Swapchain队列物理设备呈现模式ValidityPreconditionType SystemCppCon 2023Better CodeCustomization PointsLibrary CodeUser CodeIntegrationHooks













