Re: JSON for PG 9.2 - Mailing list pgsql-hackers

From Hitoshi Harada
Subject Re: JSON for PG 9.2
Date
Msg-id CAP7QgmntStLutMRHsWZhpDV=-g3-KprT+SpVisb5kinz2atE_A@mail.gmail.com
Whole thread Raw
In response to Re: JSON for PG 9.2  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
On Tue, Dec 13, 2011 at 1:13 PM, Merlin Moncure <mmoncure@gmail.com> wrote:
> Mozilla SpiderMonkey seems like a good fit: it compiles to a
> dependency free .so, has excellent platform support, has a stable C
> API, and while it's C++ internally makes no use of exceptions (in
> fact, it turns them off in the c++ compiler).  ISTM to be a suitable
> foundation for an external module, 'in core' parser, pl, or anything
> really.

When I started to think about PL/js, I compared three of SpiderMonkey,
SquirrelFish, and V8. SpiderMonkey at that time (around 2009) was
not-fast, not-small in memory while what you raise, as well as its
advanced features like JS1.7 (pure yield!), was attractive. Also
SpiderMonkey was a little harder to build in arbitrary platform
(including Windows) than v8. SquirrelFish was fastest of three, but
yet it's sticky with Webkit and also hard to build itself. Dunno how
they've changed since then.

Thanks,
--
Hitoshi Harada


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: unite recovery.conf and postgresql.conf
Next
From: "Albe Laurenz"
Date:
Subject: Re: review: CHECK FUNCTION statement