cannam@133
|
1 ---
|
cannam@133
|
2 layout: post
|
cannam@133
|
3 title: Cap'n Proto Beta Release
|
cannam@133
|
4 author: kentonv
|
cannam@133
|
5 ---
|
cannam@133
|
6
|
cannam@133
|
7 It's been nearly three months since Cap'n Proto was originally announced, and by now you're
|
cannam@133
|
8 probably wondering what I've been up to. The answer is basically
|
cannam@133
|
9 [non-stop coding](https://github.com/kentonv/capnproto/commits/master). Features were implemented,
|
cannam@133
|
10 code was refactored, tests were written, and now Cap'n Proto is beginning to resemble something
|
cannam@133
|
11 like a real product. But as is so often the case with me, I've been so engrossed in coding that I
|
cannam@133
|
12 forgot to post updates!
|
cannam@133
|
13
|
cannam@133
|
14 Well, that changes today, with the first official release of Cap'n Proto, v0.1. While not yet
|
cannam@133
|
15 "done", this release should be usable for Real Work. Feature-wise, for C++, the library is roughly
|
cannam@133
|
16 on par with [Google's Protocol Buffers](http://protobuf.googlecode.com) (which, as you know, I used
|
cannam@133
|
17 to maintain). Features include:
|
cannam@133
|
18
|
cannam@133
|
19 * Types: numbers, bytes, text, enums, lists, structs, and unions.
|
cannam@133
|
20 * Code generation from schema definition files.
|
cannam@133
|
21 * Reading from and writing to file descriptors (or other streams).
|
cannam@133
|
22 * Text-format output (e.g. for debugging).
|
cannam@133
|
23 * Reflection, for writing generic code that dynamically walks over message contents.
|
cannam@133
|
24 * Dynamic schema loading (to manipulate types not known at compile time).
|
cannam@133
|
25 * Code generator plugins for extending the compiler to support new languages.
|
cannam@133
|
26 * Tested on Linux and Mac OSX with GCC and Clang.
|
cannam@133
|
27
|
cannam@133
|
28 Notably missing from this list is RPC (something Protocol Buffers never provided either). The RPC
|
cannam@133
|
29 system is still in the design phase, but will be implemented over the coming weeks.
|
cannam@133
|
30
|
cannam@133
|
31 Also missing is support for languages other than C++. However, I'm happy to report that a number
|
cannam@133
|
32 of awesome contributors have stepped up and are working on
|
cannam@133
|
33 [implementations in C, Go, Python]({{ site.baseurl }}otherlang.html), and a few others not yet
|
cannam@133
|
34 announced. None of these are "ready" just yet, but watch this space. (Would you like to work on
|
cannam@133
|
35 an implementation in your favorite language?
|
cannam@133
|
36 [Let us know!](https://groups.google.com/group/capnproto))
|
cannam@133
|
37
|
cannam@133
|
38 Going forward, Cap'n Proto releases will occur more frequently, perhaps every 2-4 weeks.
|
cannam@133
|
39 Consider [signing up for release announcements](https://groups.google.com/group/capnproto-announce).
|
cannam@133
|
40
|
cannam@133
|
41 In any case, go [download the release]({{ site.baseurl }}install.html) and
|
cannam@133
|
42 [tell us your thoughts](https://groups.google.com/group/capnproto).
|