You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Stig Bakken <st...@zedge.net> on 2014/09/22 11:40:56 UTC
JavaScript library code
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
Re: JavaScript library code
Posted by Randy Abernethy <ra...@gmail.com>.
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 <st...@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