I like Go, especially goroutines. They are simple and effective. After some digging, it seems that they are mostly connected to the fibers in the kernel thread pool (correct me if I am wrong).
As the saying goes, are there standard libraries (or relatively popular and supported third-party add-ons) in D?
The main thing I want:
- Light threads use too much memory and take up too much CPU.
- Simple communication is not too important, but simple messaging
- Managed - it would be nice if it were at runtime
The main goal here is to make the web server as efficient as possible in order to compete with the speed of Node.js and Go. This means that there can be many active connections (http, websockets, streaming data).
I like things about the other platforms mentioned, but D is much more general. If he is not too clumsy, I would choose D over others.
source share