Bollywood
PoC actor model implementation
Install / Use
/learn @perbu/BollywoodREADME
Bollywood
Bollywood a simplistic actor model framework. I wrote this to get an idea how an actor model could be implemented in Go.
It is not meant to be used in production and doesn't do support networking, limiting the actors to work within a single process.
Usage
e := NewEngine()
// spawn a baker actor
err := e.Spawn("baker", &baker{})
if err != nil {
panic(err)
}
// send a message to the baker
err = e.Send("baker", &bakeBread{})
if err != nil {
panic(err)
}
// stop the baker:
err = e.Stop("baker")
if err != nil {
panic(err)
}
See the tests for usage
What about a real Actor Model implementation in Go?
Please see Hollywood for a more complete implementation of the Actor Model in Go.
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
