Developing the Prosody XMPP server in Lua Matthew Wild ('MattJ') - - PowerPoint PPT Presentation

developing the prosody xmpp server in lua
SMART_READER_LITE
LIVE PREVIEW

Developing the Prosody XMPP server in Lua Matthew Wild ('MattJ') - - PowerPoint PPT Presentation

Developing the Prosody XMPP server in Lua Matthew Wild ('MattJ') @FOSDEM 16 Introduction Why Prosody? Why Lua??? Performance of a scripting language Ecosystem Contributions The 'fun' parts Lua allowed us to: Define function


slide-1
SLIDE 1

Developing the Prosody XMPP server in Lua

Matthew Wild

('MattJ')

@FOSDEM 16

slide-2
SLIDE 2

Introduction

slide-3
SLIDE 3

Why Prosody?

slide-4
SLIDE 4

Why Lua???

slide-5
SLIDE 5

Performance of a “scripting language”

slide-6
SLIDE 6

Ecosystem

slide-7
SLIDE 7

Contributions

slide-8
SLIDE 8

The 'fun' parts

Lua allowed us to:

  • Define function metatables
  • Restrict the global environment
  • Create a telnet console
  • Static analysis (using lua-inspect and luacheck)
slide-9
SLIDE 9

Our code

Sections:

  • core/
  • net/
  • plugins/
  • util/
slide-10
SLIDE 10

LuaJIT

slide-11
SLIDE 11

The future

slide-12
SLIDE 12

The end. Questions? me@matthewwild.co.uk (email or XMPP)