<commit_before>* Riak C/C++ Client
** Overview

This is a WIP of a C/C++ client for Riak. 

- [[https://github.com/basho/riak-cxx-client/blob/master/riak_client/cxx/basic/basic_client.hpp][Basic API]]
- [[https://github.com/basho/riak-cxx-client/blob/master/riak_client/cxx/client/client.hpp][High-level client API]]
- [[https://github.com/basho/riak-cxx-client/blob/master/riak_client/client.h][C API]]
- [[https://github.com/basho/riak-cxx-client/blob/master/riak_client/test/test_basic.cpp][Sample Code]]


- protobufs only
- no links or MR
- basic client and high-level client inspired by the new java client
- basic client is complete, high-level client in progress
- C wrapper in progress
- embedded deps (protobufs, boost::asio)
- needs WAY more tests




Minimal API documentation is available at [[http://argv0.github.com/riak-cxx-client][Github]].

** Quick Start

#+BEGIN_SRC shell<commit_msg>last commit i swear<commit_after>* Riak C/C++ Client
** Overview

This is a WIP of a C/C++ client for Riak. 

- [[https://github.com/basho/riak-cxx-client/blob/master/riak_client/cxx/basic/basic_client.hpp][Basic API]]
- [[https://github.com/basho/riak-cxx-client/blob/master/riak_client/cxx/client/client.hpp][High-level client API]]
- [[https://github.com/basho/riak-cxx-client/blob/master/riak_client/client.h][C API]]
- [[https://github.com/basho/riak-cxx-client/blob/master/test/test_basic.cpp][Sample Code]]

#+BEGIN_SRC shell

/* fetch an object */
riak::client_ptr c = riak::new_client("127.0.0.1", "8087");
riak::fetch_result fr = c->fetch("mybucket", "mykey", 2);
riak::object_ptr o = fr.choose_sibling(0);
assert(o->key() == "mykey");

#+END_SRC

- protobufs only
- no links or MR
- basic client and high-level client inspired by the new java client
- basic client is complete, high-level client in progress
- C wrapper in progress
- embedded deps (protobufs, boost::asio)
- autotools build
- needs WAY more tests




Minimal API documentation is available at [[http://argv0.github.com/riak-cxx-client][Github]].

** Quick Start

#+BEGIN_SRC shell
{'fraction_non_alphanumeric': 0.15615906886517944, 'fraction_numerical': 0.006789524733268671, 'mean_word_length': 4.303341902313624, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3562793', 'n_tokens_mistral': 765, 'n_tokens_neox': 729, 'n_words': 168}