Earlier we talked a bit about the actor model . Since Ruby 1.9, developers now have access to a new type of “lightweight” threads called Fibers . Fibers are not actors and Ruby doesn’t have a native Actor model implementation but some people wrote some actor libs on top of fibers. A f...
I heard a lot of people telling me they were looking into using Node.js because it has a better design and no GIL. While I like Node.js and if I were to implement a chat room or an app keeping connections for a long time, I would certainly compare it closely to EventMachine, I also th...
Class: iTunesPrintSettings Properties: copies (the number of copies of a document to be printed) collating (Should printed copies be collated?) startingPage (the first page of the document to be printed) endingPage (the last page of the document to be printed) pagesAcross (number of l...
Hi Matt – Thanks for sharing your thoughts on this! Very good read. I am really amazed by how much Laurent has done to make this happen. I have been dabbling with xcode for a while and no matter how much I try it is just not fun to work with. Could be the ide or the language or both. ...
RubyMotion isn’t open source and currently fully relies on the shoulder of a single man. If unfortunately, Laurent goes out of business or decides to do something else then we will have to rewrite our apps in Objective-C. Using RubyMotion for a professional product represents a signif...
You might want to safely encrypt the data in a way that allows the clients to verify and trust that the token comes from a trusted source. A great solution for that would be to use RSA encryption with the public key available in all your client apps but the private key only available ...
But what’s worse than everything listed so far is that the lack of competition and the internal rewrites made Rails lose its headstart. Rails is very much HTML/view focused, its primarily strength is to make server side views trivial and it does an amazing job at that. But let’s be ho...
Ruby on Rails undisputedly changed the way web frameworks are designed. Rails became a reference when it comes to leveraging conventions, easy baked in feature set and a rich ecosystem. However, I think that Rails did and still does a lot of things pretty poorly. By writing this post,...
But what’s worse than everything listed so far is that the lack of competition and the internal rewrites made Rails lose its headstart. Rails is very much HTML/view focused, its primarily strength is to make server side views trivial and it does an amazing job at that. But let’s be ho...
This is quite a scary graph but it shows nicely the features you are getting and their cost associated. For instance, the option of having the before and after initialization callback cost you 14% of your CPU time per instantiation, even though you probably almost never use these call...
Note: The following comment regards a feasible compiler approach to parallelization – not interpreter, and thus I am not sure how it applies nor have I thought that out. I hope the following comments yield some incentive to check out the suggestions below and determine if/how they may...