logoalt Hacker News

Understanding Ruby 3.3 Concurrency: A Comprehensive Guide

53 pointsby ksec11/06/202410 commentsview on HN

Comments

vr4611/07/2024

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.

phendrenad211/07/2024

Seems like ractors would be perfect for a HTTP server.

show 2 replies
cmittal7911/07/2024

benchmarks can never be right. machines with different specs will always show different results.

Daishiman11/06/2024

I don't see any benchmarks here but I wonder how this compares to equivalent Python concurrency primitives.

show 1 reply