lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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 <>
Sender: <>
Date: Sat, 16 Oct 2010 12:54:39 +1300
To: Lua mailing list<>
ReplyTo: Lua mailing list <>
Subject: Re: Real-time application

Check out (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 <>
Hey everyone,

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.