New Curl impl for cvv8

4 views
Skip to first unread message

Stephan Beal

unread,
Feb 19, 2012, 6:04:49 AM2/19/12
to v8-juic...@googlegroups.com
Hi, all!

Last night i ported over the v8-juice Curl binding to cvv8, and got rid of its limitation of not handlng binary data:

http://code.google.com/p/v8-juice/wiki/V8Convert_Curl

It's similar to the older plugin but uses ByteArrays instead of Strings to carry data around, because we can't legally use v8::String when curl can send/receive data in chunks of arbitrary sizes (which might end in the middle of a UTF character).

Curl can be a bit cumbersome to use, IMO, but it's not all that difficult to use.

Happy hacking!

--
----- stephan beal
http://wanderinghorse.net/home/stephan/

Stephan Beal

unread,
Feb 19, 2012, 9:40:21 AM2/19/12
to v8-juic...@googlegroups.com
On Sun, Feb 19, 2012 at 12:04 PM, Stephan Beal <sgb...@googlemail.com> wrote:

The ExpatParser plugin has been ported over as well:


(For those 1 or 0 JS people still using XML.)
Reply all
Reply to author
Forward
0 new messages