THE NETWORKINGTS FROM SCRATCH: IO ObjectsTHE NETWORKING TS FROM SCRATCH ## I /O Objects Robert Leahy - rleahy@rleahy.ca ISO C++ Networking is blocked on Executors (P0443) Target for Networking is currently C++23 (P0592) Used standalone Asio of composed asynchronous operations depend on those guarantees being honored transitively ## “I/O objects” provide a handle to low level asynchronous functionality within the framework of the Networking (perhaps including one or more I/O objects) is a useful pattern Service objects own completion handlers thereby breaking the potential ownership cycle Service objects are owned by an ExecutionContext0 码力 | 35 页 | 900.82 KB | 1 年前3
Apache Cassandra static column 介绍与实战Apache Cassandra static column 介绍与实战 假设我们有这样的场景:我们想在 Cassandra 中使用一张表记录用户基本信息(比如 email、密码等)以及用户状态更新。我们知道,用户的基本信息一般很少会变动,但是状态会经常变化,如果每次状态更新都把用户基本信息都加进去,势必会让费大量的存储空间。为了解决这种问题,Cassandra 引入了 static column。同一个 partition partition key 中被声明为 static 的列只有一个值的,也就是只存储一份。 解Spark、Hadoop或者Hbase相关的文章,欢迎关注微信公共帐号:iteblog_hadoop ## 定义 static column 在表中将某个列定义为 STATIC 很简单,只需要在列的最后面加上 STATIC 关键字,具体如下: CREATE TABLE "iteblog_u #34; ( "username" text, "id" timeuuid, "email" text STATIC, "encrypted_password" blob STATIC, "body" text, PRIMARY KEY ("username", "id") ); it0 码力 | 5 页 | 0 Bytes | 2 年前3
Rustle: the first static analyzer for smart contracts in Rust## RUST CHINA CONF 2023 第三届中国Rust开发者大会 6.17-6.18 @Shanghai ## Rustle: the first static analyzer for smart contracts in Rust Matthew Jiang Director of Security Team @ BlockSec Outline 1 Motivation in Rustle • Complete documentation and samples is preferred ## Conclusion - Rustle is the first static analyzer for smart contracts in Rust and has been integrated into our workflow - Rustle supports0 码力 | 28 页 | 4.49 MB | 2 年前3
Object Introspection: A Revolutionary Memory Profiler for C++ Objects## +23 ## Object Introspection: A Revolutionary Memory Profiler for C++ Objects ## JONATHAN HASLAM & ADITYA SARWADE 20 23 October 01 - 06 ## Scene Setting “... functions then provide the basic p4_1.jpg) ## Object Introspection (Ol) Goals - Byte level memory footprint analysis for objects • Complete object type hierarchies • Dynamic allocations and containers • Optimised, production Dynamic Profiler • Can be used with no recompilation or code modification • APIs ## Outline • Debug Info Analysis • Type/Layout Reconstruction • Code Generation • Object Introspection as a Library • Object0 码力 | 62 页 | 2.24 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
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
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
Finding Bugs using Path-Sensitive Static Analysis## Finding Bugs using Path-Sensitive Static Analysis ## Welcome to CppCon 2021! Join #visual_studio channel on CppCon Discord https://aka.ms/cppcon/discord • Meet the Microsoft C++ team • Ask any questions latest announcements Take our survey https://aka.ms/cppcon ## Agenda • Intro to path-sensitive static analysis • Path-sensitive checks in MSVC • A look under the hood • Upcoming features • Lessons Lessons learned  ## Static Analysis torv(5); [0]; /nologo /analyze:only /analyze:plugin .cpp(6) : warning C26446: Prefer 0 码力 | 35 页 | 14.13 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
Better Code: Exploring Validity## +23 ## Better Code: Exploring Validity ## DAVID SANKEL ## 20 23 October 01 - 06  ## Better Code Exploring Validity 1001011101010010101001110100101001010100111010100101010100101010100101010100101001010| |---| ## Objects and State DEFINITION: An object's state is the bit configuration of memory that is under that [Image](/uploads/documents/f/8/2/5/f82555ee27df53fcaa5f54807d98b467/p62_1.jpg) DEFINITION: Discardable objects are valid for destruction and assignment. 












