Re: [nodejs] Re: Interesting for maybe delegating JSON.parse to another language

2015-05-28 Thread Ω Alisson
It's just that Node chokes with big JSON payloads and all async json parsers are cumbersome to use On Thu, May 28, 2015 at 4:21 AM, Dave Horton wrote: > I had some luck using jansson (https://github.com/akheron/jansson) in my > C/C++ program for parsing / formatting JSON. Not sure why an altern

[nodejs] Re: Interesting for maybe delegating JSON.parse to another language

2015-05-28 Thread Dave Horton
I had some luck using jansson (https://github.com/akheron/jansson) in my C/C++ program for parsing / formatting JSON. Not sure why an alternative to JSON.parse is needed in a Javascript program though. On Wednesday, May 27, 2015 at 1:50:30 PM UTC+2, Alisson Cavalcante Agiani wrote: > > https:/

[nodejs] Re: Interesting for maybe delegating JSON.parse to another language

2015-05-28 Thread Jimb Esser
In node/V8, from what I understand, JSON.parse is already delegated to another language, it's in (fairly) optimized C++ code. What you're seeing in that benchmark (when comparing "C++" and "Javascript Node") is less the expense of parsing JSON and more the expense of creating heavy-weight, gar