4 ms·
I'm still not convinced that Fiber-related gymnastics are massively superior to callback-related gymnastics, especially if you ever have to debug the magic unde
by otterley 16y ago
I'm still not convinced that Fiber-related gymnastics are massively superior to callback-related gymnastics, especially if you ever have to debug the magic under the hood (which I inevitably end up doing).
Can someone enlighten me?
- gregwebs 16y agoWith fiber pause resume the onus is put on the IO library writer. Someone has to write a MySQSL library that used threads. The advantage is that this is completely transparent to the library user. A goliath user need not be concerned about events or fibers when using MySQL. In contrast, a node user must specify a callback every time they make a query. I don't know if the library writer has to do anything special.