11 items | 1 visits
Tips, howtos, tutorials, documentation for software crafting tools.
Updated on Dec 07, 14
Created on Oct 31, 14
Category: Not Categorized
URL:
Last week at GoGaRuCo, I talked about how Rust bends the performance/safety curve and enables a whole new generation of high-level programmers to become systems-level programmers. That tradeoff loomed large when we started building Skylight. We knew that we...
I recently spent a bunch of time deep diving into some mystery memory leaks in Ruby. They were persistent and annoying, though not devastating by any means—the kind we could get away with ignoring for a long while, but...
One of the coolest features of Rust is how it automatically manages resources for you, while still guaranteeing both safety (no segfaults) and high performance. Because Rust is a different kind of programming language, it might be difficult to understand...
Futursocope is a simple library that implements futures in ruby. Futures are a concurrency pattern meant to help you deal with threads in a simple, transparent way.
It's specially useful in situations where you have calls to an expensive resource that could be done in parallel (they are not chained), but you don't wanna deal with low-level threads. HTTP calls are a good example.
Also useful when you want to spin up a process that runs in the background, do some stuff in the middle, and wait for that process to return.
Following on from our preview of the new features in Ruby 2.0.0, that version has now been officially released, so here’s a thorough and detailed run-down of all the tweaks, changes and additions that have made it in to the release.
Not many people know the powerful command line options that Ruby understands. They really demonstrate how Ruby drew inspiration from Perl and is a great tool for general-purpose command line scripting.
Arel is the kind of library that many of us Rails developers use on a daily basis and might not even know about it. So what’s this library whose name only pops up when everything else fails all about?
Using Arel to build database queries of arbitrary complexity.
We show you how to build a custom query to solve N+1 problem using AREL
If you were a web developer prior to ActiveRecord, you probably remember rolling your own SQL and being specific about which fields you retrieved, writing multiple queries to handle “upserts” (update...
ActiveRecord and Arel tips from the seasoned developer Dan Shultz.
11 items | 1 visits
Tips, howtos, tutorials, documentation for software crafting tools.
Updated on Dec 07, 14
Created on Oct 31, 14
Category: Not Categorized
URL: