Tootfinder

Opt-in global Mastodon full text search. Join the index!

@michabbb@social.vivaldi.net
2025-07-17 14:41:35

๐Ÿงต #Fibers offer asymmetric, stackful coroutines - can suspend from nested functions using Fiber::suspend() and resume with resume() method
๐Ÿ’พ Both maintain internal state between suspensions, enabling bidirectional communication with calling code

@michabbb@social.vivaldi.net
2025-07-17 14:41:35

๐Ÿ”ง #Generators excel at lazy iteration and memory efficiency, implementing Iterator interface for foreach loops
โšก #Fibers enable cooperative multitasking and nested suspension, perfect for #CLI