タグ

ブックマーク / docs.scala-lang.org (6)

  • Scala FAQ

    Frequently asked questions, with brief answers and/or links to longer answers. This list only includes questions that actually come up over and over again in Scala chat rooms and forums. General questions Where can I ask Scala questions? See our Community page. What’s a good book about Scala? Our Books page lists a few especially popular, well-known books. We don’t have a list of all the Scala boo

  • 概要

    Aleksandar Prokopec, Heather Miller 著 Eugene Yokota 訳 動機 近年におけるプロセッサ製造業者のシングルコアからマルチコアへの移行のまっただ中で、産学ともに認めざるをえないのは「大衆的並列プログラミング」が大きな難題であり続けていることだ。 並列コレクション (parallel collection) は、並列プログラミングを容易にすることを目指して Scala 標準ライブラリに取り込まれた。 ユーザは低レベルな並列化に関する詳細を気にせず、親しみやすいコレクションという高レベルの抽象概念 (abstraction) を利用できる。 この概念が隠蔽する並列性によって、信頼性のある並列実行が開発者にとってより身近なものになると願っている。 アイディアは簡単だ – コレクションはよく理解されており、よく使われているプログラミングの抽象概念だ。

  • Scala Style Guide

    This document is intended to outline some basic Scala stylistic guidelines which should be followed with more or less fervency. Wherever possible, this guide attempts to detail why a particular style is encouraged and how it relates to other alternatives. As with all style guides, treat this document as a list of rules to be broken. There are certainly times when alternative styles should be prefe

  • Overview

    Aleksandar Prokopec, Heather Miller If you’re using Scala 2.13+ and want to use Scala’s parallel collections, you’ll have to import a separate module, as described here. Motivation Amidst the shift in recent years by processor manufacturers from single to multicore architectures, academia and industry alike have conceded that Popular Parallel Programming remains a formidable challenge. Parallel co

  • Future と Promise

    Philipp Haller, Aleksandar Prokopec, Heather Miller, Viktor Klang, Roland Kuhn, Vojin Jovanovic 著 Eugene Yokota 訳 概要 Future は並列に実行される複数の演算を取り扱うのに便利な方法を提供する。それは効率的でノンブロッキングな方法だ。 大まかな考え方はシンプルなもので、Future はまだ存在しない計算結果に対するプレースホルダのようなものだ。 一般的に、Future の結果は並行に計算され後で集計することができる。 このように並行なタスクを合成することで、より速く、非同期で、ノンブロッキングな並列コードとなることが多い。 デフォルトでは、Future も Promise もノンブロッキングであり、典型的なブロッキング演算の代わりにコールバックを使う。 コールバックの使用を

  • Setup and use Play framework 2.1 in Scala IDE 3.0 — Scala IDE documentation

    It’s of course possible to write Scala code in any editor and compile and run the code from the command line. But most developers prefer to use an IDE (Integrated Development Environment), especially for coding anything beyond simple exercises. The following IDEs are available for Scala: IntelliJ IDEA + Scala plugin https://jetbrains.com/scala IntelliJ IDEA is a cross-platform IDE developed by Jet

  • 1