Upgrade to Pro — share decks privately, control downloads, hide ads and more …

State of the Lua ecosystem

State of the Lua ecosystem

Given at Lua Workshop 2013. Web-based slides with notes at http://files.catwell.info/presentations/2013-11-lua-workshop-lua-ecosystem/.

Avatar for Pierre Chapuis

Pierre Chapuis

November 23, 2013
Tweet

More Decks by Pierre Chapuis

Other Decks in Programming

Transcript

  1. Lua grows in popularity, slowly and steadily... all on the

    power of a couple of good books, a mailing list and a simple design. Andrew Starks, lua-l
  2. No one starts projects in Smalltalk anymore. And this is

    not because Smalltalk isn't wonderful to work with - it is. But... try just posting a question about Smalltalk to Stack Overflow and see how long it takes just to get answered. Try hiring a senior Smalltalk developer - good luck. [One of them] told me that he comes to a couple of Ruby conferences every year, and I said "why don't you go to Smalltalk conferences?" and he said "because there aren't any." Sarah Mei, Why hasn't Ruby won?
  3. Five years ago, I always assumed the Python library contained

    the “best of breed” for all packages. These days, I tend to think the opposite. Dusty Phillips, Dead Batteries Included
  4. Wanted •  quantity: There is no module to solve my

    problem. •  quality: New dependency, new bugs :( Where is the maintainer? •  ease of use: How do I install this without breaking my system? •  consistency: Why does my application depend on 25 object libraries? •  discoverability: I cannot find what module solves that problem.
  5. The root of all Evil •  Avoid globals in modules.

    •  local foo = require "foo" •  Use pl.strict in your test suite (please). •  You have tests, don't you?!
  6. Finding a module •  LuaRocks •  Lua Wiki •  Google

    •  Github •  Mailing List •  Stack Overflow
  7. Yes, I know that Lua module naming in the wild

    is a total train wreck. This is one of the biggest failures of the Lua ecosystem. Language ecosystems with user-contributed modules demand curation. Or at least some officially sanctioned conventions. Remember that next time you create your own language. Anything that attempts to retain the illusion that a flat namespace is somehow a workable solution is NOT helpful. Mike Pall, LuaJIT ML