On Apr 23 2014 3:41 AM, Marius Alksnys wrote: > BTW, I have a sketch of the GUI, which counts about 370 controls > currently. Isn't python too slow for this?
Depends on how it is written. If you use numpy for arrays and utilizing things like list comprehension to the best of pythons tricks then you can get the speed hit down to about 5x to as little as 3x that of optimized C or Fortran. THat being said, at hart python is an interpreted language, and the fact that the variables are untyped causes a LOT of extra stuff having to be reevaluated at each time step, so it is unlikely that you will ever get it to run as fast as the comparable C code. So, if the original C/C++/Fortran code is to slow, then Python will be worse. If it is plenty fast enough then you are probably OK. EBo -- ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
