Proceedings of the 11th ACM SIGPLAN International Symposium on Scala最新文献

筛选
英文 中文
ONNX-Scala: typeful, functional deep learning / Dotty meets an open AI standard (open-source talk) ONNX-Scala:类型,功能深度学习/ Dotty满足开放的人工智能标准(开源演讲)
Proceedings of the 11th ACM SIGPLAN International Symposium on Scala Pub Date : 2020-11-13 DOI: 10.1145/3426426.3434120
Alex Merritt
{"title":"ONNX-Scala: typeful, functional deep learning / Dotty meets an open AI standard (open-source talk)","authors":"Alex Merritt","doi":"10.1145/3426426.3434120","DOIUrl":"https://doi.org/10.1145/3426426.3434120","url":null,"abstract":"ONNX (Open Neural Network eXchange) is an open standard for machine learning interoperability, supported by the most widely used tools and frameworks. ONNX-Scala (https://github.com/EmergentOrder/onnx-scala) brings full support for the ONNX specification, and hence for state-of-the-art deep learning models as well as numerical computing more generally to the Scala ecosystem. Backed by the optimized native CPU/GPU backend ONNX Runtime, with a Scala.js backend coming soon, it offers 2 APIs: A) For off-the-shelf models / performance-critical scenarios, a simple black-box API, B) for everything else (pre/post processing, model customization, internal parameter streaming, etc.) a fine grained API that exposes each ONNX operator as a pure function with type-level encoding of, and constraints on, shapes, axis semantics and data type for each input and output tensor / ndarray. The latter API synthesizes recent progress toward more typeful and functional approaches from across the (Python-dominated) AI ecosystem, implemented using a variety of new features in Dotty / Scala 3 and forms the basis of NDScala (https://github.com/SciScala/NDScala), a NumPy-like API enabling seamless interoperation between ONNX-Scala and other JVM-based offerings via an ndarray type class.","PeriodicalId":424543,"journal":{"name":"Proceedings of the 11th ACM SIGPLAN International Symposium on Scala","volume":"24 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123446746","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
Proceedings of the 11th ACM SIGPLAN International Symposium on Scala 第11届ACM SIGPLAN Scala国际研讨会论文集
{"title":"Proceedings of the 11th ACM SIGPLAN International Symposium on Scala","authors":"","doi":"10.1145/3426426","DOIUrl":"https://doi.org/10.1145/3426426","url":null,"abstract":"","PeriodicalId":424543,"journal":{"name":"Proceedings of the 11th ACM SIGPLAN International Symposium on Scala","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130715972","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
Kaizen: a scalable concolic fuzzing tool for Scala Kaizen:用于Scala的可伸缩concolic模糊测试工具
Proceedings of the 11th ACM SIGPLAN International Symposium on Scala Pub Date : 2020-11-13 DOI: 10.1145/3426426.3428487
Mohammadreza Ashouri
{"title":"Kaizen: a scalable concolic fuzzing tool for Scala","authors":"Mohammadreza Ashouri","doi":"10.1145/3426426.3428487","DOIUrl":"https://doi.org/10.1145/3426426.3428487","url":null,"abstract":"Scala is an open-source programming language created by Martin Odersky in 2001 and released under the BSD or Berkeley Software Distribution license. The language consolidates object-oriented and functional programming in one high-level and robust language. Scala also maintains static types that help to reduce tricky errors during the execution time. In this paper, we introduce ”Kaizen” as a practical security analysis tool that works based on concolic fuzzing for evaluating real-world Scala applications. To evaluated our approach, we analyzed 1,000 popular Scala projects existing on GitHub. As a result, Kaizen could report and exploit 101 security issues; some of those have not been reported before. Furthermore, our performance analysis outcome on the ScalaBench test suite demonstrates a 49% runtime overhead that proves Kaizen’s usefulness for security testing in the Scala ecosystem.","PeriodicalId":424543,"journal":{"name":"Proceedings of the 11th ACM SIGPLAN International Symposium on Scala","volume":"24 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126445568","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
ScalaPy: seamless Python interoperability for cross-platform Scala programs ScalaPy:跨平台Scala程序的无缝Python互操作性
Proceedings of the 11th ACM SIGPLAN International Symposium on Scala Pub Date : 2020-11-13 DOI: 10.1145/3426426.3428485
Shadaj Laddad, Koushik Sen
{"title":"ScalaPy: seamless Python interoperability for cross-platform Scala programs","authors":"Shadaj Laddad, Koushik Sen","doi":"10.1145/3426426.3428485","DOIUrl":"https://doi.org/10.1145/3426426.3428485","url":null,"abstract":"In recent years, Python has become the language of choice for data scientists with its many high-quality scientific libraries and Scala has become the go-to language for big data systems. In this paper, we bridge these languages with ScalaPy, a system for interoperability between Scala and Python. With ScalaPy, developers can use Python libraries in Scala by treating Python values as Scala objects and exposing Scala values to Python. ScalaPy supports both Scala on the JVM and Scala Native, enabling its usage from data experiments in interactive notebook environments to performance-critical production systems. In this paper, we explore the challenges involved with mixing the semantics and implementations of these two disparate languages.","PeriodicalId":424543,"journal":{"name":"Proceedings of the 11th ACM SIGPLAN International Symposium on Scala","volume":"109 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124245540","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
Semantics-preserving inlining for metaprogramming 元编程的语义保持内联
Proceedings of the 11th ACM SIGPLAN International Symposium on Scala Pub Date : 2020-11-13 DOI: 10.1145/3426426.3428486
Nicolas Stucki, Aggelos Biboudis, S. Doeraene, Martin Odersky
{"title":"Semantics-preserving inlining for metaprogramming","authors":"Nicolas Stucki, Aggelos Biboudis, S. Doeraene, Martin Odersky","doi":"10.1145/3426426.3428486","DOIUrl":"https://doi.org/10.1145/3426426.3428486","url":null,"abstract":"Inlining is used in many different ways in programming languages: some languages use it as a compiler-directive solely for optimization, some use it as a metaprogramming feature, and others lay their design in-between. This paper presents inlining through the lens of metaprogramming and we describe a powerful set of metaprogramming constructs that help programmers to unfold domain-specific decisions at compile-time. In a multi-paradigm language like Scala, the concern for generality of inlining poses several interesting questions and the challenge we tackle is to offer inlining without changing the model seen by the programmer. In this paper, we explore these questions by explaining the rationale behind the design of Scala-3's inlining capability and how it relates to its metaprogramming architecture.","PeriodicalId":424543,"journal":{"name":"Proceedings of the 11th ACM SIGPLAN International Symposium on Scala","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114143974","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}
引用次数: 6
Towards a sound approximating compiler for numerical kernels (keynote) 面向数值内核的声音近似编译器(主题演讲)
Proceedings of the 11th ACM SIGPLAN International Symposium on Scala Pub Date : 2020-11-13 DOI: 10.1145/3426426.3434065
Eva Darulova
{"title":"Towards a sound approximating compiler for numerical kernels (keynote)","authors":"Eva Darulova","doi":"10.1145/3426426.3434065","DOIUrl":"https://doi.org/10.1145/3426426.3434065","url":null,"abstract":"Computing resources are fundamentally limited and sometimes an exact solution may not even exist. Thus, when implementing real-world systems, approximations are inevitable, as are the errors they introduce. The magnitude of errors is problem-dependent but higher accuracy generally comes at a cost in terms of memory, energy or runtime, effectively creating an accuracy-efficiency tradeoff. To take advantage of this tradeoff, we need to ensure that the computed results are sufficiently accurate, otherwise we risk disastrously incorrect results or system failures. In this talk, we present the current state of the tool Daisy which approximates numerical kernels in an automated and trustworthy fashion. Daisy allows a programmer to write exact high-level code and generates an efficient implementation satisfying a given accuracy specification. We discuss Daisy's verification techniques for bounding the effects of numerical errors, and the approximations Daisy can synthesize fully automatically.","PeriodicalId":424543,"journal":{"name":"Proceedings of the 11th ACM SIGPLAN International Symposium on Scala","volume":"83 6 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116408809","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学术官方微信
小红书