LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-01-2012, 04:57 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Thumbs down Why is Python 3 in so slow development?


It was released in 2008, about 4 years ago. And still programmers cannot fully switch to 3000 because it lacks so many libraries. I often read complains about how one cannot switch to 3000 because he uses some libs of v2 and they are not in 3000 yet and noone knows when they will be there. Pymysql is available only for *nix but not Windows and that is very commonly used thing - working with databases. Everytime I think about writing some app for people it works this way: I code it in Linux and then they use it in Windows. And because of this it cannot happen. I am always forced to go back to Python 2. But Python 3 is so much better as a language than P2. After digging into P3 I don't even want to deal with P2 any more.
 
Old 11-01-2012, 05:07 AM   #2
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
You can find infos on this page.
Since libraries are often third party's it's difficult to answer but it's easy to figure out that most of developers are still tied to Python 2.x and don't want to or cannot improve their skills.
 
Old 11-01-2012, 11:29 AM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Here's what amounts to an official answer:

http://programmers.stackexchange.com/a/63935/16764
 
1 members found this post helpful.
Old 11-02-2012, 12:44 PM   #4
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
The politically incorrect answer is: because Python developers care about production much less that Perl ones.

The transition from Perl 4 to Perl 5 was pretty smooth. I once read on Slashdot that Perl developers have a vast regression test suite ("smoke tests" IIRC), and that each Perl release is validated by the suite in order not to break existing code. The same post claimed that in Python world breakages are quite often.
 
Old 11-02-2012, 01:04 PM   #5
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
And the Perl 5 to 6 transition might be finished after we're all dead.
 
Old 11-02-2012, 01:17 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by Sergei Steshenko View Post
The politically incorrect answer is: because Python developers care about production much less that Perl ones.

The transition from Perl 4 to Perl 5 was pretty smooth. I once read on Slashdot that Perl developers have a vast regression test suite ("smoke tests" IIRC), and that each Perl release is validated by the suite in order not to break existing code. The same post claimed that in Python world breakages are quite often.
Python 3 isn't intended to be backward compatible. Yes, this is a factor.

Last edited by dugan; 11-02-2012 at 01:22 PM.
 
Old 11-02-2012, 01:18 PM   #7
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by linosaurusroot View Post
And the Perl 5 to 6 transition might be finished after we're all dead.
That is correct. But from the getgo Perl 6 wasn't meant to be backward compatible with Perl 5. OTOH. as I'm checking Perl 6 status, I see the Perl 5 compatibility layer growing wider/thicker.

I don't count on Perl 6; Perl 5 is far from dead, and new modules with nice language features appear. For example, I recently discovered Package::Generator, Sub::Exporter.

Still, Python 2 -> Python 3 transition is like Perl 4 -> Perl 5 transition. I.e. Python 3 finally caught up with Perl (I mean https://en.wikipedia.org/wiki/Closur...nce%29#Example - closures were introduced in Perl 5).

Last edited by Sergei Steshenko; 11-02-2012 at 02:47 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Qt development setup question pajamabama Programming 4 06-03-2006 08:48 PM
What other tools do you suggest for python development? alesz Linux - Software 1 10-18-2005 08:26 PM
No python 2.3 development libraries RPM a monkey Mandriva 3 02-24-2005 09:12 PM
python development (python.h) zupermanz Mandriva 6 02-09-2005 03:49 AM
Python Development Environment? mrgrieves Programming 5 07-09-2004 09:47 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration