[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Real-time application
- From: "Del Buono, Matthew Paul" <delbu9c1@...>
- Date: Sat, 16 Oct 2010 01:06:38 +0000
Uh... World of warcraft is not a real time application ... And is not deterministic in any way.
For real time apps I can't say I've used lua but I suspect that disabling the gc and initializing lua with a custom allocator will get you very deterministic. you don't really have scheduling issues since everything runs in a single thread. The only thing I can think of that might vary widely in timing is tables. Might either have to do some analysis there or simply avoid them. Beyond that from what I've seen things are pretty consistent.
Sent from my Verizon Wireless BlackBerry
From: Brett Cameron <firstname.lastname@example.org>
Date: Sat, 16 Oct 2010 12:54:39 +1300
To: Lua mailing list<email@example.com>
ReplyTo: Lua mailing list <firstname.lastname@example.org>
Subject: Re: Real-time application
Check out http://lua-users.org/wiki/LuaUses
(and elsewhere). For instance, Lua is used for several games that certainly have aspects of real-time about them. My son is in fact ugrading one such game (World of Warcraft) as I type...
2010/10/16 Alex de Magalhães <email@example.com>
Could anyone tell me if it's possible to make real-time applications in Lua? If it's not, then why? I know that GC usually impacts RTC, but I don't know if there are other sources of trouble. Has anyone tested the impact of GC in real-time Lua applications, if there is any?
Well, that's all for now. I hope to hear from you soon.