Comment Comment by kazinator I don't believe this is correct. Blocks are closures.Continuations were introduced in Ruby 1.8, via a callcc method in a Kernel module or something like that.Since 1.9 they are in some sort of deprecated status.I don't think that even the yield() stuff is implemented using continuations. parent kazinator 1 year ago
Continuations were introduced in Ruby 1.8, via a callcc method in a Kernel module or something like that.
Since 1.9 they are in some sort of deprecated status.
I don't think that even the yield() stuff is implemented using continuations.