タグ

ブックマーク / hibituredure.blogspot.com (1)

  • Scalaのアクターモデル

    アクターモデルは最後らへんかなー…と思ってたら、ScalaByExampleのChapter3はいきなりアクターモデルの話(Programming with Actors and Messages)だった。ちなみにChapter2は言語仕様の特徴的な部分のOverviewのような感じ。 Chapter3ではまず、丁寧に(Erlangスタイルの)アクターについて説明してくれている。 Actors are objects to which messages are sent. Every actor has a “mailbox” of its incoming messages which is represented as a queue. It can work sequentially through the messages in itsmailbox, or search for

  • 1