You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
【第四回】一人Scala勉強会の枠が余っていたので参加してきました。Scalaに興味はあるものの中々手を出せなかったのでいい機会だったと思います。 さて今日はアクターモデルがいまいち分からなかったのでPerlで実装してみることにしました。 まずアクターモデル - GIOの日記からActorでフィボナッチ数を求めるコードをPerlに移植します。 #!perl use 5.14.0; use strict; use warnings; package FibActor { use Mouse; with 'Actor::Fake'; sub act { my($self) = @_; $self->receive(sub { my($self, $n) = @_; say $self->name, ': ', $self->fib($n); }); } sub fib { my($self,
Why Enterprise Software Development Is HardIntroducing Reactive ApplicationsResponsiveResilientElasticMessage DrivenEnterprise ApplicationsActor ModelOrigin of ActorsUnderstanding ActorsThe Actor Way Is ExplicitWhat Next? How to Get Scala and AkkaUsing Typesafe ActivatorUsing sbtUsing MavenUsing GradleProgramming with ScalaA Condensed Scala TutorialProgramming with AkkaActor SystemImplementing Act
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く