List of Phobos functions that allocate memory?
Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Fri Feb 7 03:37:15 PST 2014
On Friday, 7 February 2014 at 02:42:14 UTC, Walter Bright wrote:
> They're going to be slow when you do it that way.
How slow is slow? Is it slower than in Go and Python? Why would
unwinding 8 stack frames be so slow? Is it a language mandated
speed issue or just a runtime issue that could be fixed with a
compiler switch?
Most of the time is spent waiting for async request from
memcaches/databases and other types of network traffic so you
usually have some free cycles on a decent CPU. With native code
and lightweight threads (coroutines) you should be able to handle
100+ concurrent requests per process.
More information about the Digitalmars-d
mailing list