In the age of microservices and networking in general, were D is at?

Daniel Kozak kozzi11 at gmail.com
Mon Sep 14 05:39:59 UTC 2020


On Sun, Sep 13, 2020 at 11:20 PM ryuukk_ via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

>
> I think the plain text one is the most important one to fix
> first, such basic concept shouldn't be that slow
>

As others already pointed out, it is not thats vibe-d perform bad. But the
others use some not so nice tricks to be so fast.
This is why I say I can make vibe-d same fast as the others, but it would
be cheating from my perspective.

They do not real http parsing, they generally just  match only the minimum
what they needed.
They use static buffer with already prepared responses
They do not send all http headers
They use one char Server name http header.

So when I use vibe-d without the http package and just use TCPconnection
and do the same as the others I would have the same speed, but this is not
what you generally want.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20200914/e09fdfbc/attachment.htm>


More information about the Digitalmars-d mailing list