Rikudou_Sage@lemmings.world to PHP@lemmy.worldEnglish · 1 year agoEvent loop using Fibersaoeex.comexternal-linkmessage-square2fedilinkarrow-up16arrow-down10file-textcross-posted to: php@programming.devphp
arrow-up16arrow-down1external-linkEvent loop using Fibersaoeex.comRikudou_Sage@lemmings.world to PHP@lemmy.worldEnglish · 1 year agomessage-square2fedilinkfile-textcross-posted to: php@programming.devphp
minus-squaretsonfeir@lemm.eelinkfedilinkEnglisharrow-up1·1 year agoDoes anyone use this? It’s doesn’t seem very efficient to use PHP for this kind of thing.
minus-squareRikudou_Sage@lemmings.worldOPlinkfedilinkEnglisharrow-up1·1 year agoWhat kind of thing do you mean? Async is used in PHP, though not many people roll out their own event loop, that article is more for people who want to know how it works. Previously generators were used for native async support, nowadays fibers.
Does anyone use this? It’s doesn’t seem very efficient to use PHP for this kind of thing.
What kind of thing do you mean? Async is used in PHP, though not many people roll out their own event loop, that article is more for people who want to know how it works. Previously generators were used for native async support, nowadays fibers.