[ANN] Fast JSON 0.0.1 Released

I released the Fast JSON library a few days ago.
http://fjson.rubyforge.org
<http://rubyforge.org/projects/fjson>
This project is a fork of the JSON library by Florian Frank (
http://json.rubyforge.org) with optimizations of the JSON rendering
including:

   - Buffering
   - Implementation in C

It is used in a couple of production sites with as much as 10x-20x
performance improvement in the JSON rendering and no major issues.
Migration from the JSON to the Fast JSON library is as easy as changing
require 'json'
to
require 'fjson'

So far it works on Linux and possibly on OSX. It does not work on Windows,
as I am having a difficult time compiling it for Windows.
Full UTF-8 support is also not yet available.

So far it works on Linux and possibly on OSX.

I can check it on OS X

It does not work on Windows,
as I am having a difficult time compiling it for Windows.

It is really not so easy =) But I know the way to compile it!

Full UTF-8 support is also not yet available.

What are the problems?

>
> So far it works on Linux and possibly on OSX.

I can check it on OS X

That would be great, if you don't mind checking. If not, I can check it on
Monday.

It does not work on Windows,
> as I am having a difficult time compiling it for Windows.

It is really not so easy =)

Yes, I noticed. :slight_smile:

But I know the way to compile it!

That would be huge. There are no external libraries other than Ruby, so it
should just be your classic case of compiling for Windows.

Ideally, it would be nice to compile the extension on Linux. I've seen
instructions as http://eigenclass.org/hiki.rb?cross+compiling+rcovrt but
have not been successful in getting it to work.

Full UTF-8 support is also not yet available.

What are the problems?

Escaping the unicode characters is not supported yet. I had to disable
support because an invalid unicode word caused an exception in one of the
applications that use the Fast JSON library. It will be reenabled when this
is resolved.

Thanks,
Brian

···

On 10/14/06, Max Lapshin <max@maxidoors.ru> wrote: