Re: A streaming JSON parser in C
| From: | Aran Reeks | Date: | Wed, 29 Apr 2020 20:55:22 +0000 |
| Subject: | Re: A streaming JSON parser in C | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109936@lists.php.net to get a copy of this message | ||
it would be amazing to see something like this introduced into PHP natively
in the future.
On Wed, 29 Apr 2020, 21:52 Dan Ackroyd, <Danack@basereality.com> wrote:
> On Wed, 29 Apr 2020 at 21:02, Henrik Skov <henry.wood.dk@gmail.com> wrote:
> >
> > Hi internals !
> >
> > Recently someone enquired about adding a streaming JSON parser to PHP.
>
> There's also a JSON library that supports SIMD instructions and 'tree
> walking', although that doesn't appear to be exposed in the PHP
> extension available for it.
>
> https://github.com/crazyxman/simdjson_php
> https://github.com/simdjson/simdjson
>
> My understanding is that FFI could be used to prototype a userland API
> for testing different underlying JSON libraries, if anyone has the
> time + energy.
>
> cheers
> Dan
> Ack
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>