Hello, I'm only curious.
Why is Python and most extension (also wxPython) not built using an
open source compiler like gcc or g++ on Windows?
I'm always wondering, why Microsoft is still supported
in that way, using VC++ 7.1, if I'm not wrong.
Ok, maybe the compiled assembler code could be better, but
this cannot be the reason, or?
It would be wonderful (from the principle) if this could be possible.
From the standpoint of open source.
What are your opinions? 7 1686
Franz Steinhaeusler <fr*****************@gmx.atwrote:
Hello, I'm only curious.
Why is Python and most extension (also wxPython) not built using an
open source compiler like gcc or g++ on Windows?
I'm always wondering, why Microsoft is still supported
in that way, using VC++ 7.1, if I'm not wrong.
Ok, maybe the compiled assembler code could be better, but
this cannot be the reason, or?
It would be wonderful (from the principle) if this could be possible.
From the standpoint of open source.
What are your opinions?
Practicality beats purity.
To maximise the interoperability of Python with other software on the
platform it makes sense to use the best supported compiler environment for
the platform.
Duncan Booth wrote:
Franz Steinhaeusler <fr*****************@gmx.atwrote:
>Hello, I'm only curious.
Why is Python and most extension (also wxPython) not built using an open source compiler like gcc or g++ on Windows?
I'm always wondering, why Microsoft is still supported in that way, using VC++ 7.1, if I'm not wrong.
Ok, maybe the compiled assembler code could be better, but this cannot be the reason, or?
It would be wonderful (from the principle) if this could be possible. From the standpoint of open source.
What are your opinions?
Practicality beats purity.
To maximise the interoperability of Python with other software on the
platform it makes sense to use the best supported compiler environment for
the platform.
Still, if one considers the many threads of people trying to get it to work
with the "free" version + other people that had to invest in VS mostly for
that (I did) / it might eventually be fair to reconsider.
+ a dll is a dll
hg
On Mon, 05 Feb 2007 12:17:48 +0100, hg <hg@nospam.orgwrote:
>Duncan Booth wrote:
>Franz Steinhaeusler <fr*****************@gmx.atwrote:
>>Hello, I'm only curious.
Why is Python and most extension (also wxPython) not built using an open source compiler like gcc or g++ on Windows?
I'm always wondering, why Microsoft is still supported in that way, using VC++ 7.1, if I'm not wrong.
Ok, maybe the compiled assembler code could be better, but this cannot be the reason, or?
It would be wonderful (from the principle) if this could be possible. From the standpoint of open source.
What are your opinions?
Practicality beats purity.
To maximise the interoperability of Python with other software on the platform it makes sense to use the best supported compiler environment for the platform.
@Duncan: Yes, you are not wrong! :)
But this is not really open source in my opinion.
Ok there is the VC++ toolkit for download.
I'm just curious, if there ever had compiled on windows using
that toolkit or even with gcc, and with gcc, whether there are problems
or/and differences in speed and run time behaviour.
> Still, if one considers the many threads of people trying to get it to work with the "free" version + other people that had to invest in VS mostly for that (I did) / it might eventually be fair to reconsider.
+ a dll is a dll
hg
@hg: that would be cool.
Franz Steinhaeusler <fr*****************@gmx.atwrote:
@Duncan: Yes, you are not wrong! :)
But this is not really open source in my opinion.
Ok there is the VC++ toolkit for download.
Which I agree totally is a real pain finding the right versions to
download.
>
I'm just curious, if there ever had compiled on windows using
that toolkit or even with gcc, and with gcc, whether there are
problems or/and differences in speed and run time behaviour.
Yes, people have compiled Python with gcc on windows. I believe it is
slightly slower than the standard release, but I would guess that may
depend on the exact versions of gcc/msc you choose to compare, and the
exact compiler options you choose (or I may even be imagining it
entirely).
As I understand it, you can use Mingw to compile extension modules which
are compatible with the standard release of Python, and of course there
is always cygwin.
But I still don't understand what difference it makes to anyone between:
an application (could be open or closed source) running on an open
source language (Python) compiled with a closed source compiler on a
closed source OS.
versus
an application (could be open or closed source) running on an open
source language (Python) compiled with an open source compiler on a
closed source OS.
at the end of the day you still have a mix of open and closed source
components. If it makes you feel better to be using an open source
compiler that's fine, but it doesn't really do anything for me.
On 6 Feb 2007 08:35:08 GMT, Duncan Booth <du**********@invalid.invalid>
wrote:
>Franz Steinhaeusler <fr*****************@gmx.atwrote:
>@Duncan: Yes, you are not wrong! :) But this is not really open source in my opinion. Ok there is the VC++ toolkit for download.
Which I agree totally is a real pain finding the right versions to download.
>> I'm just curious, if there ever had compiled on windows using that toolkit or even with gcc, and with gcc, whether there are problems or/and differences in speed and run time behaviour. Yes, people have compiled Python with gcc on windows. I believe it is slightly slower than the standard release, but I would guess that may depend on the exact versions of gcc/msc you choose to compare, and the exact compiler options you choose (or I may even be imagining it entirely).
I cannot imagine, that there is a decisive difference, especially as
in gcc, you have also a couple of options.
> As I understand it, you can use Mingw to compile extension modules which are compatible with the standard release of Python, and of course there is always cygwin.
But I still don't understand what difference it makes to anyone between:
an application (could be open or closed source) running on an open source language (Python) compiled with a closed source compiler on a closed source OS.
versus
an application (could be open or closed source) running on an open source language (Python) compiled with an open source compiler on a closed source OS.
For me it's more a issue of "principle". :)
Ok, the OS is as it is, but the "layer" is more open.
If there would be no toolkit, you have to buy (and many have bought
Visual Studio) for open source projects, and that is the point,
where I cannot make friend with me.
> at the end of the day you still have a mix of open and closed source components. If it makes you feel better to be using an open source compiler that's fine, but it doesn't really do anything for me.
Ok, I let your opinion, it is also fine with me! :)
Franz Steinhaeusler <fr*****************@gmx.atwrote:
>>Yes, people have compiled Python with gcc on windows. I believe it is slightly slower than the standard release, but I would guess that may depend on the exact versions of gcc/msc you choose to compare, and the exact compiler options you choose (or I may even be imagining it entirely).
I cannot imagine, that there is a decisive difference, especially as
in gcc, you have also a couple of options.
I did a quick comparison running pystone and taking the best of several
runs:
On one system which had the Windows Python 2.4 distribution and also
Python 2.4 installed under cygwin:
Windows Python 2.4: 46k
Cygwin Python 2.4: 41k
On another system which has a dual boot setup:
Windows Python 2.5: 43.7k
Ubuntu Python 2.5: 42.0k
So in the first case there was about a 12% improvement and in the second
case about 5% improvement using the Windows distribution.
I don't know whether the gap is closing from improvements in gcc or
whether there is an OS related difference as well. Unfortunately cygwin
doesn't appear to offer Python 2.5 yet.
On 7 Feb 2007 09:44:32 GMT, Duncan Booth <du**********@invalid.invalid>
wrote:
>Franz Steinhaeusler <fr*****************@gmx.atwrote:
>>>Yes, people have compiled Python with gcc on windows. I believe it is slightly slower than the standard release, but I would guess that may depend on the exact versions of gcc/msc you choose to compare, and the exact compiler options you choose (or I may even be imagining it entirely).
I cannot imagine, that there is a decisive difference, especially as in gcc, you have also a couple of options.
I did a quick comparison running pystone and taking the best of several runs:
On one system which had the Windows Python 2.4 distribution and also Python 2.4 installed under cygwin:
Windows Python 2.4: 46k
Cygwin Python 2.4: 41k
On another system which has a dual boot setup:
Windows Python 2.5: 43.7k
Ubuntu Python 2.5: 42.0k
So in the first case there was about a 12% improvement and in the second case about 5% improvement using the Windows distribution.
I don't know whether the gap is closing from improvements in gcc or whether there is an OS related difference as well. Unfortunately cygwin doesn't appear to offer Python 2.5 yet.
Hello Duncan, interesting test, so this little gap
don't care at all (for me).
If the difference would be say 30% or more, than
that would make a perceptible difference, I think. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Svein Ove Aas |
last post by:
Is anyone working on a python-to-native compiler?
I'd be interested in taking a look.
Come to think of it, is anyone working on a sexpr-enabled version of
Python, or anything similar? I really...
|
by: codecraig |
last post by:
Hi,
I have a question about Python. I know that it is an interpreted
language, meaning a python program is converted to binary on the fly
each time it is run, or compiled.
What would be the...
|
by: TPJ |
last post by:
Hello, I have another, probably stupid, question.
I'm working on some Python project, and I use some extensions written
in C. I do all the development on my GNU/Linux box, so my setup.py
script...
|
by: Srijit Kumar Bhadra |
last post by:
Is there any specific reason for not using MinGW to build the official
distribution of Python for Win32?
A quick Google search did not reveal the answer to my question. If a
link is available,...
|
by: robert |
last post by:
When employing complex UI libs (wx, win32ui, ..) and other extension
libs, nice "only Python stack traces" remain a myth.
Currently I'm hunting again a rare C-level crash bug of a Python based...
|
by: est |
last post by:
Hi all
I am trying to port Scribes to Windows, but I could not find a package
named dbus-python for windows. There is a windbus <http://
sourceforge.net/projects/windbus/but it not for Python,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |