TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Generic FSMs in Erlang

60 点作者 keyist超过 14 年前

5 条评论

chunkbot超过 14 年前
Good stuff. Compared to the more "popular" generic behaviours like gen_server, gen_fsm doesn't get a lot of attention. It's nice to see it added to your tutorial with this level of detail.
评论 #2028080 未加载
mononcqc超过 14 年前
Author, here. I hope you enjoy.
评论 #2027795 未加载
burgerbrain超过 14 年前
I prefer name-brand flying spaghetti monsters actually.
评论 #2028526 未加载
nivertech超过 14 年前
Too bad the new "Erlang and OTP in Action" book leaves gen_fsm out of scope.<p>Anyway gen_fsm behavior is pretty weak comparing to FSM frameworks I used in C++: no on_entry / on_exit callbacks.<p>Also, I'm not sure you can use gen_fsm sequentially by itself (i.e. without Erlang process).
评论 #2028076 未加载
评论 #2028244 未加载
评论 #2028022 未加载
评论 #2028104 未加载
评论 #2027950 未加载
kungfooguru超过 14 年前
Great stuff. I was just arguing on the ErlangCamp mailing list that the gen_fsm behaviour is great! I just sent this out to everyone.