The OP said he has algorithms already written in Python so I was pointing out that if he need to improve performance, it is easy to do. Anyway, you know that most build systems like Openembedded, yocto, etc, all use Python? If it was so slow, they wouldn’t be using it. Now I’m wondering why they just don’t write the whole thing in C ;-)
Regards, John > On Feb 16, 2016, at 3:21 PM, William Hermans <[email protected]> wrote: > > First, "the interface" is slow: meaning the run time. But if you have to > "reinvent" a Python API / BCL because it is slow - And do that in C. Why not > just use C to begin with ? > > Aside from Python forcing coding guidelines on it users, it's a fine > language. What it is not though, is a good language when you need pure all > out performance. But not all code needs to be fast. Sometimes, fast enough > works. Probably even most of the time. > > On Tue, Feb 16, 2016 at 3:36 PM, John Syne <[email protected] > <mailto:[email protected]>> wrote: > The benefit of Python is the easy interface to C code, which means that when > your algorithm is slow, you can reimplement that code in C but keep the > benefit of writing in a more feature rich language like Python. > > Regards, > John > > > > >> On Feb 16, 2016, at 1:47 PM, [email protected] >> <mailto:[email protected]> wrote: >> >> @William, I love to work with C. >> But, the thing is I want to implement machine learning algorithms in >> BeagleBone. >> So, it is quite easier to implement them with Python or R, as their are some >> dedicated packages to analyze the data. >> >> -- >> For more options, visit http://beagleboard.org/discuss >> <http://beagleboard.org/discuss> >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > > > -- > For more options, visit http://beagleboard.org/discuss > <http://beagleboard.org/discuss> > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > For more options, visit http://beagleboard.org/discuss > <http://beagleboard.org/discuss> > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
