Re: Is python very slow compared to C

2006-02-12 Thread PA
On Feb 13, 2006, at 06:44, [EMAIL PROTECTED] wrote: And if we use market penetration as measure, Perl seems to be easier for people ? Perl: Shell scripts/awk/sed are not enough like programming languages. Python: Perl is a kludge. What Languages Fix http://www.paulgraham.com/fix.html

Re: Is python very slow compared to C

2006-02-12 Thread bonono
PA wrote: On Feb 13, 2006, at 06:44, [EMAIL PROTECTED] wrote: And if we use market penetration as measure, Perl seems to be easier for people ? Perl: Shell scripts/awk/sed are not enough like programming languages. Python: Perl is a kludge. What Languages Fix

Is python very slow compared to C

2006-02-11 Thread diffuser78
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans -- http://mail.python.org/mailman/listinfo/python-list

Re: Is python very slow compared to C

2006-02-11 Thread rtilley
[EMAIL PROTECTED] wrote: I have just started to learn python. Some said that its slow. Can somebody pin point the issue. It depends on what you are doing. Much of Python is just wrapped C. So many things are very fast. -- http://mail.python.org/mailman/listinfo/python-list

Re: Is python very slow compared to C

2006-02-11 Thread Robert Hicks
Most languages are slow compared to C. Python is fast enough for just about anything you want to do with it. Robert -- http://mail.python.org/mailman/listinfo/python-list

Re: Is python very slow compared to C

2006-02-11 Thread bearophileHUGS
Yes this language is very slow, but frequently this isn't a problem, because you are using fast functions/libraries written in C, or you are doing I/O bound operations. And Psyco, numeric/numarray, ShedSkin can help in some other cases (Pyrex and other solutions allow you to mix in lower level

Re: Is python very slow compared to C

2006-02-11 Thread Larry Bates
[EMAIL PROTECTED] wrote: I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans Some doesn't know what he/she/they are talking about. Generalizations like that upset me because it shows someone that has some predisposition to some other

Re: Is python very slow compared to C

2006-02-11 Thread Michael Tobis
Experienced programmers learning Python should read this: http://effbot.org/zone/python-objects.htm Try to understand the advantages of this approach, and understand its costs. Essentially, everything you do in Python (or related languages) involves resolving a name. Sometimes the number of

Re: Is python very slow compared to C

2006-02-11 Thread Steven D'Aprano
? If the computer's time is more valuable than your time, then you should be writing in assembly language. Python helps you write shorter code with fewer bugs, much quicker, than C. If you discover a specific problem that runs too slow in Python, it is possible to write a C extension to solve

Re: Is python very slow compared to C

2006-02-11 Thread Steven D'Aprano
On Sat, 11 Feb 2006 13:52:03 -0800, bearophileHUGS wrote: Yes this language is very slow, Very slow to do what, compared to what? The decay time of the tau meson? Slowness is not an absolute quantity. Slowness is relative, and comments like Python is very slow just reinforces the meme

<    1   2   3   4