3 ms·
I'm not super familiar with Loom, but I will say that unless Loom transparently converts all sync API calls to async API calls, it will probably suffer similar
by throwaway894345 5y ago
I'm not super familiar with Loom, but I will say that unless Loom transparently converts all sync API calls to async API calls, it will probably suffer similar problems to Python's async framework.
- eweise 5y agoYou can have millions of loom threads. Why do they need to be async?
- throwaway894345 5y agoThe question is how do those loom threads map to OS threads. If blocking I/O calls aren’t parked on designated OS threads then other work on those OS threads can’t progress.
- eweise 5y agoThat's the low level details loom takes care of for you. It maps the fibers onto threads and keeps the os threads active even if your fiber is blocked.