Who am I <ul><li>Twitter: sagasw </li></ul><ul><li>Windows desktop development. Visual C++ 7 years. </li></ul><ul><li>Lua,...
Lua <ul><li>http://www.lua.org </li></ul><ul><li>《 Lua 程序设计(第二版)》 </li></ul><ul><li>Google “Lua for windows” </li></ul><ul...
没有鱼丸,没有电池 <ul><li>LuaSocket </li></ul><ul><li>XML , XMLRPC , JSON </li></ul><ul><li>http://www.keplerproject.org / </li></...
Same (vs Python) <ul><li>Function is first class </li></ul><ul><li>JIT </li></ul><ul><li>GC </li></ul><ul><li>Coroutine </...
Diff <ul><li>(Lua) No OO, prototype (like JS) </li></ul><ul><li>No battery </li></ul><ul><li>Small footprint, quickly runn...
http://shootout.alioth.debian.org/u64/benchmark.php?test=all&lang=lua&lang2=python3
 
 
Lua web development
Lua GUI <ul><li>IUP (demo) </li></ul><ul><li>LuaQT </li></ul><ul><li>LuaGTK </li></ul><ul><li>WxLua </li></ul>
 
Upcoming SlideShare
Loading in …5
×

Lua

1,548 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,548
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Lua

  1. 2. Who am I <ul><li>Twitter: sagasw </li></ul><ul><li>Windows desktop development. Visual C++ 7 years. </li></ul><ul><li>Lua, Python, Php, Appengine, Linux, BSD, Mac. </li></ul><ul><li>http://sunxiunan.com </li></ul>
  2. 3. Lua <ul><li>http://www.lua.org </li></ul><ul><li>《 Lua 程序设计(第二版)》 </li></ul><ul><li>Google “Lua for windows” </li></ul><ul><li>Lua5.14, Lua5.2 (work4) </li></ul><ul><li>http:// lua-users.org </li></ul><ul><li>http://luaforge.net / </li></ul><ul><li>http://lua-users.org/lists/lua-l / </li></ul><ul><li>http:// en.wikipedia.org/wiki/Lua_(programming_language) </li></ul>
  3. 4. 没有鱼丸,没有电池 <ul><li>LuaSocket </li></ul><ul><li>XML , XMLRPC , JSON </li></ul><ul><li>http://www.keplerproject.org / </li></ul><ul><li>LuaRocks (python_setup) </li></ul><ul><li>LuaCom (Pywin32) </li></ul><ul><li>LuaInterface (IronPython) </li></ul>
  4. 5. Same (vs Python) <ul><li>Function is first class </li></ul><ul><li>JIT </li></ul><ul><li>GC </li></ul><ul><li>Coroutine </li></ul><ul><li>Closures </li></ul><ul><li>LuaJava (Jython) </li></ul><ul><li>Used in game development </li></ul><ul><li>Open source license </li></ul><ul><li>Easy to learn, easy to use </li></ul>
  5. 6. Diff <ul><li>(Lua) No OO, prototype (like JS) </li></ul><ul><li>No battery </li></ul><ul><li>Small footprint, quickly running </li></ul><ul><li>Use in C/C++ easily </li></ul><ul><li>Multi-Instance or thread (StacklessPython ?) </li></ul><ul><li>Register based VM (Stack based VM) </li></ul><ul><li>Embedded in C/C++ easily </li></ul><ul><li>Python used as admin tool, used in Web dev </li></ul>
  6. 7. http://shootout.alioth.debian.org/u64/benchmark.php?test=all&lang=lua&lang2=python3
  7. 10. Lua web development
  8. 11. Lua GUI <ul><li>IUP (demo) </li></ul><ul><li>LuaQT </li></ul><ul><li>LuaGTK </li></ul><ul><li>WxLua </li></ul>

×