Skip to main content

Showing 1–14 of 14 results for author: Crafa, S

.
  1. arXiv:2404.04129  [pdf, other

    cs.CR cs.PL

    Smart Contract Languages: a comparative analysis

    Authors: 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

    Abstract: Decentralized blockchain platforms support the secure exchange of assets among users without relying on trusted third parties. These exchanges are programmed with smart contracts, computer programs directly executed by blockchain nodes. Multiple smart contract languages are available nowadays to developers, each with its own distinctive features, strengths, and weaknesses. In this paper, we examin… ▽ More

    Submitted 5 April, 2024; originally announced April 2024.

  2. arXiv:2209.02353  [pdf, other

    cs.PL cs.CY cs.LO

    From Legal Contracts to Legal Calculi: the code-driven normativity

    Authors: Silvia Crafa

    Abstract: Using dedicated software to represent or enact legislation or regulation has the advantage of solving the inherent ambiguity of legal texts and enabling the automation of compliance with legal norms. On the other hand, the so-called code-driven normativity is less flexible than the legal provisions it claims to implement, and transforms the nature of legal protection, potentially reducing the capa… ▽ More

    Submitted 6 September, 2022; originally announced September 2022.

    Comments: In Proceedings EXPRESS/SOS 2022, arXiv:2208.14777. arXiv admin note: text overlap with arXiv:2110.11069

    Journal ref: EPTCS 368, 2022, pp. 23-42

  3. arXiv:2110.11069  [pdf, ps, other

    cs.PL

    Pacta sunt servanda: legal contracts in Stipula

    Authors: Silvia Crafa, Cosimo Laneve, Giovanni Sartor

    Abstract: There is a growing interest in running legal contracts on digital systems, at the same time, it is important to understand to what extent software contracts may capture legal content. We then undertake a foundational study of legal contracts and we distill four main features: agreement, permissions, violations and obligations. We therefore design Stipula, a domain specific language that assists la… ▽ More

    Submitted 21 October, 2021; originally announced October 2021.

  4. arXiv:1907.02952  [pdf, ps, other

    cs.PL

    Solidity 0.5: when typed does not mean type safe

    Authors: Silvia Crafa, Matteo Di Pirro

    Abstract: The recent release of Solidity 0.5 introduced a new type to prevent Ether transfers to smart contracts that are not supposed to receive money. Unfortunately, the compiler fails in enforcing the guarantees this type intended to convey, hence the type soundness of Solidity 0.5 is no better than that of Solidity 0.4. In this paper we discuss a paradigmatic example showing that vulnerable Solidity pat… ▽ More

    Submitted 5 July, 2019; originally announced July 2019.

  5. arXiv:1607.02927  [pdf, other

    cs.PL

    On the chemistry of typestate-oriented actors

    Authors: Silvia Crafa, Luca Padovani

    Abstract: Typestate-oriented programming is an extension of the OO paradigm in which objects are modeled not just in terms of interfaces but also in terms of their usage protocols, describing legal sequences of method calls, possibly depending on the object's internal state. We argue that the Actor Model allows typestate-OOP in an inherently distributed setting, whereby objects/actors can be accessed concur… ▽ More

    Submitted 11 July, 2016; originally announced July 2016.

  6. arXiv:1510.04440  [pdf, ps, other

    cs.PL

    Modelling the Evolution of Programming Languages

    Authors: Silvia Crafa

    Abstract: Programming languages are engineered languages that allow to instruct a machine and share algorithmic information; they have a great influence on the society since they underlie almost every information technology artefact, and they are at the core of the current explosion of software technology. The history of programming languages is marked by innovations, diversifications, lateral transfers and… ▽ More

    Submitted 15 October, 2015; originally announced October 2015.

  7. Proceedings of the Combined 22th International Workshop on Expressiveness in Concurrency and 12th Workshop on Structural Operational Semantics

    Authors: Silvia Crafa, Daniel E. Gebler

    Abstract: This volume contains the proceedings of the Combined 22nd International Workshop on Expressiveness in Concurrency and the 12th Workshop on Structural Operational Semantics (EXPRESS/SOS 2015) which was held on 31 August 2015 in Madrid, Spain, as an affiliated workshop of CONCUR 2015, the 26th International Conference on Concurrency Theory. The EXPRESS workshops aim at bringing together researchers… ▽ More

    Submitted 25 August, 2015; originally announced August 2015.

    Journal ref: EPTCS 190, 2015

  8. arXiv:1507.07719  [pdf, other

    cs.PL

    The role of concurrency in an evolutionary view of programming abstractions

    Authors: Silvia Crafa

    Abstract: In this paper we examine how concurrency has been embodied in mainstream programming languages. In particular, we rely on the evolutionary talking borrowed from biology to discuss major historical landmarks and crucial concepts that shaped the development of programming languages. We examine the general development process, occasionally deepening into some language, trying to uncover evolutionary… ▽ More

    Submitted 28 July, 2015; originally announced July 2015.

  9. arXiv:1505.03060  [pdf, other

    cs.DC

    Actors vs Shared Memory: two models at work on Big Data application frameworks

    Authors: Silvia Crafa, Luca Tronchin

    Abstract: This work aims at analyzing how two different concurrency models, namely the shared memory model and the actor model, can influence the development of applications that manage huge masses of data, distinctive of Big Data applications. The paper compares the two models by analyzing a couple of concrete projects based on the MapReduce and Bulk Synchronous Parallel algorithmic schemes. Both projects… ▽ More

    Submitted 12 May, 2015; originally announced May 2015.

    ACM Class: C.2.4; D.1.3; F.1.2

  10. arXiv:1408.1271   

    cs.LO cs.PL

    Proceedings Combined 21st International Workshop on Expressiveness in Concurrency and 11th Workshop on Structural Operational Semantics

    Authors: Johannes Borgström, Silvia Crafa

    Abstract: This volume contains the proceedings of the Combined 21st International Workshop on Expressiveness in Concurrency and the 11th Workshop on Structural Operational Semantics (EXPRESS/SOS 2014) which was held on 1st September 2014 in Rome, Italy, as an affiliated workshop of CONCUR 2014, the 25th International Conference on Concurrency Theory. The EXPRESS workshops aim at bringing together resear… ▽ More

    Submitted 6 August, 2014; originally announced August 2014.

    ACM Class: F3.2

    Journal ref: EPTCS 160, 2014

  11. arXiv:1312.3739  [pdf, ps, other

    cs.PL

    Semantics of (Resilient) X10

    Authors: Silvia Crafa, David Cunningham, Vijay Saraswat, Avraham Shinnar, Olivier Tardieu

    Abstract: We present a formal small-step structural operational semantics for a large fragment of X10, unifying past work. The fragment covers multiple places, mutable objects on the heap, sequencing, \code{try/catch}, \code{async}, \code{finish}, and \code{at} constructs. This model accurately captures the behavior of a large class of concurrent, multi-place X10 programs. Further, we introduce a formal mod… ▽ More

    Submitted 13 December, 2013; originally announced December 2013.

  12. arXiv:1303.1384  [pdf, ps, other

    cs.DC cs.AI

    Causality in concurrent systems

    Authors: Silvia Crafa, Federica Russo

    Abstract: Concurrent systems identify systems, either software, hardware or even biological systems, that are characterized by sets of independent actions that can be executed in any order or simultaneously. Computer scientists resort to a causal terminology to describe and analyse the relations between the actions in these systems. However, a thorough discussion about the meaning of causality in such a con… ▽ More

    Submitted 6 March, 2013; originally announced March 2013.

    Comments: This is an interdisciplinary paper. It addresses a class of causal models developed in computer science from an epistemic perspective, namely in terms of philosophy of causality

  13. arXiv:1206.1687  [pdf, ps, other

    cs.PL

    Behavioural Types for Actor Systems

    Authors: Silvia Crafa

    Abstract: Recent mainstream programming languages such as Erlang or Scala have renewed the interest on the Actor model of concurrency. However, the literature on the static analysis of actor systems is still lacking of mature formal methods. In this paper we present a minimal actor calculus that takes as primitive the basic constructs of Scala's Actors API. More precisely, actors can send asynchronous messa… ▽ More

    Submitted 8 June, 2012; originally announced June 2012.

  14. arXiv:1110.4094  [pdf, ps, other

    cs.LO

    A Logic for True Concurrency

    Authors: Paolo Baldan, Silvia Crafa

    Abstract: We propose a logic for true concurrency whose formulae predicate about events in computations and their causal dependencies. The induced logical equivalence is hereditary history preserving bisimilarity, and fragments of the logic can be identified which correspond to other true concurrent behavioural equivalences in the literature: step, pomset and history preserving bisimilarity. Standard Hennes… ▽ More

    Submitted 17 January, 2014; v1 submitted 18 October, 2011; originally announced October 2011.

    Comments: 31 pages, a preliminary version appeared in CONCUR 2010

    ACM Class: F.3.1; F.4.1; F.1.1