Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 885 Bytes

lua_tiny_embeddable.rst

File metadata and controls

48 lines (32 loc) · 885 Bytes

Lua: Tiny Embeddable Scripting That Doesn't Suck

Author: Kyle Cordes
  1. Talk about the Why, not the How.
  2. Build in a sandbox
  3. Safe by default
  • No IO (without being allowed)
  • Host applications can limit access
  1. Small
  • As small as < 100 Kb
  • Easy on small devices or apps.
  • Example: Lua on the iPhone
  1. Simple
  • To use
  • To learn, ~20 keywords & ~20 operators
  • To teach
  1. Flexible
  • Dynamically typed
  • First class functions
  • Easy interop
  • Written in super-clean C
  • Ample libraries off the shelf
  1. Fast
  • LuaJIT almost as fast as C & Java.
  • Faster than Scala/Haskell/etc.
  1. Momentum
  • WoW, Garry's Mod, Angry Birds, etc.
  • Large game community
  • 110 games with Lua scripting
  • Lightroom, etc.
  1. Is Lua the answer to everything?
  • No but very worth considering.