lua on steroids

23
January 21, 2010 Sierra Wireless Proprietary and Confidential 1 Lua on Steroids

Upload: gaetanmorice

Post on 30-Jun-2015

1.404 views

Category:

Technology


2 download

DESCRIPTION

Lua on Steroids talk at Eclipse Con 2011

TRANSCRIPT

Page 1: Lua on Steroids

January 21, 2010 Sierra Wireless Proprietary and Confidential 1

Lua on Steroids

Page 2: Lua on Steroids

 Embedded Tools Manager at Sierra Wireless

 Koneki project co-lead at Eclipse

Gaetan Morice

Page 3: Lua on Steroids

??? What is Lua all about

Page 4: Lua on Steroids

“Lua is a powerful, fast, lightweight, embeddable scripting language.”

http://www.lua.org/about.html

Page 5: Lua on Steroids

Extending C/C++ applications with a configuration / scripting engine.

Rationale

Page 6: Lua on Steroids

Extending C/C++ applications with a configuration / scripting engine.

Rationale

•  Based on a virtual machine •  Can load source code / read char streams •  And compile it to portable bytecode

Page 7: Lua on Steroids

Extending C/C++ applications with a configuration / scripting engine.

Rationale

•  Tiny core (150kB) •  Pure ANSI C •  Simple C API

Page 8: Lua on Steroids

Extending C/C++ applications with a configuration / scripting engine.

Rationale

•  DSL building kit •  Provides only basic features •  And a powerful runtime

Page 9: Lua on Steroids

 16th on Tiobe language index http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

 19th on GitHub http://github.com/languages/Lua

Gaining momentum

Page 10: Lua on Steroids

??? What is Missing

Page 11: Lua on Steroids

IDE Support

Page 12: Lua on Steroids

http://www.eclipse.org/koneki/ldt/

LDT

Page 13: Lua on Steroids

A tool that follows Lua’s philosophy

Providing lot’s of modern features while remaining easily embeddable in larger systems.

Rationale

Page 14: Lua on Steroids

 Lua strengths Dynamic Embeddable

 are double-edged swords

 that make tooling support tedious.

However

Page 15: Lua on Steroids

Editor VS

Dynamic Code

Page 16: Lua on Steroids

Debugger VS

Embedded Application

Page 17: Lua on Steroids

LDT Typical Use Case

Page 18: Lua on Steroids

Sierra Developer Studio

 Sierra’s IDE for ALEOS Embedded Application Framework

Page 19: Lua on Steroids

??? What’s Next

Page 20: Lua on Steroids

LDT Roadmap  Working with local interpreters

 Add launch configuration

 Supporting OOP

 Management of require

 Improvement of content-assist and scoping

 LuaDoc support contribution

Page 21: Lua on Steroids

 Eclipse • RSE http://www.eclipse.org/tm/

• DLTK http://www.eclipse.org/dltk/

 Lua • JNLua http://code.google.com/p/jnlua/

• MetaLua http://metalua.luaforge.net/

• Ldoc http://github.com/stevedonovan/LDoc

Big thanks to

Page 22: Lua on Steroids

 Lua • Main site http://lua.org

• Kepler project http://www.keplerproject.org/

 LDT • At Koneki http://www.eclipse.org/koneki/

• Update site http://download.eclipse.org/koneki/updates/

• Wiki http://wiki.eclipse.org/Koneki

• Mailing List https://dev.eclipse.org/mailman/listinfo/koneki-dev

Useful links

Page 23: Lua on Steroids

??? Any Questions