Am 09.08.2012 um 18:54 schrieb EBo: > On Thu, 09 Aug 2012 11:36:06 -0500, Jon Elson wrote: .... >> My only concern would be that a Python interpreter might be slower >> than >> the c++, but I >> don't know enough about it to know whether that could be true. We >> would >> not want to >> make any changes that significantly slow the block execution rate. > > For some rough numbers... > > Straight comparison between 100% Python to C is about a 5x to 10x > execution speed reduction. If you offload a lot of the numerical >
I am painfully aware of that since my work on using antlr3 with Python (http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/parser-antlr3-python). Let me also point to the fact that such issues are usually highly isolated and relatively easily optimized which I did not attempt (in that example, the scanner). Btw we have pluggable interpreters, and that should to be retained IMO, so I see that relaxed. -- that said, let's break our habits ;) before tuning the animal, let's stay on topic, which I consider: - is it time to think about, and start a future LinuxCNC version which - for the sake of an upside - breaks with some old habits and components - is it a good idea to link this 'cut' with an effort to address licensing issues - if the answer is 'yes' and 'yes', determine if the stumbling blocks can addressed with realistic effort and timeframe - if the above boxes are ticked, then it's time to develop a plan, which would address questions like the above -m ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers