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 Conclusion ## 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
Candid: the interface description language of the Internet Computer smart contracts - 陈研Rust China Conf 2023 ## Candid: the interface description language of the Internet Computer smart contracts -- How DFINITY uses procedure macro to extend Rust Yan Chen DFINITY Foundation  ## 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  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
Back to Basics: Smart Pointersnt max() std::cout # Smart Pointers std::cout ## Back to Basics d(std::logical std::cout << "myVec::"; for (auto i: myVec).std::cout std::cout << "\n"; std::vectormyVec2); Rainer Grimm Training, Coaching, and Technology Consulting www.ModernesCpp.net ## Smart Pointer A First Overview std::unique_ptr – Exclusive Ownership std::shared_ptr - Shared Ownership std::weak_ptr – Break of Cyclic References Performance Concurrency Function Arguments and Return Values ## Smart Pointer A First Overview std::unique_ptr – Exclusive Ownership std::shared_ptr - Shared Ownership0 码力 | 30 页 | 625.43 KB | 1 年前3
Hyperledger Fabric 1.4.9 Documentationtook a 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 and 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 is0 码力 | 701 页 | 9.02 MB | 2 年前3
Hyperledger Fabric 2.1 Documentationtook a 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 and 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 is0 码力 | 904 页 | 10.95 MB | 2 年前3
Six Ways for Implementing Math Expressions Calculator9_2.jpg) # Six ways for Implementing Math Expressions Calculator A walk through polymorphism, smart pointers, templates, concepts and more Amir Kirsh  << endl; delete e; Why do we use new and delete to begin with? Shouldn't we use smart pointers? First improvement attempt: unique_ptr ## Let's try it together Live Coding! ## Let's mandatory for Polymorphism! - Prefer using smart pointers for internal members - Try to hide your smart pointers, exposing value type semantics (Treat the use of smart pointers as an implementation detail!)0 码力 | 63 页 | 1.85 MB | 1 年前3
Government Excerptdifferent about Inslee’s administration is how they’re going about it. They’ve dubbed their new approach SMART—Specific, Measureable, Attainable, Relevant, and Time-bound. In other words, they want to use Scrum0 码力 | 3 页 | 414.99 KB | 1 年前3
Kotlin Language Documentation 1.3button = findViewById(R.id.button) as Button ## Smart cast improvements When a variable is assigned from a safe call expression and checked for null, the smart cast is now applied to the safe call receiver firstChar } // s: Any is smart cast to CharSequence val firstItem = (s as? Iterable<*>)?.firstOrNull() if (firstItem != null) return s.count { it == firstItem } // s: Any is smart cast to Iterable<*> Iterable<*> Also, smart casts in a lambda are now allowed for local variables that are only modified before the lambda: val flag = args.size == 0 var x: String? = null if (flag) x = "Yahoo!" run0 码力 | 597 页 | 3.61 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
静态分析智能合约Rust安全漏洞区块链CandidDFINITY递归类型设计契约保证异常处理代码审查C++Contractscontract assertionspreconditionpostconditionstd::unique_ptrstd::shared_ptrstd::weak_ptrRAIIC++20Hyperledger FabricBlockchainSmart ContractsChaincodePermissioned Blockchainpermissioned distributed ledger platformchaincodeMSPsmart contractspolymorphismsmart pointerstemplatesconceptsScrumLean政府SMART原则增量交付可交付成果CoroutinesMultiplatform ProjectsInline classesProgressive mode













