4 ms·
> I am very well cognisant of this fact, but this bears absolutely no relationship with async await vs fibers The ruby environment does not have async/await, a
by dwaite 3y ago
> I am very well cognisant of this fact, but this bears absolutely no relationship with async await vs fibers
The ruby environment does not have async/await, and has a desire for experimentation with user mode concurrency systems due to the impact of GIL on the utility of native threads. Running under an interpreter with primarily heap-allocated objects and a patchable runtime also means that you have less impact from switching to such a model as an application developer.
There were discussions that this somehow pertained to a wider discussion on async/await vs fibers, specifically in rust which does have proper utilization of threads and does have async/await support. Since rust is also operating based on native code, it would need to have changes such as putting fiber suspension logic in all I/O calls between itself and the underlying OS to support developer-provided concurrency.