Re: MXNet and Cython

2018-02-15 Thread Chris Olivier
Speed isn't everything. It's the only thing. :) On Thu, Feb 15, 2018 at 3:52 AM, Pedro Larroy wrote: > I don't know about the speed, and it shouldn't be the only criteria to > do things. My main question is: Why Cython instead of C++, is there > data or a prototype that would show light into wh

Re: MXNet and Cython

2018-02-15 Thread Pedro Larroy
I don't know about the speed, and it shouldn't be the only criteria to do things. My main question is: Why Cython instead of C++, is there data or a prototype that would show light into what is the best decision here? Regarding the bindings, as with boost::python seems it's a very thin wrapper ove

Re: MXNet and Cython

2018-02-14 Thread Chris Olivier
*I don't see in pybind11 that it's claiming to be especially performant, only that it's convenient in passing data back and forth.* *Is it claimed somewhere that it is especially fast?* On Wed, Feb 14, 2018 at 10:45 AM, Pedro Larroy wrote: > Why Cython and not just C++ with simple python bindin

Re: MXNet and Cython

2018-02-14 Thread Pedro Larroy
Why Cython and not just C++ with simple python bindings like https://github.com/pybind/pybind11 ? What's the motivation? Have we considered the trade offs between maintainability, speed and tooling? Also this Cython code is not going to be portable as it would be in C++, and has some learning curv