D vs Go in real life

qznc qznc at web.de
Wed Nov 6 02:09:00 PST 2013


On Wednesday, 6 November 2013 at 08:22:36 UTC, Bienlein wrote:
> Lightweight Threads in Go and Rust
>
> What is a *BIG* plus for Go and Rust are lightweight threads. 
> You
> can spawn some thousand of them and it's no problem. I really
> wished D had that kind of threads as well. For nowaydays
> server-side development where applications need to bear heavy
> load and load peaks this is an important thing.

Use std.parallelism.Task or core.thread.Fiber. This is also 
conveniently packaged in Vibe.d. They have some syntactic sugar, 
though.


More information about the Digitalmars-d mailing list