On Sep 10, 3:04 pm, "Simon Ask Ulsnes" <[EMAIL PROTECTED]> wrote:
> It's not that hard to add, though.
>
> I did something like this:
>
> ...
Rather than hacking some basic JSON support into V8 or your V8
application, I recommend that it be done the pro' way, using Ragel:
http://www.complang.org/ragel/
Ragel's compiled state machines are blindingly fast, and hence so are
the implementations of JSON of languages that use it:
http://json.rubyforge.org/
http://modules.gotpike.org/module_info.html?module_id=43
I did some elementary benchmarking of JSON implementations a while
back, and JSON in Ragel was in a class of its own. :-)
Slowing down V8's lightning speed with a poor JSON would be so
sad. ;-)
Morgaine.
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---