A great update to older articles on Ruby concurrency. I pored over some of my code from Ruby to Rust - nothing exciting, turns hundreds of Instagram posts into Markdown text with resized and watermarked images - but maxes out my cores. Using actors, love those.
Considering porting the code back now to Ruby to get some developer friendliness, er, back. And for fun just to see performance across 10 years of posts.
Rust is cool but Ruby deserves to stay useful.
I don't see any benchmarks here but I wonder how this compares to equivalent Python concurrency primitives.
Can I safely use Ractors inside Rails if my tasks have a mix of CPU and I/O ?
benchmarks can never be right. machines with different specs will always show different results.
The Ruby syntax looks increasingly appealing to me. Does anyone have Ruby book suggestions for experienced programmers? I'm looking for something close to K&R or APUE style, preferably also with some coverage of Ruby's C-API.
It does not have to be ultra modern or up-to-date, correctness and best practices are more important.