Contracts for C++## +24 ## Contracts for C++ ## TIMUR DOUMLER ## 20 24 September 15 - 20 ## Contracts for C++ Version 1.0 (pre-Wrocław Edition) Timur Doumler CppCon 18 September 2024 ; // assertion statement return db->retrieveWidget(i); } ## Contracts for C++ Document #: P2900R8 Date: 2024-07-26 Project: Programming Language C++ Audience: EWG com> Ville Voutilainen## Abstract In this paper, we propose a Contracts facility for C++ that has been carefully considered by SG21 with a high bar set for level of consensus 0 码力 | 181 页 | 4.44 MB | 1 年前3
Better Code: ContractsBetter Code: Contracts ## SEAN PARENT & DAVE ABRAHAMS ## 20 23 October 01 - 06  ## Better Code: Contracts Dave Abrahams components whose interaction is based on precisely defined specifications of the mutual obligations — contracts." —Building bug-free O-O software: An Introduction to Design by Contract $ ^{™} $ https://www } invariant { size(first()) == size(second()) } Strong contracts simplify code ## What's in a "strong contract?" | Tradeoffs  Louis Ryan (Principal Engineer, Google) ## Highlights of 2020 -0 码力 | 17 页 | 633.89 KB | 1 年前3
Rustle: the first static analyzer for smart contracts in RustCHINA 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 2 Background ## Motivation Why do we develop Rustle? ## 😍 ## Motivation Emerging chains with Rust as smart contracts language ## SOLANA NEAR NERVOS Polkadot CosmWasm ## Limitations of manual audit • Time-consuming Time-consuming • Expensive • Skilled auditors • Error-prone ## Current tools: Don’t support contracts in Rust  ## BlockSec Rustle0 码力 | 28 页 | 4.49 MB | 2 年前3
jsc::chunk_evenly Range Adaptor for Distributing Work Across Tasksunk_count) jsc::chunk_evenly(chunk_count) ## jsc : chunk_evenly — Range adaptor for distributing work across tasks ## Mateusz Zych, Ivo Kabadshow Jülich Supercomputing Centre, Research Centre Jülich model introduces unnecessary waiting If tasks are scheduled as early as possible, then distributing work evenly across tasks can improve performance  for each type • All types are inclined, which is not very human readable • Doesn’t work for recursive types • Need a way to export the type bindings ## How to export type bindings? • Old (); } • How to collect method names across attributes? • Use lazy_static! in the macro (doesn’t work for incremental compilation) • Custom macro service! { f : () -> () } (need to repeat the defs)0 码力 | 35 页 | 1.35 MB | 2 年前3
Rethinking Task Based Concurrency and Parallelism for Low Latency C++## +24 ## Work Contracts Rethinking Task Based Concurrency and Parallelism for Low Latency C++ MICHAEL A MANISCALCO ### “We cannot solve our problems with the same thinking we used when we created them Multiple queues for different priority also works but: ☐ Scheduling ☐ Task starvation, load balancing, work stealing ## Rethinking: Task Queues  is not a good idea: ☐ We couple logic and data together as tasks because: Task Queues typically0 码力 | 142 页 | 2.80 MB | 1 年前3
Hyperledger Fabric 1.4.9 Documentationa different approach, integrating many of the same characteristics as Bitcoin but adding smart contracts to create a platform for distributed applications. Bitcoin and Ethereum fall into a class of blockchain even digital music delivery. Fabric is the first distributed ledger platform to support smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained languages (DSL). This means that most enterprises already have the skill set needed to develop smart contracts, and no additional training to learn a new language or DSL is needed. The Fabric platform is also0 码力 | 701 页 | 9.02 MB | 2 年前3
Scrapy 2.6 Documentationspecific problems 167 5.1 Frequently Asked Questions 167 5.2 Debugging Spiders 173 5.3 Spiders Contracts 176 5.4 Common Practices 178 5.5 Broad Crawls 182 5.6 Using your browser's Developer Tools versions which Scrapy is tested against are: • Twisted 14.0 • lxml 3.4 • pyOpenSSL 0.14 Scrapy may work with older versions of these packages but it is not guaranteed it will continue working because it's follow and creating new requests (Request) from them. ## How to run our spider To put our spider to work, go to the project’s top level directory and run: scrapy crawl quotes This command runs the spider0 码力 | 384 页 | 1.63 MB | 2 年前3
Hyperledger Fabric 2.0.1 Documentationa different approach, integrating many of the same characteristics as Bitcoin but adding smart contracts to create a platform for distributed applications. Bitcoin and Ethereum fall into a class of blockchain even digital music delivery. Fabric is the first distributed ledger platform to support smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained languages (DSL). This means that most enterprises already have the skill set needed to develop smart contracts, and no additional training to learn a new language or DSL is needed. The Fabric platform is also0 码力 | 760 页 | 10.21 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
ContractsC++contract assertionspreconditionpostcondition设计契约保证异常处理代码审查IstioDay 2 OperationsWebAssembly升级维护静态分析智能合约Rust安全漏洞区块链jsc::chunk_evenly并行任务分配均匀分块异步执行零开销原则CandidDFINITY递归类型Task Based ConcurrencyTask QueuesWork ContractsSignal TreeLock FreeHyperledger FabricBlockchainSmart ContractsChaincodePermissioned BlockchainScrapySpider ContractsStats CollectionItem PipelineLink ExtractorsBlockchain networkDocker images













