473,782 Members | 2,507 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft IronPython?

I came across this link today. http://tinyurl.com/9c7ta It seems
Microsoft is getting involved with Python. What do you think of it? Is
it any good? Anything to worry about?
--
Zach

Jan 3 '06
25 2050
Ray wrote:
Kay Schluehr wrote:
At least for Jython we already know from the Jython homepage that it is
the great hope of the Java platform to survive in future and far
beyond.

Yeah except that it's coming on so slow... we were doing some scripting
for our Java app and Groovy won because Jython has been in alpha for
YEARS :(


That's a hoot! Of course you can choose what language you like, but to
choose Groovy over Jython because it is more developed is mind-boggling!

Jython 2.1 has been released, stable and suitable for production use for
many years. The Groovy community was still working on the *language
definition* in November 2005 and has yet to deliver a stable final release.

Kent
Jan 4 '06 #11
On Wed, 4 Jan 2006, Kent Johnson wrote:
Ray wrote:
Kay Schluehr wrote:
At least for Jython we already know from the Jython homepage that it is
the great hope of the Java platform to survive in future and far
beyond.


Yeah except that it's coming on so slow... we were doing some scripting
for our Java app and Groovy won because Jython has been in alpha for
YEARS :(


That's a hoot! Of course you can choose what language you like, but to choose
Groovy over Jython because it is more developed is mind-boggling!

Jython 2.1 has been released, stable and suitable for production use for many
years. The Groovy community was still working on the *language definition* in
November 2005 and has yet to deliver a stable final release.


I agree 100% with the above. I've been using Jython in production for two
years now, and it's been rock-solid. A little bit outdated, yes, but you
could do a lot worse than Python 2.1, as far as feature set is concerned.
(Of course, this is not to discourage the Jython team from coming through
with a new stable release. ;)

--
.:[ dave benjamin: ramen/[spoomusic.com] ]:.
Jan 4 '06 #12
Ray
Kent Johnson wrote:
That's a hoot! Of course you can choose what language you like, but to
choose Groovy over Jython because it is more developed is mind-boggling!

Jython 2.1 has been released, stable and suitable for production use for
many years. The Groovy community was still working on the *language
definition* in November 2005 and has yet to deliver a stable final release.


Yeah, I know, I know... but I'm not the only voice in the team, mind.
If it were up to me it'd be Jython for sure...

Ray

Jan 4 '06 #13
> Oh, yeah, that's undoubtedly true. What I was referring to were things
such as using [] for generic, that doesn't exist in current CPython
does it?


I'm not en expert on the subject, but I guess that any language
implementation running on .Net should be able to at least "understand "
generics or any other feature available on this framework, because
languages are supposed to interact and use all kinds of classes and
assemblies regardless of the language they were written in.
As for using generics, I think this is not very important in python, I
guess, because it is dyamic and you don't declare types.
So writing x =List[str](), for example, doesn't buy you anything.
You're better off using a regular list: x = [].

Someone more knowledgeable please kindly correct me...

Luis

Jan 4 '06 #14
Ray
Luis M. González wrote:
I'm not en expert on the subject, but I guess that any language
implementation running on .Net should be able to at least "understand "
generics or any other feature available on this framework, because
languages are supposed to interact and use all kinds of classes and
assemblies regardless of the language they were written in.
As for using generics, I think this is not very important in python, I
guess, because it is dyamic and you don't declare types.
So writing x =List[str](), for example, doesn't buy you anything.
You're better off using a regular list: x = [].
Yes, in this List example I agree with you. I think it is better to use
the regular one.

But, say, since C# has generic now, somebody may write a generic class,
so you have to have a way to use it (unless it's like Java when you can
still do raw types--correct me if I'm wrong).

But then again, once you start using .NET class you're tied to .NET
anyway so this is not a big problem, I think--although the more
perfectionist among us might like to isolate parts of Python code that
are .NET/IP specific to make porting easier if it ever comes to that...

Someone more knowledgeable please kindly correct me...

Luis


Jan 5 '06 #15
Ray wrote:
But then again, once you start using .NET class you're tied to .NET
anyway so this is not a big problem, I think--although the more
perfectionist among us might like to isolate parts of Python code that
are .NET/IP specific to make porting easier if it ever comes to that...


That's exactly what they did with version 1.0.
For example, if you wanted to turn a string into uppercase, in previous
versions you could have done:

'hello'.upper() or 'hello'.ToUpper ()

That means, the python way and the .NET way.
But now if you want to do it the .NET way, you have to add the
statement "import clr" before.
So I guess you can isolate your coding to standard python if you want
or go forward and use all the CLR capabilities.

Jan 5 '06 #16
EP
Luis M. González wrote:
Will Microsoft hurt Python?

I think it is naive to ignore the fact that Microsoft could hurt Python,
though there may be nothing anyone can do.
How?
- create a more prevalent version of "Python" that is less Pythonic or
undermines some of the principles of the language, basically usurping
Python as we conceive it in the process;
- create an incompatible version, so that Python "portabilit y" is
dependent upon the programmer porting his code to two separate versions
("JavaScript " comes to mind);
- create a poor implementation of Python so that programmers try the MS
version first, find it lacking, and decide Python is a poor language...
tarnishing the reputation of the language and its adoption...

I'm sure there are more ways MS (or any powerful entity developing
another version of Python) could hurt Python. You have to look beyond
the freedom of the individual to choose to the context that individual
operates within.

Defenses? Maybe enforcing a trademark of "Python" as a programming
language name - if it is registered and enforceable - clearly
"IronPython plays on the Python" name (Pepsi wouldn't be allowed to sell
IronCoke, would they? without Coca Cola's permission...)
If sometime in the future, MS decides to modify the language by
creating something different, you'll have the choice to decide whether
you like it or not.
Nobody will steal Python, it is free and it will always be.
What's more, if you decide that you want to use Python on .Net and you
don't ike the official Microsoft release, you can fork it (the code is
freely available) and you can call it "MyGroovyNewLan guage" if you
want.

Right now there are other languages based and inspired in Python (Boo
for example) that run on .Net and Mono, and they are useful and have an
enthusiast comunity behind them. It's good to have many choices and
it's good to be free to choose.
I'm not too worried, but the rich and powerful can always do more with
freedom than the average person; sometimes at the expense of the average
person.
Although it's also very good to have a main implementation, lead by its
creator, who will always take care that there will be a pure and
legitimate Python for those who like it just the way it is.

Luis


Alot of very smart and/or good folks have worked to make Python the neat
language it is, and hopefully a "main", excellent version of Python will
always have this.

And if the whole world goes .Net, well, Python won't be left out
entirely, it appears.

I'd agree that meanwhile there's little reason to panic - whatever the
future brings, it seems panicking does little good, except for arms
merchants and sellers of duct tape and flashlight batteries.
Anyway, the next Microsoft is Google.

And they have Guido already.
[tongue in cheek!]
[ADVERTISEMENT]
Python Emergency Supplies Sold Here
- List Comprehensions - $12.99 per bracket
- Import this - a collectors item - on Sale today! - $95.99
- Namespaces (quantities limited) - call for quote!
[/]
Jan 6 '06 #17
EP wrote:
- create a more prevalent version of "Python" that is less Pythonic or
undermines some of the principles of the language, basically usurping
Python as we conceive it in the process...


I understand all the concerns, the evil empire and all that..
But I think nothing of this will happend.
Nobody said anything when Jim Hugunin created Jython (python for java).
What about Sun? Isn't it a big corporation? Is Java Open source?
The result of Jython is that it made python a little bit more popular,
because it's cool to leverage your skills while still "doing Java".
The same will happen with Ironpython. Many people needs to work with
..NET, because their companies use this technology or because their
customers want it, and because the market needs .NET developers.So if
you are in this situation, wouldn't you like to use Python, while still
doing .NET?

Besides, MS goal is not controlling python (or killing it). What they
want is making the CLR (.NET) an attactive and succesful framework, and
they plan to do this by supporting as many languages as possible. They
are also planning to help other developes port their languages to .Net
and they want it to be a good runtime for runing dynamic languages.

MS product is not Ironpython (or C# or VB). It's product is the CLR,
the .NET framework.
They don't care who creates or develops a language, as long as it runs
on the CLR.
And if the CLR turns out to be good and succesful, I want Python to run
on it.

What's more, I got the feeling that MS understood that they have to win
the programmers hearts in order to attract them, and they won't do this
by "stealing" what they love most.
The key of their success is in attracting programmers to their field,
not to C# or to VB.Net, but to the CLR.
Don't you think?

Luis

Jan 6 '06 #18

EP wrote:
Luis M. González wrote:
Will Microsoft hurt Python?

I think it is naive to ignore the fact that Microsoft could hurt Python,
though there may be nothing anyone can do.
How?

- create a more prevalent version of "Python" that is less Pythonic or
undermines some of the principles of the language, basically usurping
Python as we conceive it in the process;
- create an incompatible version, so that Python "portabilit y" is
dependent upon the programmer porting his code to two separate versions
("JavaScript " comes to mind);
- create a poor implementation of Python so that programmers try the MS
version first, find it lacking, and decide Python is a poor language...
tarnishing the reputation of the language and its adoption...

....
Wasn't it often said that Microsoft's strategy for dealing with
standards (and perhaps rival open source software) was
"embrace, extend, extinguish"?

Jan 6 '06 #19

"EP" <EP@zomething.c om> wrote:
Luis M. González wrote:
Will Microsoft hurt Python?

I think it is naive to ignore the fact that Microsoft could hurt Python,
though there may be nothing anyone can do.
How?

- create a more prevalent version of "Python" that is less Pythonic or
undermines some of the principles of the language, basically usurping
Python as we conceive it in the process;
- create an incompatible version, so that Python "portabilit y" is
dependent upon the programmer porting his code to two separate versions
("JavaScript " comes to mind);
- create a poor implementation of Python so that programmers try the MS
version first, find it lacking, and decide Python is a poor language...
tarnishing the reputation of the language and its adoption...

....
Wasn't it often said that Microsoft's strategy for dealing with
standards
(and perhaps rival open source software?) was "embrace, extend,
extinguish"?

Jan 6 '06 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

82
3437
by: Neuruss | last post by:
IronPython is currently at a pre-alpha stage suitable for experimentation but not for serious development work. http://www.ironpython.com
3
5362
by: Carl Johan Rehn | last post by:
What is the difference between CPython, Python for .NET, and IronPython? For example, if I'm running IronPython, can I access modules such as Numeric and numarray? As I understand it, interoperability with C# and .NET works in both directions with IronPython, but CPython modules cannot be imported, or? With Python for .NET I can import the .NET Framework and continue using CPython modules, or?
3
2519
by: Sanghyeon Seo | last post by:
I took some time to write this HOWTO: http://sparcs.kaist.ac.kr/~tinuviel/fepy/howto/simplehttpserver-ironpython-mono-howto.html IronPython seems to get much less interest than it deserves. This howto shows how to setup IronPython to use with Mono on Linux and how to rebuild IronPython from source. It also discusses various patches to current problems. It also shows that IronPython can run SimpleHTTPServer today, not a trivial...
2
2216
by: tkpmep | last post by:
I'm looking forward to the release IronPython, primarily for its IDE. I currently use scipy and pyExcelerator to crunch numbers and write them to Excel: does can these packages be used with IronPython as well? Thanks in advance Thomas Philips
9
2136
by: Claudio Grondi | last post by:
(just wanted to share my experience with IronPython 1.0) The context: C:\IronPythonipy.exe IronPython 1.0.60816 on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. vs. C:\Python24python.exe Python 2.4.2 (#67, Sep 28 2005, 12:41:11) on win32
2
1465
by: edfialk | last post by:
Hi all, I'm pretty much totally new to IronPython and have come to the point that I need an interface to interact with a co-worker's code, but I can't seem to find any documents or discussion on syntax for writing an interface. Does anyone know of a link that talks about interfaces in IronPython or feel like explaining one too me? :) Any advice would be greatly appreciated. Thanks.
28
2584
by: sturlamolden | last post by:
On Monday Microsoft announced a new runtime for dynamic languages, which they call "DLR". It sits on top of the conventional .NET runtime (CLR) and provides services for dynamically typed languages like Python or Lisp (thus the cross-posting). Apparently is is distributed under a BSD-like open-source license. I am curious to know how it performs in comparison to CPython and an efficient compiled Lisp like CMUCL. Speed is a major problem...
2
5634
by: Troels Thomsen | last post by:
Hello , When an exeption occurs in a IronPython executet script, and I print the sys.exc , i get something ugly like the example below. How can I get the fileName and line number? Thx in advance Troels
22
3987
by: dmitrey | last post by:
Hi all, the url http://torquedev.blogspot.com/2008/02/changes-in-air.html (blog of a game developers) says IronPython is faster than CPython in 1.6 times. Is it really true? If yes, what are IronPython drawbacks vs CPython? And is it possible to use IronPython in Linux? D.
0
9641
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10146
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10080
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9944
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.