twitter 的 scala 教程:
Scala School:
[url]http://twitter.github.io/scala_school/[/url]
Effective Scala:
[url]http://twitter.github.io/effectivescala/#Types%20and%20Generics-Type%20aliases[/url]
A Scala Tutorial for Java programmers:
[url]http://www.scala-lang.org/docu/files/ScalaTutorial.pdf[/url]
Scala Tutorial:
[url]http://www.tutorialspoint.com/scala/index.htm[/url][quote]
[/quote]
keywords
[url]http://dominiksymonowicz.blogspot.com/2013/09/scala-notes-8-keyword-list-reserved.html[/url]
Scala By Example
[url]http://www.scala-lang.org/docu/files/ScalaByExample.pdf[/url]
Useful sbt commands:
[color=red][size=medium][b]Concurrency in Scala:[/b][/size][/color]
Two concurrency implementations in Scala:
[url]http://stackoverflow.com/questions/4477809/why-is-scala-good-for-concurrency[/url]
thread-based concurrency (or shared-state concurrency): derived from Java
Actor-based concurrency (actor concurrency model): inspired by Erlang.
[b]关于 Actor-based concurrency:[/b]
Concurrency in Erlang & Scala: The Actor Model:
[url]https://savanne.be/articles/concurrency-in-erlang-scala/[/url]
[url]http://www.javaworld.com/article/2077999/java-concurrency/understanding-actor-concurrency--part-1--actors-in-erlang.html[/url]
[url]http://www.javaworld.com/article/2078020/java-concurrency/understanding-actor-concurrency-part-2-actors-on-the-jvm.html[/url]
[url]https://practicingruby.com/articles/gentle-intro-to-actor-based-concurrency[/url]
Scala School:
[url]http://twitter.github.io/scala_school/[/url]
Effective Scala:
[url]http://twitter.github.io/effectivescala/#Types%20and%20Generics-Type%20aliases[/url]
A Scala Tutorial for Java programmers:
[url]http://www.scala-lang.org/docu/files/ScalaTutorial.pdf[/url]
Scala Tutorial:
[url]http://www.tutorialspoint.com/scala/index.htm[/url][quote]
[/quote]
keywords
[url]http://dominiksymonowicz.blogspot.com/2013/09/scala-notes-8-keyword-list-reserved.html[/url]
Scala By Example
[url]http://www.scala-lang.org/docu/files/ScalaByExample.pdf[/url]
Useful sbt commands:
# download all sources & javadoc of jars.如果需要为导入到 eclipse 中的 scala 项目的依赖 jars 自动关联 srcs,请在项目的 build.sbt 文件中添加(参见 http://stackoverflow.com/questions/10472840/how-to-attach-sources-to-sbt-managed-dependencies-in-scala-ide):
# EclipseKeys.withSource := true
$ sbt update-classifiers
# 使用 sbteclipse 时,terminal 下(http://stackoverflow.com/questions/13803459/how-to-use-sbt-from-behind-proxy):
$ export SBT_OPTS="$SBT_OPTS -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8087"
[color=red][size=medium][b]Concurrency in Scala:[/b][/size][/color]
Two concurrency implementations in Scala:
[url]http://stackoverflow.com/questions/4477809/why-is-scala-good-for-concurrency[/url]
thread-based concurrency (or shared-state concurrency): derived from Java
Actor-based concurrency (actor concurrency model): inspired by Erlang.
[b]关于 Actor-based concurrency:[/b]
Concurrency in Erlang & Scala: The Actor Model:
[url]https://savanne.be/articles/concurrency-in-erlang-scala/[/url]
[url]http://www.javaworld.com/article/2077999/java-concurrency/understanding-actor-concurrency--part-1--actors-in-erlang.html[/url]
[url]http://www.javaworld.com/article/2078020/java-concurrency/understanding-actor-concurrency-part-2-actors-on-the-jvm.html[/url]
[url]https://practicingruby.com/articles/gentle-intro-to-actor-based-concurrency[/url]