About whether D / rust / golang can be popular.

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Fri Nov 27 11:21:48 UTC 2020


On Thursday, 26 November 2020 at 18:27:25 UTC, Jacob Carlborg 
wrote:
> That varies between implementations. You can either do single 
> threading. Or have multiple threads (as many as the computer 
> has cores) with one event loop per thread. Each async function 
> can only be executed on a single thread. Or multiple threads 
> with a single event loop and the async functions can run on 
> multiple threads. That is, run on one thread, be suspended and 
> be resumed on another thread.

Ok Jacob, so I got this idea: maybe it would be possible to have 
something like await as a gateway for temporary sharing of 
memory? Basically a multithreaded version of scope?

Just an idle thought, but maybe D could do something interesting 
with it.


More information about the Digitalmars-d mailing list