Luca Guidi


Thread Safety With Ruby

Moore's law is over. Modern computation is exploited by running processes on multiple cores. Ruby has always ignored this trend, and the community didn't put enough attention on this topic. The VM allocates a memory heap, which is shared and writable by threads. If incorrectly coordinated, those threads can lead to unexpected behaviors.

Introducing Lotus::View

The missing part of all the Ruby web frameworks is the distinction between views and templates. Keeping things separated, helps to declutter templates and models from presentation logic. Also, since views are objects they are easily testable. If you ever used Mustache, you are already aware of the advantages. Lotus::View is based on these simple concepts.

Redis Scripting with MRuby

MRuby is a lightweight Ruby. It was created by Matz with the purpose of having an embeddable version of the language. This article covers how to enable Redis scripting with Ruby.

Introducing Lotus::Controller

Lotus development is going well. This month, I’m proud to announce Lotus::Controller. It’s a small, powerful and fast Rack framework.

Building Sinatra with Lotus

The beauty of Lotus is the composition of its frameworks. Each of them is well designed to achieve one and only one goal. The main advantage of this architecture is that delevopers can easily use and reuse those frameworks in countless ways. Lotus::Router accepts anonymous functions as endpoints. This feature can be used to build Sinatra with it.

Older ›