Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. Initialization patterns in Dotty
 
conference paper

Initialization patterns in Dotty

Liu, Fengyun  
•
Biboudis, Aggelos
•
Odersky, Martin
September 28, 2018
Scala 2018: Proceedings of the 9th ACM SIGPLAN International Symposium on Scala

Safe object initialization is important to avoid a category of runtime errors in programming languages. In this paper, we provide a case study of the initialization patterns on the Dotty compiler. In particular, we find that calling dynamic-dispatching methods, the usage of closures and instantiating nested classes are important for initialization of Scala objects. Based on the study, we conclude that existing proposals for safe initialization are inadequate for Scala.

  • Details
  • Metrics
Type
conference paper
DOI
10.1145/3241653.3241662
Author(s)
Liu, Fengyun  
Biboudis, Aggelos
Odersky, Martin
Date Issued

2018-09-28

Published in
Scala 2018: Proceedings of the 9th ACM SIGPLAN International Symposium on Scala
Start page

51

End page

55

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LAMP1  
Available on Infoscience
November 27, 2018
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/151629
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés