thoughts…

rants and bookmarks about programming stuff…


RabbitMQ bindings for Lua

“The amqp.lua package adds support for sending messages to RabbitMQ via LuaJIT FFI. This allows a Lua programmer to communicate with other programs using enterprise grade messaging infrasturcture. The module amqp.lua makes use of LuaJIT’s awesome foreign function interface (FFI) to invoke the librabbitmq’s functions directly. It exposes a simplified interface to librabbitmq natively, but also preserves the ability of an intrepid programmer to use the full depth of the upstream library…”

https://github.com/cthulhuology/amqp.lua


Pragmatic Lua Basics in 30 Minutes

“However, Lua is not considered as a mainstream language and it does not have hype of some languages, say Ruby, so there are not a lot of tutorials, especially the quick introduction of the language for programmers of other language. So I decide to write one. I have to say I am by no means a Lua expert (You probably figure that out already), so please correct me for if I make any mistake. Also, this is an pragmatic introduction to the language for (experienced) programmers. So I am not gonna spend time on programming basics…”

http://ruoyusun.com/2013/03/23/pragmatic-lua-basics-in-30-mins.html
http://ruoyusun.com/2013/03/30/pragmatic-lua-error-handling-oop-closure-and-coroutines.html


Lua: Good, bad, and ugly parts

“I have come across several detailed lists that mention good and not-so-good parts of Lua (for example, Lua benefits, why Lua, why Lua is not more widely used, advantages of Lua, Lua good/bad, Lua vs. JavaScript, and Lua Gotchas), but I found that some of the features that tripped me or that I cared about were not listed, so I put together my own list. It is far from being comprehensive and some aspects of the language are not covered (for example, math and string libraries), but it captures the gist of my experience with the language…”

http://notebook.kulchenko.com/programming/lua-good-different-bad-and-ugly-parts


Playing around with Lua/NginX, Python, MongoDB, Tornado and JQuery…

stock-labs is a “stock visualization tool” built using different backends and technologies (only for training and study purposes):
1. LuaOpenRestyHighstock with JQuery and MySQL (main focus on Lua/Nginx integration)
2. TornadoHighstock with JQuery and MongoDB (main focus on Tornado(async) and MongoDB async and sync drivers)

https://github.com/irr/stock-labs


Pushing Nginx to its limit with Lua

“At CloudFlare, Nginx is at the core of what we do. It is part of the underlying foundation of our reverse proxy service. In addition to the built-in Nginx functionalities, we use an array of custom C modules that are specific to our infrastructure including load balancing, monitoring, and caching. Recently, we’ve been adding more simple services. And they are almost exclusively written in Lua…”

http://blog.cloudflare.com/pushing-nginx-to-its-limit-with-lua

Follow

Get every new post delivered to your Inbox.

Join 514 other followers