| tags: [ Scala ] categories: [ Development ]
Scala Cookie Book
# https://docs.racket-lang.org/scribble/getting-started.html
#lang scribble/base
@title{On the Cookie-Eating Habits of Mice}
If you give a mouse a cookie, he's going to ask for a glass of milk.
Scala 书籍
-
Tour of Scala: https://docs.scala-lang.org/tour/tour-of-scala.html
-
Scala 3 Book: https://docs.scala-lang.org/scala3/book/introduction.html
安装 Scala
-
配置镜像源:
. Coursier: https://github.com/lqhuang/dotfiles/tree/master/coursier
. Maven: https://github.com/lqhuang/dotfiles/tree/master/mvn
Scala 生态
-
Typesafe: https://akka.io / https://pekko.apache.org , akka / pekko, play
-
Typelevel: https://typelevel.org/ , cats, cats-effect, circe, http4s, blaze, doobie, eff
-
ZIO: https://zio.dev , zio
-
Lihaoyi: https://github.com/com-lihaoyi , os-lib, upickle, cask, mainargs
-
Twitter: https://opensource.twitter.dev/projects/ , finagle, finatra, finch
-
SoftwareMill: https://github.com/softwaremill , tapir, sttp, ox, macwire
-
Airframe: https://wvlet.org/airframe , airframe
-
Kyo: https://getkyo.io/ , kyo
-
Scalameta: https://scalameta.org , metals, scalafmt, munit, scalameta
Scala 项目模版
Scala 常用工具和库
-
构建工具:
-
Mill: https://mill-build.org/
-
LSP server: http://scalameta.org/metals/
-
BSP server: https://scalacenter.github.io/bloop/
-
CLI: https://scala-cli.virtuslab.org (Scala 3.5.0 用 scala-cli 1.4.0 替代了官方的 Scala runner)
-
Toolkit library
-
Scala Toolkit: https://docs.scala-lang.org/toolkit/introduction.html Munit, OS-Lib, uPickle, sttp
-
Typelevel Toolkit: https://typelevel.org/toolkit/ Cats, Cats-Effect, Fs2, Http4s, Circe
-
-
Awesome libraries: https://index.scala-lang.org/awesome / https://github.com/lauris/awesome-scala / https://github.com/stkeky/best-of-scala
-
File system: better-files, OS-Lib
-
JSON: Jsoniter-Scala, Circe, uPickle
-
HTTP client: sttp
-
HTTP API: Tapir, endpoints4s, Cask, Airframe-http, Smithy4s
-
SQL client: ZIO-Quill, ScalaSql, Doobie, Slick, ScalikeJDBC, Anorm
-
Configuration: PureConfig
-
Logging: scala-logging, log4s
-
Dependency Injection: cats-effect, ZIO, MacWire, AirFrame, Distage,Scaldi
Scala worksheet
https://docs.scala-lang.org/scala3/book/tools-worksheets.html 加强版的 REPL,在 IDEA 和 VS Code 中实时显示代码执行结果。
Scala 标准库
https://www.scala-lang.org/api/3.5.0/index.html
-
scala.collection
-
scala.concurrent
-
scala.util
-
scala.util.matching
-
scala.*
-
scala.Predef.*