- Remember Sorbet? It gained a lot of attention last year, but was kind of forgotten quickly. Especially now that built-in type ckecking for Ruby is promised in 3.0, its future is unknown. However, if you’d like to know more about the meat, read an article explaining why Sorbet typechecking is fast. It’s a good technical read.
- For those who like very technical articles, here’s a piece about Ruby’s JIT and how it can be better/different. It’s called MIR: A lightweight JIT compiler project and contains quite a lot of knowledge about language design and implementation.
- Another one in language implementation department is about Evaluating Ruby in Ruby by Ilya Bylich.
- Machine learning and related topics are dominated by Python, C++ and Java. But it does not mean that we can’t have it in Ruby too! Andrew Kane spent a lot 5 months making 16 ML tools available for Ruby. They are usually just wrappers on C/C++ libraries, but the possibility to use them right from your ruby code is pretty cool. Read more here.
- Here’s one from 2010, but still very interesting: Maze Generation: Eller’s Algorithm. You’d probably hate me but… it’s about generating mazes using Eller’s algorithm ¯_(ツ)_/¯ And the code is in Ruby, so it should be easier to wrap your head around it (it was for me).
- And a news from today: if you care about code coverage, you have probably heard about SimpleCov. With its latest realease it adds branch coverage. So you will no longer easily get away with
false ? 1 : 0-like code.