https://issues.dlang.org/show_bug.cgi?id=14953

--- Comment #9 from Sean Kelly <[email protected]> ---
In general I agree.  However, one key feature of std.concurrency is that it can
use different Schedulers to achieve different performance requirements.  So
general actor code should never simply assume it's being run in a dedicated
kernel thread or whatever.  But as this is a systems language, if you
explicitly specify the Scheduler at initialization time, then code written
specifically for that application can exploit this knowledge and call the
low-level core.thread routines as needed.  The assumption being that if you
specify the Scheduler then you Know What You're Doing and accept any
consequences for mistakes.

--

Reply via email to