On Saturday, 24 August 2013 at 20:03:58 UTC, Rory McGuire wrote:
On Sat, Aug 24, 2013 at 3:26 PM, bearophile
It's a cute idea, but not really practical, I'm afraid –
managed by a scheduler in the Go runtime library, whereas D
directly map to OS threads.
Can't Rory McGuire add a scheduler to his code? How much code
does it take?
I imagine that it will be fine on Linux because threads truly
lightweight on Linux, but its not going to be great on windows.
Funny, I always thought otherwise, because Windows only has
Processes are just a means of grouping threads on Windows, as
isn't the distinction between threads and processes that UNIX
systems used to make.
Then again, I lost track how the performance on Linux systems
changed across the whole Processes -> LinuxThreads -> NPTL ->
Posix Threads evolution.