tag:blogger.com,1999:blog-5682614850676900522.post4848331016075743736..comments2023-07-09T06:05:06.052+10:00Comments on Gordon Monro's blog: Lua: Yet another scripting language?Gordon Monrohttp://www.blogger.com/profile/04481697196573109161noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-5682614850676900522.post-31764008642346491392008-04-15T09:13:00.000+10:002008-04-15T09:13:00.000+10:00Some major considerations, if a language is to be ...Some major considerations, if a language is to be used primarily for scripting, are ease of embedding, binary size/load times, and performance guarantees. <BR/><BR/>Python has a lengthy startup time, is troublesome to embed(it likes to be extended instead), and its implementation imposes restrictions threading and real-time operations. (you have no guarantee over how long garbage collection takes!)<BR/><BR/>Lua is lighter than Python in all these respects save the real-time requirement, which is also important in fast-action games to avoid frame loss. <BR/><BR/>The Squirrel language was developed specifically to address real-time needs. I haven't used that one myself, but it also looks like a viable option.Anonymousnoreply@blogger.com