runiq@feddit.de to Rust@programming.dev · 1 year agoGenerators are dead, long live coroutines, generators are back | Inside Rust Blogblog.rust-lang.orgexternal-linkmessage-square33fedilinkarrow-up145arrow-down11file-textcross-posted to: rust@lemmit.onlinerust@programming.dev
arrow-up144arrow-down1external-linkGenerators are dead, long live coroutines, generators are back | Inside Rust Blogblog.rust-lang.orgruniq@feddit.de to Rust@programming.dev · 1 year agomessage-square33fedilinkfile-textcross-posted to: rust@lemmit.onlinerust@programming.dev
minus-squarem e@lemmy.mllinkfedilinkarrow-up3·1 year agoThe only language to get it right was Simula 67.
minus-squaredavawen@programming.devlinkfedilinkEnglisharrow-up7·1 year agoCould you explain to me how simula’s implementation of coroutines differ from modern languages (be it stackless or stackful)? I tried to dig a little but didn’t find much and I don’t really have time to investigate further. Thank you!
The only language to get it right was Simula 67.
Could you explain to me how simula’s implementation of coroutines differ from modern languages (be it stackless or stackful)? I tried to dig a little but didn’t find much and I don’t really have time to investigate further.
Thank you!