Linked by Eugenia Loli on Sat 15th Jul 2006 22:45 UTC
.NET (dotGNU too) Jeff Cogswell writes: "I'm about to make a confession. Even though I've written several books and articles about C++, I have a secret: C++ isn't my favorite language. I have lots of languages that I use, each one for different purposes. But the language I consider my all-time favorite is Python."
Thread beginning with comment 143459
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: (Iron)Python
by PlatformAgnostic on Sun 16th Jul 2006 07:39 UTC in reply to "RE: (Iron)Python"
PlatformAgnostic
Member since:
2006-01-02

It comes with the standard suite of python regression tests and pybenches. It passes most of them too!

Of course, IP is not python in the normal sense because you can use it to call into arbitrary CLR classes and even use COM interop to call out into totally foreign code. You can't do this in CPython, so if you use these features, then you're not going to be portable.

But, as I understand it, Python is meant to be glue code for binding things together and for doing relatively "scripty" things. If the whole goal of the langauge is for integrating platforms, who do you blame if the code you write isn't portable?

Reply Parent Score: 2

RE[3]: (Iron)Python
by Luke McCarthy on Sun 16th Jul 2006 11:41 in reply to "RE[2]: (Iron)Python"
Luke McCarthy Member since:
2005-07-06

"...even use COM interop to call out into totally foreign code. You can't do this in CPython..."

Nitpick, you can do COM in CPython with the win32 extensions module. I recently wrote a python script which uses an Excel COM object to pull out data from a spreadsheet.

Reply Parent Score: 1

RE[3]: (Iron)Python
by saxiyn on Sun 16th Jul 2006 11:56 in reply to "RE[2]: (Iron)Python"
saxiyn Member since:
2005-07-08

Of course, IronPython is not Python in the normal sense because you can use it to call into arbitrary CLR classes. (snip) You can't do this in CPython, so if you use these features, then you're not going to be portable.

Well, http://pythonnet.sourceforge.net/ allows calling arbitrary CLR classes from CPython. Also, Python for .NET developers are trying to keep the CLR interface compatible with IronPython.

Reply Parent Score: 2