Hi Stig,

Presently the Node and JS libs are completely separate and I think
that, while there is quite a bit of common code, there's also a fair
amount of diversity. Given this and the language by language
management issues, perhaps it is best to keep Node and JS distinct for
now.

Thait said, the bin and compact protos for JS are definitely on the
list. If you use the Node code as a base for the JS patch you should
be close to done after converting the node Buffers to JS ArrayBuffers.
You shouldn't need to make any compiler changes, the protocols are all
library code.

Look forward to your patches!

Best,
Randy

On Mon, Sep 22, 2014 at 2:40 AM, Stig Bakken <s...@zedge.net> wrote:
> Hi guys,
>
> There's a lot of functionality missing from lib/js that is present in
> lib/nodejs, such as binary or compact protocols.  I would love to
> contribute code for this, but before I do, has there been any discussion
> around common JavaScript code that can be used by both the nodejs and js
> generators?  I assume one or more of the good folks on this list has
> pondered this before? :)
>
>  - Stig

Reply via email to