InfoQ Software Architects' Newsletter A monthly overview of things you need to know as an architect or aspiring architect. View an example
【第四回】一人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,
Read it now on the O’Reilly learning platform with a 10-day free trial. O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers. Book description USE THE ACTOR MODEL TO BUILD SIMPLER SYSTEMS WITH BETTER PERFORMANCE AND SCALABILITY Enterprise software development has been much more difficult and failure-prone tha
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く