arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.04129cs.CRcs.PL
收藏

智能合约语言:比较分析

Smart Contract Languages: a comparative analysis

Università degli Studi di Cagliari(卡利亚里大学);Università Ca’ Foscari Venezia(威尼斯大学);Università di Padova(帕多瓦大学);Technical University of Denmark(丹麦技术大学);Università degli Studi di Trento(特伦托大学)
Massimo Bartoletti, Lorenzo Benetollo, Michele Bugliesi, Silvia Crafa, Giacomo Dal Sasso, Roberto Pettinau, Andrea Pinna, Mattia Piras, Sabina Rossi, Stefano Sa… 展开作者

Massimo Bartoletti, Lorenzo Benetollo, Michele Bugliesi, Silvia Crafa, Giacomo Dal Sasso, Roberto Pettinau, Andrea Pinna, Mattia Piras, Sabina Rossi, Stefano Salis, Alvise Spanò, Viacheslav Tkachenko, Roberto Tonelli, Roberto Zunino

AI总结:

本文比较分析了主要区块链平台上智能合约语言的特性,评估其易用性、安全性和编程风格,并提出了一套涵盖广泛用例的基准测试。

摘要:

智能合约在区块链和去中心化应用(DApps)的发展中发挥了关键作用。随着DApps持续获得广泛应用,多种智能合约语言已被提供并继续提供给开发人员,每种语言都有其独特的特性、优势和劣势。本文研究了主要区块链平台上使用的智能合约语言,旨在全面评估其主要属性。我们的分析针对编程语言而非底层架构:因此,虽然我们考虑了语言设计与区块链模型之间的相互作用,但我们的主要关注点仍然是语言特定的特性,如易用性、编程风格、安全性和安全性。为了进行评估,我们提出了一个原创的基准测试,涵盖了广泛但可控的关键用例,这些用例横跨所有被研究的智能合约语言。

英文摘要:

Smart contracts have played a pivotal role in the evolution of blockchains and Decentralized Applications (DApps). As DApps continue to gain widespread adoption, multiple smart contract languages have been and are being made available to developers, each with its distinctive features, strengths, and weaknesses. In this paper, we examine the smart contract languages used in major blockchain platforms, with the goal of providing a comprehensive assessment of their main properties. Our analysis targets the programming languages rather than the underlying architecture: as a result, while we do consider the interplay between language design and blockchain model, our main focus remains on language-specific features such as usability, programming style, safety and security. To conduct our assessment, we propose an original benchmark which encompasses a wide, yet manageable, spectrum of key use cases that cut across all the smart contract languages under examination.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑