w" because 60
> >>million people is a smaller number than China or India's one billion plus.
> >>Doing so merely reinforces the premature optimizer's message that any
> >>language that isn't C (and sometimes Lisp) is "not fast enough".
> >
s a smaller number than China or India's one billion plus.
>>Doing so merely reinforces the premature optimizer's message that any
>>language that isn't C (and sometimes Lisp) is "not fast enough".
>
> There was some context: Is python very slow compare
to describe the population of the UK as "very low" because 60
> million people is a smaller number than China or India's one billion plus.
> Doing so merely reinforces the premature optimizer's message that any
> language that isn't C (and sometimes Lisp) is &qu
In article <[EMAIL PROTECTED]>,
Alex Martelli <[EMAIL PROTECTED]> wrote:
.
.
.
>Javascript has leveraged its early advantage in the Netscape browser to
>become the only "universally available" language for client-side "in the
>
<[EMAIL PROTECTED]> wrote:
...
> The "=" operator in Python
...doesn't exist, since '=' is not an operator in Python (just like it
isn't, say, in VB). But, OK, you mean "assignment".
> is also quite different from many language
> people had experience like C
Yes, but quite similar to assig
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"
> http:
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"
> http://www
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
Ch
Steven D'Aprano wrote:
> [EMAIL PROTECTED] wrote:
>
> > I can speak the same about Python if I view it from a prototype based
> > perspective, where one get them for free in Lua but need to implement
> > them in Python.
>
> Sure. And if you need prototypes, then all else being
> equal that would b
Steven D'Aprano wrote:
> [EMAIL PROTECTED] wrote:
>
>
>>I can speak the same about Python if I view it from a prototype based
>>perspective, where one get them for free in Lua but need to implement
>>them in Python.
>
>
> Sure. And if you need prototypes, then all else being
> equal that would
[EMAIL PROTECTED] wrote:
> I can speak the same about Python if I view it from a prototype based
> perspective, where one get them for free in Lua but need to implement
> them in Python.
Sure. And if you need prototypes, then all else being
equal that would be a disadvantage of Python compared
Steven D'Aprano wrote:
> > Programming in Lua
> > Object-Oriented Programming
> > http://www.lua.org/pil/16.html
>
> Did you actually bother to read the page you linked to? It describes how
> you can emulate object-like behaviour for Lua tables. The following page
> is even more explicit: "Lua doe
That's why Microsoft is bringing IronPython on board to have something
more decent available with .NET
--
http://mail.python.org/mailman/listinfo/python-list
> Read his post again. He didn't ask a specific question at all, and he
> certainly didn't mention execution speed.
agreed
> He asked a vague, meaningless question about whether Python was "slow
> compared to C".
No, that is both wrong and gratuitously harsh. He had heard vague
meaningless com
On Feb 12, 2006, at 18:18, Steven D'Aprano wrote:
> Did you actually bother to read the page you linked to?
I did 8^)
"Lua — Story of O"
http://alt.textdrive.com/lua/19/lua-story-of-o
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/
--
http://mail.python.org/mailman/listinfo/python-
On Sun, 12 Feb 2006 17:44:50 +0100, PA wrote:
> On Feb 12, 2006, at 16:11, Steven D'Aprano wrote:
>
>> availability of skilled programmers is absolutely critical for the use
>> of a language.
>
> By that measure, we should all be using Java, no?
I said nothing about whether Lua or Ocaml were g
On Feb 12, 2006, at 16:11, Steven D'Aprano wrote:
> availability of skilled programmers is absolutely critical for the use
> of a language.
By that measure, we should all be using Java, no?
"TIOBE Programming Community Index"
http://www.tiobe.com/tpci.htm
> By comparison, even Forth gives 13
Thnaks everybody for their comments. I am an average programmer in C
and wanted to make a hop to python and was just trying to clear my mind
with the confusions. Bit I guess I will go ahead and spend some time
with python and do my next project in python.
thanks for the feedback
--
http://mail.
Steven D'Aprano wrote:
> Lua appears to be *too* lightweight, without even classes or inheritance,
> and a single data type where Python has dicts, sets, tuples and lists.
>
I believe Lua does have features to implement class/inheritance.
As for the distinction of dict/set/tuple/list or one singl
On Sun, 12 Feb 2006 06:20:10 -0800, bonono wrote:
>
> Steven D'Aprano wrote:
>> But, in general, more often than not, Python is fast enough. The extra
>> value of using something like Lua or Ocaml or even C is just not enough to
>> make up for the disadvantages of using those languages.
>>
> What
In article <[EMAIL PROTECTED]>,
Luis M. González <[EMAIL PROTECTED]> wrote:
.
.
.
>> 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,
Steven D'Aprano wrote:
> But, in general, more often than not, Python is fast enough. The extra
> value of using something like Lua or Ocaml or even C is just not enough to
> make up for the disadvantages of using those languages.
>
What is the disavantage of Lua comparing with Python ? Or Ocaml
c
On Sun, 12 Feb 2006 05:31:28 -0800, =?iso-8859-1?q?Luis_M._Gonz=E1lez?=
wrote:
> You are right, we all know that, but I think the person who asked this
> question doesn't want to hear a sales pitch. He asked a very specific
> question regarding execution speed.
Read his post again. He didn't ask
On Sun, 12 Feb 2006 03:03:20 -0800, bearophileHUGS wrote:
> Steven D'Aprano>Very slow to do what, compared to what? The decay time
> of the tau meson?<
>
> Probably every answer I can give you is wrong for you, so answering is
> almost useless...
We do actually agree. You did explain why the sp
Felipe Almeida Lessa <[EMAIL PROTECTED]>:
> In the case of Python, as well as Java, the language has the same
> name as the framework, and this may have lead you to mistake me.
Not really, in either case. There's Python for both .NET and for the
Java VM.
--
Björn Lindström <[EMAIL PROTECTED]>
S
Steven D'Aprano wrote:
> What is slow? Slow compared to what? Would you prefer to spend three days
> writing a program that will run in twenty milliseconds, or three hours
> writing the same program which runs in eighty milliseconds? Is the
> computer's execution time more important than your deve
Em Dom, 2006-02-12 às 04:33 -0800, [EMAIL PROTECTED] escreveu:
> Felipe Almeida Lessa wrote:
> > Em Dom, 2006-02-12 às 03:20 -0800, [EMAIL PROTECTED] escreveu:
> > > However, to me, the strength of python is the batteries that is
> > > included(and there are more and more coming).
> >
> > So .NET i
Felipe Almeida Lessa wrote:
> Em Dom, 2006-02-12 às 03:20 -0800, [EMAIL PROTECTED] escreveu:
> > However, to me, the strength of python is the batteries that is
> > included(and there are more and more coming).
>
> So .NET is as good as Python? Hmmm... I think the language itself is the
> best par
[EMAIL PROTECTED] napisał(a):
> I have just started to learn python. Some said that its slow. Can
> somebody pin point the issue.
So what? If you want fast code, go with assembly.
--
Jarek Zgoda
http://jpa.berlios.de/
--
http://mail.python.org/mailman/listinfo/python-list
Em Dom, 2006-02-12 às 03:20 -0800, [EMAIL PROTECTED] escreveu:
> However, to me, the strength of python is the batteries that is
> included(and there are more and more coming).
So .NET is as good as Python? Hmmm... I think the language itself is the
best part of Python, its library is just a compl
Em Dom, 2006-02-12 às 03:03 -0800, [EMAIL PROTECTED] escreveu:
> Probably every answer I can give you is wrong for you, so answering is
> almost useless... In this thread we have already given the most
> pertinent answers to the original question from Diffuse.
> I can show you this page, but I thin
[EMAIL PROTECTED] wrote:
> Steven D'Aprano>Very slow to do what, compared to what? The decay time
> of the tau meson?<
>
> Probably every answer I can give you is wrong for you, so answering is
> almost useless... In this thread we have already given the most
> pertinent answers to the original qu
Steven D'Aprano>Very slow to do what, compared to what? The decay time
of the tau meson?<
Probably every answer I can give you is wrong for you, so answering is
almost useless... In this thread we have already given the most
pertinent answers to the original question from Diffuse.
I can show you t
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 that
On Sat, 11 Feb 2006 12:49:32 -0800, diffuser78 wrote:
> I have just started to learn python. Some said that its slow.
No, you can learn the basics of Python is only a few hours, and become
very proficient at it in days or weeks. It is much faster to learn Python
than to learn C.
> Can somebody
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 dict
[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 l
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 lang
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
[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
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
41 matches
Mail list logo