new XML and JSON libs and replacement of std.net.curl

ikod via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 16 03:06:05 PDT 2016


On Tuesday, 16 August 2016 at 09:16:40 UTC, yawniek wrote:
> imo things should be modularized.
>
> so there should be (fast) protocol parsers first, something like
>
> https://github.com/h2o/picohttpparser or
> https://github.com/seanmonstar/httparse
>
> then a very simple eventloop that has abstractions and range 
> based interfaces for reading/writing data into different types 
> of sockets.

There is common http message parser that used in nginx and 
nodejs. I think it can be ported from C to D. Both sync and async 
code can be built around this parser. But async library accepted 
as standard need before this.



More information about the Digitalmars-d-learn mailing list