SunQuest
           Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old December 22nd, 2003, 08:55 AM
ragabash ragabash is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Yuma,AZ
Posts: 11 ragabash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to ragabash Send a message via Yahoo to ragabash
Python in the 4th round

The thread on improving python got me wondering, and I wanted all of your input on it:

How is python doing vs. other languages in terms of use?

What this question ISN'T asking is how much easier to use/read/code/improve/fold into a paper pirate hat python is vs. other languages. But day to day do you think python is gaining more serious users vs. Java? vs. Perl? vs. VB? Will it ever repalce them as the business juggernaut? general purpose do it all? Newbie? (all respectively)

-rag

Reply With Quote
  #2  
Old December 22nd, 2003, 10:30 AM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,529 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 17 h 19 m 5 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
Python is picking up new users every day! This being said, sadly i dout its user base will ever be on the same scale as some of the languages pushed into the spot-light by companies like Sun and Microsoft desite there obvious flaws!!!

In some respects i think the PSF need to do the same for Python...

Mark.
__________________
programming language development: www.netytan.com Hula


Reply With Quote
  #3  
Old December 22nd, 2003, 12:35 PM
darkleaf darkleaf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: netherlands
Posts: 51 darkleaf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Here in the netherlands we have a tournament programming for students and we got python on the cd as language we could use. Shame I was late and would have never made it in time so i didn't enter.

On that cd it said python was the way to write C free. Also when I searched for a free language it was the first to turn up. I think it might become a lot more popular now, as if you're going to learn programming python shows up somewhere in the docs or in reviews you read (assuming you don't download the first thing you see and not look further)

Reply With Quote
  #4  
Old December 22nd, 2003, 06:10 PM
lazy_yogi lazy_yogi is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 325 lazy_yogi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 58 m 36 sec
Reputation Power: 6
Yea, it doesn't have the financial backing of M$ and Sun. That's a shame because it really kicks their *** in almost every way.

Although having said that, php has taken over the world, and whatever drove that should drive pythons publicity! But the main reasons for php's incredible rise is its ease of use for web scripting and since web scripting is becomming so popular among non-technical people, it's driven php deeply into the industry due to the sheer massive number of people using it. Python on the other hand ... well .. you need to be somewhat technical to understand classes and design systems in OO and the non-technical user often has problems with that.

I have to say that a python search engine like at php.net would be awesome .. that's one of the best references for any language I've seen and makes php easier to use. That and the packed forums on php everywhere on the web make it easy to get help with learning it quickly and overcomming problems.

The bottum line - python needs another angle other than being the most fun, easy, powerful language there is if its gonna make a dent in the market at a speedy rate. Without it, it'll likely get there, but much slower

Eli

edit: haha .. a s s is a banned word in this forum

Reply With Quote
  #5  
Old December 22nd, 2003, 06:34 PM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,529 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 17 h 19 m 5 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
We'll we all know Python is great for search engines.. anyone whos used google should know its Python Powered!!!

I gotta agree, a search engine for the web based docs would be sweet! Windows users now have the docs CHM format which makes them both easy to search and use so take advantage of them!

Mark.

Reply With Quote
  #6  
Old December 22nd, 2003, 09:00 PM
theperfectsoup theperfectsoup is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 35 theperfectsoup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
In my opinion, Python is positioned well to become THE scripting language most people use, most notably surpassing Perl. It won't ever take over C or C++ because compiled code will ALWAYS have its place when speed matters. How it compares to Java is a thorny issue. I must admit, I like Java better than Python in SOME respects (not Javascript, and not Java GUIs -- just Java!). But right now, Java is a stagnant language; Python just continues to grow in features and flexibility. As for C#, it's a well-designed language, borrowing many ideas from both Java and Python, but since it has only been released recently, it lacks many amenities of most programming languages (like a bignum class -- hello, MS, what were you thinking?). In time, if MS devotes enough attention to C#, and encourages development of Mono on *nix, I could see it as a serious contender to Python. But right now, Python is a good language to use, certainly with a bright future ahead of it.

Reply With Quote
  #7  
Old December 22nd, 2003, 09:19 PM
lazy_yogi lazy_yogi is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 325 lazy_yogi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 58 m 36 sec
Reputation Power: 6
Perl use is HUGE ... and won't die anytime in the near future due to legacy issues.

Python is interpreted to improve app development speed. However it more closely resembles compiled languages as far as functionality and usage goes.

Python is actually very fast. It's written in C or C++ so if you use the inbuilt libraries your code will be quite fast. And as far as algorithms go - if they're dodgy, they're slow in any language.

hmmm .. I should take a look at c# then =P sounds good.

Reply With Quote
  #8  
Old December 22nd, 2003, 11:02 PM
theperfectsoup theperfectsoup is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 35 theperfectsoup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Quote:
Originally posted by lazy_yogi
Python is actually very fast. It's written in C or C++ so if you use the inbuilt libraries your code will be quite fast. And as far as algorithms go - if they're dodgy, they're slow in any language.


Python isn't very fast, but it's fast enough for what it has to do. Don't assume that because Python is written on top of C, it has the speed of C. It's still an interpreted language. If you go into the Lib subdirectory of your Python folder you'll find plenty of Python modules written in, well, Python. Not every module goes straight to C. Is C at the base of the Python foundation? Yes, but there are many layers of abstraction between that and the programmer.

If you haven't seen it already, you should check out the Great Computer Language Shootout at http://www.bagley.org/~doug/shootout/index2.shtml. It's a comparison of the performance, memory usage, etc. of many many different programming languages across many many different benchmark tests. The matrix multiplication test is a good example why compiled languages matter. The execution times of the test are:

using gcc (GNU C Compiler): 0.07 sec
using g++ (GNU C++ Compiler): 0.10 sec
using Python: 27.80 sec
using PHP: 107.28 sec

Now I didn't come here to bash Python. I love it. But I love it for its cross-platform compatibility (including sockets and threads), lightweight GUIs (you hear that Java!?), and ability to call C programs if needed (when speed matters). It's a great language, but I don't love Python for the speed of Python itself. Sorry.

- theperfectsoup

Last edited by theperfectsoup : December 22nd, 2003 at 11:07 PM.

Reply With Quote
  #9  
Old December 22nd, 2003, 11:50 PM
lazy_yogi lazy_yogi is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 325 lazy_yogi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 58 m 36 sec
Reputation Power: 6
yea ... all valid points

Very interesting site!
wow ... didn't realise how insanely fast C was in comparison. I knew it was fast .. but whoa!
And did't know c++ was that close to C.
And surprisingly Java isn't too bad for many cases.

Intersting site. Thx

Reply With Quote
  #10  
Old December 23rd, 2003, 05:03 AM
Grim Archon's Avatar
Grim Archon Grim Archon is offline
Mini me.
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2003
Location: Cambridge, UK
Posts: 783 Grim Archon User rank is Corporal (100 - 500 Reputation Level)Grim Archon User rank is Corporal (100 - 500 Reputation Level)Grim Archon User rank is Corporal (100 - 500 Reputation Level)Grim Archon User rank is Corporal (100 - 500 Reputation Level)  Folding Points: 1488 Folding Title: Novice Folder
Time spent in forums: 3 Days 2 h 15 m 57 sec
Reputation Power: 7
Send a message via MSN to Grim Archon
With its ability to be embedded in apps I think Python will become THE language for scripting applications. Check out
www.eve-online.com/ or http://osafoundation.org/

WRT to speed - if your app does heavy crunching and sorting then a compiled langauge will always win. But as most Python gurus state - write it in Python first - if you find portions of code too slow then write a lump in C(++). 9 out of 10 times the speed is fine. I have found that just re-writting code to use a more efficient algorithm can often give big speed improvements.

And there is always NUMpy and PIL for specialist stuff.

Perl - would anyone choose to learn it? Assembler is a model of clarity in comparison. Not the originators fault though - it's just grown that way. I agree with yogi - its code base is a problem, it should be our mission to convert any Perl app into human readable form.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Python in the 4th round


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway