Coping With Other People's Code
• Friday 2:45pm, David Sankel "Better Code: Validity" AdobeCoping with Other People's Code Adobe 11my crafsman house Adobe 12my crafsman house Adobe 13my crafsman house old-growth cedar Adobe 15post-conference re-entry letdown Adobe 16post-conference re-entry Coping with Other People's Code Adobe 17post-conference re-entry coping is not rewriting 100% to your own tastes Adobe 18triage they also do things like speak up when they have a new solution, jump in and help fx someone else’s mess, and pass their learnings along to others" — Dr Cat Hicks, "Sense of Belonging and Sofware Teams"0 码力 | 128 页 | 9.17 MB | 5 月前3C++20's
12 C++20’sCalendars and Time Zones in MSVC Miya Natsuhara ("MEE-yuh Not-soo-HAR-uh") Miya.Natsuhara@microsoft.com Software Engineer, Visual C++ LibrariesWelcome to CppCon 2021! Join leap_seconds (https://youtu.be/WX3OmVu4lAs) • time_zone and time_zone_link (https://youtu.be/MODhhr7m-5s) • system_clock::now(), file_clock, leap second awareness (https://youtu.be/c7DT28TV0AY)9 Part II: Safety The “simple” calendrical types (e.g., day, month, year) are very straightforward – what’s the point in creating types for these concepts at all? Couldn’t we just use unsigned int for each 0 码力 | 55 页 | 8.67 MB | 5 月前3What's Eating my RAM?
2024 Bloomberg Finance L.P. What’s Eating My RAM? CppCon 2024 September 17, 2024 Jianfei Pan Software Engineer, Portfolio/Risk AnalyticsA story 🚨 90% Memory Used: What’s that alarm? 🔍Back to basics: allocation troubleshooting & tools: Leak & Fragmentation🚨 90% Memory Used: What’s that alarm?🚨 90% Memory Used What’s that alarm? Consequences: ● Swap: performance degradation ● Out-of-memory (OOM) resources are shared by different processes🚨 90% Memory Used ~$ top -o RES What’s that alarm?🚨 90% Memory Used What’s that alarm? ~$ top -o RES🔍Back to basics: How does my code impact memory usage0 码力 | 88 页 | 3.49 MB | 5 月前3What's New for Visual Studio Code
VS Code @ CppCon 2024 What’s new for Visual Studio Code: Performance, GitHub Copilot, and CMake Enhancements (Provided by Conference)Meet the Speakers Sinem Akinci PM for C++ Copilot and CMake in in VS Code Alexandra Kemper PM for the C++ Extension for VS CodeAgenda: What's new in VS Code Faster Performance Smarter GitHub Copilot suggestions Easier to use Features for CMake & C/C++ Extensible Copilot solutions Wait I want to learn about Visual Studio! Check out the talk tomorrow @ 13:30 “What’s New in Visual Studio for C++ Developers” – Mryam Girmay & Michael PriceVS Code has a rich extension0 码力 | 26 页 | 1.42 MB | 5 月前3What's New in Visual Studio 2022
xmm0, xmm1 orps xmm0, xmm2 movdqu XMMWORD PTR [r10+rax-16], xmm0 cmp ecx, edx jl SHORT $LL4@s32_1; After vmovdqu xmm1, XMMWORD PTR [r10+rax] vpsubd xmm1, xmm1, XMMWORD PTR [rax] vpabsd xmm2 edx, 4 vmovdqu XMMWORD PTR [rbx+rax], xmm2 lea rax, QWORD PTR [rax+16] cmp edx, ecx jl SHORT $LL4@s32_1 ; Before movdqu xmm0, XMMWORD PTR [r11+rax] add ecx, 4 movdqu xmm1, XMMWORD PTR [rax] lea xmm0, xmm1 orps xmm0, xmm2 movdqu XMMWORD PTR [r10+rax-16], xmm0 cmp ecx, edx jl SHORT $LL4@s32_1bool did_meow(); bool did_not_meow() { return !did_meow(); }; Before bl |?did_meow| uxtb0 码力 | 55 页 | 3.27 MB | 5 月前3Peering Forward: C++'s Next Decade
simplifying our code & tools56 part of the sea change → compile-time meta programming in C++ “The world’s big things only can be done by paying attention to their humble beginnings.” — Lao Tzu7 template (mostly-already-known) rules, “shift-left” to compile time27 from the Praise page “... This book’s emphasis on the security aspects of C programming is unmatched … use all of the available tools it seriousness about adoptability & improving safety of existing code30 auto f1() { char a[] = {'s', 'e', 'c', 'r', 'e', 't' }; } auto f2() { char a[6]; // or std::arrayprint(a); // today 0 码力 | 84 页 | 6.21 MB | 5 月前3What's New in Visual Studio for C++ Developers
SSH/container/WSL remote experiences and much, much more… https://aka.ms/cpp/code Thu 09/19 – 16:15pm What’s New for Visual Studio Code Alexandra Kemper & Sinem Akinci10 Years of Microsoft @ CppCon Many thanks0 码力 | 46 页 | 4.07 MB | 5 月前3LLVM's Realtime Safety Revolution: Tools for Modern Mission Critical Systems
LLVM’s Real-time Safety Revolution Tools for Modern Mission Critical SystemsChris Apple ● 10-year veteran of the audio industry ● Previously Dolby, Roblox, Spatial Inc. ● Currently: layabout David Real-time programmingSometimes it’s obviousvoid dispatch() { mutex_.lock(); ... } 🚨void dispatch() { x = make_unique(); ... } 🚨Sometimes it’s hiddenvoid process_audio() { __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f) #3 0x5770e08ba394 in _start (/app/output.s+0x2c394) 0x606000000300 is located 0 bytes after 64-byte region [0x6060000002c0,0x606000000300) allocated 0 码力 | 153 页 | 1.38 MB | 5 月前3Blazing Trails: Building the World's Fastest CameBoy Emulator in Modern C++
some giveaways! 3Building the World’s Fastest GameBoy Emulator in Modern C++ 4Building the World’s Fastest GameBoy Emulator in Modern C++ 5Building the World’s Fastest GameBoy Emulator in Modern C++ valuable for a C++ programmer, as C++ often deals with system-level programming.Building the World’s Fastest GameBoy Emulator in Modern C++ The original Game Boy DMG-01 • Released on • 21/04/1989 in 8Emulating a Gameboy is easy(ish) 9And if it isn’t easy: it’s testable https://github.com/c-sp/game-boy-test-roms 10Building the World’s Fastest GameBoy Emulator in Modern C++ 11 A huge library: •0 码力 | 91 页 | 8.37 MB | 5 月前3Robotics at Compile-Time: Optimizing Robotics Algorithms with C++'s Compile-Time Features
Stephen Brawner, Robottimo Robotics at Compile Time Optimizing Robotics Algorithms with c++’s Compile-Time FeaturesAbout me • Robotics Software Consultant based in Portland, OR • Chief Roboticist avoids allocation, exceptions, I/O and locks, etc • Strong type safety let’s you use tooling to validate your organization’s software and its possible states • PerformanceWhat could be better • Safety • Read encoders and write to motor driver > 100 Hz • Code is executed on embedded chip with 100s KB of memory • No self-collisions, control oscillations or drop outsForward Kinematics • The problem0 码力 | 45 页 | 20.73 MB | 5 月前3
共 384 条
- 1
- 2
- 3
- 4
- 5
- 6
- 39