Hi,
I was missing some commonly usable HTTP parser on code.dlang.org
and after some research and work I've published httparsed[1].
It's inspired by picohttpparser[2] which is great, but instead of
a binding, I wanted something native to D. Go has it's own
parsers, Rust has it's own parsers, w
https://forum.dlang.org/post/odlataafslwqvsgsm...@forum.dlang.org
On Monday, 14 December 2020 at 21:59:02 UTC, tchaloupka wrote:
Hi,
I was missing some commonly usable HTTP parser on
code.dlang.org and after some research and work I've published
httparsed[1].
[1] https://code.dlang.org/packa
On Monday, 14 December 2020 at 21:59:02 UTC, tchaloupka wrote:
* arsd's cgi.d - I haven't expected it to be so much slower
than vibe-d parser, it's almost 3 times slower, but on the
other hand it's super simple idiomatic D (again doesn't check
or allow what RFC says it should and many tests wil
On Tue, Dec 15, 2020 at 12:11:44AM +, Adam D. Ruppe via
Digitalmars-d-announce wrote:
> On Monday, 14 December 2020 at 21:59:02 UTC, tchaloupka wrote:
> > * arsd's cgi.d - I haven't expected it to be so much slower than
> > vibe-d parser, it's almost 3 times slower, but on the other hand
> > i
On Tuesday, 15 December 2020 at 00:32:42 UTC, H. S. Teoh wrote:
It may not be the fastest web module in the D world
It actually does quite well, see:
https://github.com/tchaloupka/httpbench (from the same OP here :)
)
The header parser is nothing special, but since header parsing is
a smal
On Tuesday, 15 December 2020 at 00:32:42 UTC, H. S. Teoh wrote:
For that alone, I think Adam deserves a salute.
(But of course, if Adam improves cgi.d to be competitive with
vibe.d,
then it could totally rock the D world! ;-))
T
Yes absolutely, arsd has a bit different usecase and target
au
On Tuesday, 15 December 2020 at 10:04:42 UTC, tchaloupka wrote:
But if these benchmarks helps Adam to make some incremental
improvements it's a plus and many of that can be pretty low
hanging fruit.
Yeah, I think the biggest benefit to changing this around is to
just avoid creating unnecessar
On 2020-12-14 22:59, tchaloupka wrote:
Hi,
I was missing some commonly usable HTTP parser on code.dlang.org and
after some research and work I've published httparsed[1].
This is awesome. I wanted to use picohttpparser myself and used the C
version. But if you already have created a HTTP parse
On Saturday, 28 May 2022 at 05:37:06 UTC, test123 wrote:
Maybe we can add the picohttpparser test case into httparsed.
Hi, it is actually
[there](https://github.com/tchaloupka/httparsed/blob/e07906e61b7c0b5123ecec4ea6a578b1768c47da/source/httparsed.d#L669), probably not exactly everything, but