[
https://issues.apache.org/jira/browse/AVRO-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984687#comment-14984687
]
Matthieu Monsch commented on AVRO-1747:
---------------------------------------
Just uploaded a tentative patch. If you'd like to browse the code from your
browser, it is available in the `3.0` branch of `avsc`'s repository:
https://github.com/mtth/avsc/tree/3.0
A few comments:
+ The documentation is included in the `doc/` folder, and can be explored for
example
[here|https://github.com/mtth/avsc/wiki/API/fd36198af40543a1a697059cd143185baf15da25].
+ I added a [shim|https://github.com/mtth/avsc/blob/3.0/etc/shim/index.js] for
the previous API with deprecation warnings. I also incorporated the
corresponding tests, and they all pass (with minor edits, see
[here|https://github.com/mtth/avsc/blob/3.0/etc/shim/test.js]).
+ RPC support is still under development, I'm still thinking about how best to
go about it.
+ I was curious so I ran encoding and decoding benchmarks against a few of the
other official implementations (Java, Python, and Ruby), and [node is holding
up pretty
well|https://github.com/mtth/avsc/wiki/Benchmarks/03384ec097145fad490d23e5240c028d66dbf4ba#avro-implementations]!
> JavaScript implementation
> -------------------------
>
> Key: AVRO-1747
> URL: https://issues.apache.org/jira/browse/AVRO-1747
> Project: Avro
> Issue Type: Improvement
> Components: javascript
> Reporter: Matthieu Monsch
> Attachments: AVRO-1747.patch
>
>
> Hello,
> I'm not sure if there is still interest in a JavaScript implementation of the
> Avro spec, or if this is the right place for this message (apologies if not),
> but in case it's useful here is one: https://github.com/mtth/avsc
> It's pretty fast, fully featured aside from protocols (AFAIK), and runs in
> the browser.
> Disclaimer: I wrote this library. (I initially searched around for existing
> implementations, and even saw a few tickets on this board about JavaScript
> decoders, but couldn't find one to support the schemas I have to process.)
> Best,
> -Matthieu
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)