Fastest JSON parser in the world is a D project

Suliman via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Oct 20 23:36:31 PDT 2015


On Monday, 19 October 2015 at 07:48:16 UTC, Sönke Ludwig wrote:
> Am 16.10.2015 um 18:04 schrieb Marco Leise:
>> Every value that is read (as opposed to skipped) is validated
>> according to RFC 7159. That includes UTF-8 validation. Full
>> validation (i.e. readJSONFile!validateAll(…);) may add up to
>> 14% overhead here.
>>
>
> Nice! I see you are using bitmasking trickery in multiple 
> places. stdx.data.json is mostly just the plain lexing 
> algorithm, with the exception of whitespace skipping. It was 
> already very encouraging to get those benchmark numbers that 
> way. Good to see that it pays off to go further.

Is there any chance that new json parser can be include in next 
versions of vibed? And what need to including its to Phobos?


More information about the Digitalmars-d-announce mailing list