Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang最新文献

筛选
英文 中文
Fifteen years of successfully dialyzing Erlang and Elixir code (invited talk) 二郎与Elixir代码的成功透析十五年(特邀演讲)
Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang Pub Date : 2021-08-18 DOI: 10.1145/3471871.3480952
Konstantinos Sagonas
{"title":"Fifteen years of successfully dialyzing Erlang and Elixir code (invited talk)","authors":"Konstantinos Sagonas","doi":"10.1145/3471871.3480952","DOIUrl":"https://doi.org/10.1145/3471871.3480952","url":null,"abstract":"As various researchers have discovered, the hard way, it is not easy to impose static type systems into dynamically typed languages, especially to those for which a significant amount of code already exists. Still, using types for documenting programmer intentions and for catching some programming errors early is widely recognized as important. This summer marked the fifteen year anniversary of the publication of the \"Success Typings\" paper [Lindahl and Sagonas, 2006], which described the basic idea and first version of the type inference algorithm that Dialyzer defect detection tool is based on. The optimistic, 'never-wrong for defect detection', approach to type inference that success typings advocate has been key in Dialyzer's successful adoption not only by Erlang programmers but also more recently by the Elixir community. At various points during the same time period, other approaches to typing Erlang and Elixir code have not managed to gain similar levels of adoption. In this invited talk, I will present the history behind success typings, their use and evolution within Dialyzer, and some reflections on what in my opinion were the key ingredients for Dialyzer's success within the communities of Erlang and Elixir programmers. I will also share some thoughts on what could have done better and/or differently, and where to go from here.","PeriodicalId":308508,"journal":{"name":"Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang","volume":"5 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114091086","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Graft: general purpose raft consensus in Elixir 嫁接:长生不老药中通用的木筏共识
Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang Pub Date : 2021-08-18 DOI: 10.1145/3471871.3472963
Matthew Alan Le Brun, D. Attard, Adrian Francalanza
{"title":"Graft: general purpose raft consensus in Elixir","authors":"Matthew Alan Le Brun, D. Attard, Adrian Francalanza","doi":"10.1145/3471871.3472963","DOIUrl":"https://doi.org/10.1145/3471871.3472963","url":null,"abstract":"We present Graft, a generic tool for creating distributed consensus clusters running the Raft algorithm using state machines in Elixir. Our tool exhibits performance that is comparable to that of the Raft implementation supporting the original proposal, as well as the performance of other state-of-the-art Raft implementations running on the BEAM. The correctness of our tool is also ascertained through a number of complementary verification methods.","PeriodicalId":308508,"journal":{"name":"Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang","volume":"37 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123601476","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 4
Makina: a new QuickCheck state machine library Makina:新的QuickCheck状态机库
Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang Pub Date : 2021-08-18 DOI: 10.1145/3471871.3472964
Luis Eduardo Bueso de Barrio, Lars-Åke Fredlund, Ángel Herranz, Clara Benac Earle, Julio Mariño-Carballo
{"title":"Makina: a new QuickCheck state machine library","authors":"Luis Eduardo Bueso de Barrio, Lars-Åke Fredlund, Ángel Herranz, Clara Benac Earle, Julio Mariño-Carballo","doi":"10.1145/3471871.3472964","DOIUrl":"https://doi.org/10.1145/3471871.3472964","url":null,"abstract":"This article presents Makina, a new library and a domain specific language for writing property-based testing models for stateful programs. Models written in the new domain specific language are, using Elixir macros, rewritten into normal QuickCheck state machines. Our main goals with Makina are to facilitate the task of developing correct and maintainable models, and to encourage model reuse. To meet these goals, Makina provides a declarative syntax for defining model states and model commands. In particular, Makina encourages the typing of specifications, and ensures through its rewrite rules that such type information can be used by, e.g., the Dialyzer tool, to effectively typecheck models. Moreover, to promote model reuse, the domain specific language provides constructs to permit models to be defined in terms of collections of previously defined models.","PeriodicalId":308508,"journal":{"name":"Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang","volume":"48 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125220259","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
What are the critical security flaws in my system? 我的系统中有哪些严重的安全缺陷?
Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang Pub Date : 2021-08-18 DOI: 10.1145/3471871.3472965
Viktória Fördős
{"title":"What are the critical security flaws in my system?","authors":"Viktória Fördős","doi":"10.1145/3471871.3472965","DOIUrl":"https://doi.org/10.1145/3471871.3472965","url":null,"abstract":"Delivering secure software is a challenge that every software engineering team needs to face and solve. Methods based on static analysis can help programmers identify security risks in the software. Security checkers built using static analysis methods are a great help but they can overload the users with their findings. Today there is no security checker for Erlang that understands the severity of the found vulnerability and uses the information to prioritise the found vulnerabilities when presenting the results to the programmers. In this paper we discuss how to prioritise vulnerabilities in Erlang programs. We propose a static analysis that determines the severity of a vulnerability. Building on top of our previous work, we extend the trust zone analyser algorithm with the proposed analysis to return prioritised results to the programmers. Our early evaluation shows that the trust zone analyser is able to identify and prioritise the most critical security flaws in an Erlang system.","PeriodicalId":308508,"journal":{"name":"Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang","volume":"59 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126011145","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Bidirectional typing for Erlang Erlang的双向类型
Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang Pub Date : 2021-08-18 DOI: 10.1145/3471871.3472966
Nithin Vadukkumchery Rajendrakumar, Annette Bieniusa
{"title":"Bidirectional typing for Erlang","authors":"Nithin Vadukkumchery Rajendrakumar, Annette Bieniusa","doi":"10.1145/3471871.3472966","DOIUrl":"https://doi.org/10.1145/3471871.3472966","url":null,"abstract":"Erlang is a strict, dynamically typed functional programming language popular for its use in distributed and fault-tolerant applications. The absence of static type checking allows ill-typed programs to cause type errors at run time. The benefits of catching these type errors at compile time are the primary motivation for introducing a static type system for Erlang. The greatest challenge is to find a balance between keeping the type checking sound while retaining the flexibility and philosophy of the Erlang. However, since Erlang allows higher-rank polymorphism, it is unavoidable to require type annotations for some functions to ensure decidability. In this paper, we propose a static type system for Erlang based on bidirectional type checking. In bidirectional type checking, terms are either used to infer a type, or they are checked against a given type. With the bidirectional type checking, we are trying to keep type checking sound without limiting the language’s philosophy. In addition, type annotations are only required when inference fails, which only occurs at predictable places, such as usage of higher-ranked polymorphism.","PeriodicalId":308508,"journal":{"name":"Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang","volume":"9 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116784871","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
The Hera framework for fault-tolerant sensor fusion with Erlang and GRiSP on an IoT network Hera框架与Erlang和GRiSP在物联网网络上的容错传感器融合
Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang Pub Date : 2021-08-18 DOI: 10.1145/3471871.3472962
Sébastien Kalbusch, Vincent Verpoten, P. V. Roy
{"title":"The Hera framework for fault-tolerant sensor fusion with Erlang and GRiSP on an IoT network","authors":"Sébastien Kalbusch, Vincent Verpoten, P. V. Roy","doi":"10.1145/3471871.3472962","DOIUrl":"https://doi.org/10.1145/3471871.3472962","url":null,"abstract":"Classical sensor fusion approaches require to work directly with the hardware and involve a lot of low-level programming, which is not suited for reliable and user-friendly sensor fusion for Internet of Things (IoT) applications. In this paper, we propose and analyze Hera, a Kalman filter-based sensor fusion framework for Erlang. Hera offers a high-level approach for asynchronous and fault-tolerant sensor fusion directly at the edge of an IoT network. We use the GRiSP-Base board, a low-cost platform specially designed for Erlang and to avoid soldering or dropping down to C. We emphasize on the importance of performing all the computations directly at the sensor-equipped devices themselves, completely removing the cloud necessity. We show that we can perform sensor fusion for position and orientation tracking at a high level of abstraction and with the strong guarantee that the system will keep running as long as one GRiSP board is alive. With Hera, the implementation effort is significantly reduced which makes it an excellent candidate for IoT prototyping and education in the field of sensor fusion.","PeriodicalId":308508,"journal":{"name":"Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang","volume":"412 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133408362","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Detecting oxbow code in Erlang codebases with the highest degree of certainty 以最高的确定性检测Erlang代码库中的牛轭代码
Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang Pub Date : 2021-07-19 DOI: 10.1145/3471871.3472961
Fernando Benavides Rodr'iguez, L. M. Castro
{"title":"Detecting oxbow code in Erlang codebases with the highest degree of certainty","authors":"Fernando Benavides Rodr'iguez, L. M. Castro","doi":"10.1145/3471871.3472961","DOIUrl":"https://doi.org/10.1145/3471871.3472961","url":null,"abstract":"The presence of source code that is no longer needed is a handicap to project maintainability. The larger and longer-lived the project, the higher the chances of accumulating dead code in its different forms. Manually detecting unused code is time-consuming, tedious, error-prone, and requires a great level of deep knowledge about the codebase. In this paper, we examine the kinds of dead code (specifically, oxbow code) that can appear in Erlang projects, and formulate rules to identify them with high accuracy. We also present an open-source static analyzer that implements these rules, allowing for the automatic detection and confident removal of oxbow code in Erlang codebases, actively contributing to increasing their quality and maintainability.","PeriodicalId":308508,"journal":{"name":"Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang","volume":"23 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-07-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131654820","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang 第20届ACM SIGPLAN国际Erlang研讨会论文集
{"title":"Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang","authors":"","doi":"10.1145/3471871","DOIUrl":"https://doi.org/10.1145/3471871","url":null,"abstract":"","PeriodicalId":308508,"journal":{"name":"Proceedings of the 20th ACM SIGPLAN International Workshop on Erlang","volume":"308 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131683451","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书