xfguo / luactor Goto Github PK
View Code? Open in Web Editor NEWA pure Lua (at least for now) Actor Model framework.
License: Other
A pure Lua (at least for now) Actor Model framework.
License: Other
for table, lua use reference, so when a actor send a table to another actor, there has a deepcopy problem.this is unsafe, must pay attention to it.
so this is a trap.
这个接口经常看到 ;-)
There are starvation issue for luactor.
Hey, if you're interested in Lua actor model libraries, you'd probably be interested in Rust's async actor model runtime, Actix. Here's a Discord server for talking about Actix-related projects. Come check it out! https://discord.gg/2A9h75V
alex, 我觉得在luactor中没必要把消息约定为msg, 而是以...直接给出接口更优雅
actor.send('foo', 'f', 'test1', 'test2')
actor.wait({
f = function(sender, ...)
local v1, v2 = ...
print(v1, v2)
end
})
;-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.