PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Scala.js

Scala.js

Scala.js is a pl created in 2013 by Martin Odersky.

#365on PLDB 9Years Old 5.7kUsers
0Books 3Papers

Scala ( SKAH-lah) is a general-purpose programming language providing support for functional programming and a strong static type system. Designed to be concise, many of Scala's design decisions aimed to address criticisms of Java.Scala source code is intended to be compiled to Java bytecode, so that the resulting executable code runs on a Java virtual machine. Scala provides language interoperability with Java, so that libraries written in both languages may be referenced directly in Scala or Java code. Read more on Wikipedia...


Example from the web:
class Person(val firstName: String, val lastName: String) { def fullName(): String = s"$firstName $lastName" }
Example from Wikipedia:
val urls = List("https://scala-lang.org", "https://github.com/scala/scala") def fromURL(url: String) = scala.io.Source.fromURL(url) .getLines().mkString("\n") val t = System.currentTimeMillis() urls.par.map(fromURL(_)) println("time: " + (System.currentTimeMillis - t) + "ms")

Language features

Feature Supported Example Token
Print() Debugging println

Publications about Scala.js from Semantic Scholar

title authors year citations influentialCitations
Parallel incremental whole-program optimizations for Scala.js S. Doeraene and Tobias Schlatter 2016 4 0
Semantics-driven interoperability between Scala.js and JavaScript S. Doeraene and Tobias Schlatter and Nicolas Stucki 2016 4 0
Scalagna 0.1: towards multi-tier programming with Scala and Scala.js Bob Reynders and Michael Greefs and D. Devriese and F. Piessens 2018 4 0
twig.html · scala-js.html · chrysalisp.html

View source

PLDB - Build the next great programming language · v2022 · Day 32 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com