Scala is an actively used programming language created in 2004. 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. Read more on Wikipedia...

15Years Old 458,238Users 4,559Jobs

Example code from the Hello World Collection:

// Hello world in Scala

object HelloWorld extends App {
  println("Hello world!")
}

Example code from Linguist:

#!/bin/sh
exec scala "$0" "$@"
!#

object HelloWorld {
  def main(args: Array[String]) {
    println("Hello, world!")
  }
}

Example code from Wikipedia:

val urls = List("http://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")

Trending Repos

repo stars description
mmlspark 1637 Microsoft Machine Learning for Apache Spark
dotty 3551 Research compiler that will become Scala 3
chisel3 933 Chisel 3: A Modern Hardware Design Language
spark 23299 Apache Spark
cloudstate 246 Towards Serverless 2.0
lila 5805 ♞ lichess.org: the forever free, adless and open source chess server ♞
kafka-manager 7893 A tool for managing Apache Kafka.
cats 3436 Lightweight, modular, and extensible library for functional programming.
scala 12057 The Scala programming language
rocket-chip 1180 Rocket Chip Generator
waterdrop 573 生产环境的海量数据计算产品,文档地址:
fpinscala 4475 Code, exercises, answers, and hints to go along with the book "Functional Programming in Scala"
incubator-livy 375 Mirror of Apache livy (Incubating)
metals 874 Scala language server with rich IDE features 🚀
CoolplaySpark 2688 酷玩 Spark: Spark 源代码解析、Spark 类库等
snowflake 5447 Snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees.
prisma 15534 💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB)
alpakka 1027 Alpakka is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Akka.
shapeless 2855 Generic programming for Scala
gitbucket 7803 A Git platform powered by Scala with easy installation, high extensibility & GitHub API compatibility

Last updated November 6th, 2019