json parsing performance

Laeeth Isharc via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 6 13:51:43 PDT 2015


On Monday, 6 April 2015 at 20:20:06 UTC, Kingsley wrote:
> I have read that std.json is pretty slow compared to other 
> languages json parsers and I'm about to do a whole stack of 
> json parsing and was wondering if anyone has got any benchmarks 
> to indicate what "slow" means compared to other languages - 
> particularly java, ruby, python?
>
> I want to know whether to roll up the sleeves and write my own 
> json parser focused on performance or if slow just means a few 
> ms slower - which I could live with.


Have you looked at vibe.d?  You don't need to pull in the whole 
thing.  Docs are a bit obscure, so easiest thing is to read the 
unit tests.


Laeeth


More information about the Digitalmars-d mailing list