On Mon, Feb 18, 2019 at 7:05 PM Daniele Nicolodi <[email protected]> wrote:
> Hello Martin, > > (trying a second time because Google Groups semes to have lost my > previous message) > > On 18/02/2019 11:22, Martin Blais wrote: > > - Beancount core, parser, booking and plugins get rewritten in simple > > C++ (no boost/templates, but rather on top of a bazel + absl + > > protobuf + clif base with functional-style and a straightforward subset > > of C++, no classes), providing its parsed and booked contents as a > > stream of protobuf objects. > > - All tests would remain in Python (I'm not rewriting those). > > Comprehensive clean Python bindings for beancount.core would be > > provided, to do as much scripting as is done today, except with types > > implemented fully in C++. > > How do you see the possibility of using Cython instead of C++? > Too much magical incantation. I'm using Cython at work here and there, and while robertwb's work is amazing, I want something really straightforward. Advantages would include the possibility of an (easier) piecewise > conversion instead of a rewrite and not having to solve the problem of > generating Python binding from a C++ codebase. > That's true, but I'm not considering a piecewise conversion, I'm considering a full conversion of the bottom third. And at that level I'd personally rather rewrite the extension modules in pure C, I know the API well enough, it's more straightforward IMO. Cheers, > Dan > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/f1ecbaee-899e-4a6a-26b3-b8b0fb66ae40%40grinta.net > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhNa%2BKhTrbfG1_DPDOeURYE5HQ1MPrzJxeo_uu5ft1mGZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
