News for hackers. Stuff that matters.

hyualsdfowjasd

Re:Ruby Methods Are Colorless on Tuesday July 23, 2024 @11:24AM (#41046949)
> Similar with C# and Rust. No strong runtime, no colorless functions for you.

Zig is the exception here but not sure how well it worked out in practice.

Re:Ruby Methods Are Colorless on Tuesday July 23, 2024 @11:16AM (#41046857)
The C code in Ruby has to yield to the scheduler when it detects a fiber.

For historical context, python had several "colorless" attempts but none achieved widespread adoption.

Re:Ruby Methods Are Colorless on Tuesday July 23, 2024 @10:23AM (#41046286)
Sadly didn't have to turn out this way if people had used Chris's work.