2025-01-07:
A silly optimization: adding opt_respond_to to the Ruby VM, part 6
2024-12-31:
Defining an instruction: adding opt_respond_to to the Ruby VM, part 5
2024-12-28:
Peephole optimizations: adding `opt_respond_to` to the Ruby VM, part 4
2024-12-26:
The Ruby Syntax Holy Grail: adding `opt_respond_to` to the Ruby VM, part 3
2024-12-23:
Finding the compiler: adding `opt_respond_to` to the Ruby VM, part 2
Bitmasks, Ruby Threads and Interrupts, oh my!
👋🏼 This is part of series on concurrency, parallelism and asynchronous programming in Ruby. It’s a deep dive, so it’s divided into several parts:
Your Ruby programs are always multi-threaded: Part 1 Your Ruby programs are always multi-threaded: Part 2 Consistent, request-local state Ruby methods …
The /o in Ruby regex stands for “oh the humanity!”
Your code using the /o modifier
Source: wikipedia
Hi there! Do you like Regex? Do you like performance? Do you like creating confounding bugs for yourself rooted in the mechanics of the Ruby VM itself?
If you said yes to all of the above, have I got a feature for you!
But first, let’s start with a …