Code generation for Vulkan InitializationCODE CODE GENERATION GENERATION FOR VULKAN FOR VULKAN INITIALIZATION. INITIALIZATION.LEARNING VULKAN LEARNING VULKAN So… I’ve decided to learn Vulkan. Did I learn it? Not yet.WHAT DID I LEARN? WHAT platform selection All extensionsDEPENDENCIES DEPENDENCIESWHAT DID I DO? WHAT DID I DO? Simple code generation XSLT translation to header �le Enumerate all the things Platforms, extensions, and types knows it’s pre-requisites Builder for target object create required predecessors Simplifying the generation of requirements Automate extension and device selection Builder object, selects extensions based0 码力 | 13 页 | 963.32 KB | 6 月前3
Code Generation from Unified Robot Description Format for Accelerated Roboticsstate-of-the-art Compilertakes in standard Unified Robot Description Format (URDF) files and generates optimized code Setup data structure to optimize SIMD execution Skip unneeded computations like combiningfixed joints not change very often, otherthan attachments, like cameras and end effectors Motivation 。Compiled code can betested formemory allocations and real-time compatibility. Safety critical applications, such 。Allowsforhardware specific CPU optimizations to be enabled since the code is source built on every machine 。Some advantages of code generation as opposed to atemplated robot builder are 1) less likely to make0 码力 | 93 页 | 9.29 MB | 6 月前3
Top 5 improvements to Debugging Go Code in VS CodeTop 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 of0 码力 | 9 页 | 153.73 KB | 1 年前3
Code Analysis++UG: https://www.meetup.com/St-Petersburg-CPP-User- Group/ ● C++ Russia: https://cppconf.ru/en/Why Code Analysis?Software QualityReadability Maintainability tools fuzzer battery life Repeatable Orthogonality SW helps solving problems The Last Spike Languages Memory management Expressive code Simplicity Work as intended Documented ReviewsReliability Efficiency Security Maintainability Managing Makefiles 23 % Parallelism support 22 % Managing MSBuild projects 18 % Debugging issues in my code 18 % Memory safety: Bounds safety issues 16 % Memory safety: Use-after-delete/free 15 % Security0 码力 | 61 页 | 2.70 MB | 6 月前3
Better Code: Contracts1Better Code: Contracts Dave Abrahams & Sean Parent What's holding our software together? Can we do better than duct tape and good intentions? 2© 2023 Adobe. All Rights Reserved. Adobe’s Software Libraries ResearchDocumentation > Code 4© 2023 Adobe. All Rights Reserved. Local reasoning Local reasoning is the idea that the reader can make sense of the code directly in front of them, without without going on a journey discovering how the code works. —Nathan Gitter (https://medium.com/@nathangitter/local-reasoning-in-swift-6782e459d) 5© 2023 Adobe. All Rights Reserved. Local reasoning |0 码力 | 204 页 | 4.46 MB | 6 月前3
Better x86 Assembly Generation with GoBetter x86 Assembly Generation with Go Michael McLoughlin Gophercon 2019 Uber Advanced Technologies Group Assembly Language Go provides the ability to write functions in assembly language. Assembly • Low-level Runtime Details • Cryptography Outline Go Assembly Primer Problem Statement Code Generation The avo Library Examples Dot Product SHA-1 Future Go Assembly Primer Hello, World! package { return x + y } Go Disassembler The Go disassembler may be used to inspect generated machine code. go build -o add.a go tool objdump add.a TEXT %22%22.Add(SB) gofile../Users/michaelmcloughlin/Dev0 码力 | 155 页 | 13.54 MB | 1 年前3
Connecting User And Library Code@@@ All of library code is in LibSpace, user code without frame is in UserSpace@@@ As opposed to library sharing entities with other libraries+ @@@ Deducing this removes the need for CRTP2 Slides1. https://godbolt for default implementation (something which can be done generally) @@@ All of library code is in LibSpace, user code without frame is in UserSpace1. @@@ Terms: 1. Overload: multiple functions with the ”5 Slides@@@ (*) Concepts are only limiting by behavior / qualities@@@ All of library code is in LibSpace, user code without frame is in UserSpace 1. Basic: https://godbolt.org/z/nej3977z8@@@ This is done0 码力 | 58 页 | 18.82 MB | 6 月前3
Changing Legacy Code: With Confidencefor Maintaining and Migrating Working Code Changing Legacy Code with Confidence: Brian Ruth (he/him) brian.ruth@garmin.comPart 0: Legacy Code• It works* • It may not have tests, but It is currently making the company money • One person's bug is another's critical feature Legacy code has value *well enough, for some definition of "works"• Best practices and languages change • Developers Supporting tools change The Legacy of Code *for some definition of "structure"• Preserve working code • Introduce testing • Gradual improvement • Make code self documenting • Instill confidence in0 码力 | 114 页 | 982.54 KB | 6 月前3
Better Code: Exploring ValidityBetter Code Exploring Validity David Sankel | Principal Scientist CppCon 2023© 2023 Adobe. All Rights Reserved. Adobe’s Software Technology Lab Sean Parent Senior Principal Scientist Manager, Software 2023 Adobe. All Rights Reserved. C++ at Adobe! Careers Events Training Videos (STLab Better Code Series!) Blog Posts … developer.adobe.com/cpp© 2023 Adobe. All Rights Reserved. Comments/Questions©0 码力 | 117 页 | 6.03 MB | 6 月前3
Compile-Time Compression and Resource Generation with C++20data from code at compile-time Be used to construct: Lookup Tables Con�guration Fuses Compressed Strings USB Descriptors 2 . 1/ Along the way Introduce some libraries I created for this code Discuss 5/ Building Resources Lookup Tables Con�guration Fuses Compressed String Tables USB Descriptor Code samples available on GitHub https://github.com/AshleyRoll/cppcon21 6 . 1/ Why No external tools �lled with bit- mapped magic values Sets up clocks, memory segments, watchdog timer JTAG debug, code security, and much more 8 . 1/ Config Fuses Vendor speci�c compiler extensions to set fuses pragmas0 码力 | 59 页 | 1.86 MB | 6 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













