Extending C/C++ with Lua 5.1 Ong Hean Kuan Unified Communications Email: mysurface@gmail.com
Who Am I ?
Software Engineer in Unified Communication
Telecommunication services solution provider
Linux c/c++
Open Source Advocate
Blogs:
Linux by Examples http://linux.byexamples.com
C/C++ by Examples http://cc.byexamples.com
What is Lua?
Programming language
Scripting language
Extensible embedded programming language.
Created by Roberto Ierusalimschy (Assoc Prof PUC-Rio)
Open Source, Lua 5.0 onwards are under MIT license.
Fast, Lightweight and simple
Ivan's brain was written in Lua
Crazy Ivan was the robot that won the RoboCup 2000 in Denmark. Crazy Ivan has a "brain" that uses Lua for scripting language. All AI and logic is done in Lua. The brain is running on a Motorola Coldfire 5206e processor, and Lua is modified to use only int's as the Coldfire has no FPU.
Applications
Wireshark, Ettercap, Nmap, Snort
Used as in-game levels, AI, and as a Rules Engine for game logic, game such as: Homeworld 2, Ragnarok Online, SimCity 4, World of Warcraft.
0 comments
Post a comment