On 8 Aug., 15:50, Frederic Da Vitoria <[email protected]> wrote: > Python can be compiled. Actually, cross platform dependency handling > is so tricky that a Hugin written in Python would have to be compiled > IMO. So the performance won't be noticeably different.
How would you compile Python? And why? You may suffer from a misconception here. It is possible to package a python program, a python interpreter and all modules it uses into a bundle which can be distributed, installed and executed like any other program, since it's all FOSS and noone asks you for license fees for the interpreter etc. - but you can't compile python code. Python is, at a basic, technical level a particular style of using C. There is no difference. You can write stuff in C which you compile and use that from python, making it execute faster than writing the same stuff in python. Every bit of python code is compiled into a byte-code (not machine language), which is then executed, but this compilation step is left to the actual machine the code is running on, precisely to keep the python code unencumbered by platform specificity. When it comes to dependencies from other libraries: they either exist as python modules for all platforms hugin supports - then we can use them - or they don't, in which case we can either look for something else or wrap the C/C++ libraries with SWIG, just as I have wrapped most of hugin. I shan't comment further on the 'user's point of view'. If any of you have followed the discussion you know that my proposition is not to modify hugin but cleanly rewrite a new incarnation in a parallel project, code name munin. Once it's there, the users can choose which they prefer. And if it's a Linux geek thing that doesn't run on MacOS maybe it's allure will be so great that someone comes and ports it to the Mac. If not, the geeks have a tool they themselves can use happily, never mind the 'users' who can just as happily ignore it and hope that some of the techies still find it interesting to maintain 'their' program. Kay -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
