Re: python response slow when running external DLL

2015-12-01 Thread jfong
Peter Otten at 2015/12/1 UTC+8 7:01:55PM wrote: > While the var_status.set() invoked from the second thread modifies some > internal data the main thread could kick in and modify (parts of) that same > data, thus bringing tkinter into an broken state. A simple example that > demonstrates the

Re: python response slow when running external DLL

2015-12-01 Thread Peter Otten
jf...@ms4.hinet.net wrote: > Peter Otten at 2015/11/28 UTC+8 6:14:09PM wrote: >> No, the point of both recipes is that tkinter operations are only ever >> invoked from the main thread. The main thread has polling code that >> repeatedly looks if there are results from the helper thread. As far I

Re: python response slow when running external DLL

2015-11-30 Thread jfong
jf...@ms4.hinet.net at 2015/11/29 UTC+8 10:55:28AM wrote: > > > . > > > . > > > #do the rest > > > var_status.set('Download...') > > > _thread.start_new_thread(td_download, ()) #must use threading > > > > > > def td_download(): > > > result = mydll.SayHello() > >

Re: python response slow when running external DLL

2015-11-28 Thread Laura Creighton
In a message of Sat, 28 Nov 2015 11:13:38 +0100, Peter Otten writes: >jf...@ms4.hinet.net wrote: >> Using thread is obviously more logical. I think my mistake was the "while >> busy: pass" loop which makes no sense because it blocks the main thread, >> just as the time.sleep() does. That's why in

Re: python response slow when running external DLL

2015-11-28 Thread Peter Otten
jf...@ms4.hinet.net wrote: > Peter Otten at 2015/11/27 UTC+8 8:20:54PM wrote: > >> Quick-fix example: >> def download(): >> var.set("Starting download...") >> root.update_idletasks() >> time.sleep(3) >> var.set("... done") > > Thanks, Peter, The update_idletasks() works. In my

Re: python response slow when running external DLL

2015-11-28 Thread jfong
Peter Otten at 2015/11/28 UTC+8 6:14:09PM wrote: > No, the point of both recipes is that tkinter operations are only ever > invoked from the main thread. The main thread has polling code that > repeatedly looks if there are results from the helper thread. As far I > understand the polling

Re: python response slow when running external DLL

2015-11-28 Thread jfong
Laura Creighton at 2015/11/28 UTC+8 6:52:25PM wrote: > I never saw the reply that Peter is replying to. > The threading module constructs a higher level interface on top of the > low level thread module. Thus it is the preferred way to go for > standard Python code -- and even Fredrik's recipe

Re: python response slow when running external DLL

2015-11-27 Thread jfong
Peter Otten at 2015/11/27 UTC+8 5:19:17 PM wrote: Hi! Peter, thanks for your prompt reply. > What does var_status.set() do? If it writes to stdout you may just need to > flush(). var_status is a StringVar which binds to a lable's textvariable. I use this label as the status bar to show

Re: python response slow when running external DLL

2015-11-27 Thread Laura Creighton
In a message of Fri, 27 Nov 2015 13:20:03 +0100, Peter Otten writes: >A cleaner solution can indeed involve threads; you might adapt the approach >from (Python 2 code). But it is probably better to use threading

Re: python response slow when running external DLL

2015-11-27 Thread Peter Otten
jf...@ms4.hinet.net wrote: > Peter Otten at 2015/11/27 UTC+8 5:19:17 PM wrote: > > Hi! Peter, thanks for your prompt reply. > >> What does var_status.set() do? If it writes to stdout you may just need >> to flush(). > >var_status is a StringVar which binds to a lable's textvariable. I use

Re: python response slow when running external DLL

2015-11-27 Thread jfong
Peter Otten at 2015/11/27 UTC+8 8:20:54PM wrote: > Quick-fix example: > def download(): > var.set("Starting download...") > root.update_idletasks() > time.sleep(3) > var.set("... done") Thanks, Peter, The update_idletasks() works. In my trivial program it's easy to apply for

Re: python response slow when running external DLL

2015-11-27 Thread Peter Otten
jf...@ms4.hinet.net wrote: > I am new to Python. As an exercise of it, I try to port a program which > was written more than 10 years ago. This program use the Borland C++ > Builder as its GUI front end and a DLL does the real work(it will takes a > few seconds to complete). I saw a strange

python response slow when running external DLL

2015-11-26 Thread jfong
I am new to Python. As an exercise of it, I try to port a program which was written more than 10 years ago. This program use the Borland C++ Builder as its GUI front end and a DLL does the real work(it will takes a few seconds to complete). I saw a strange phenomenon in the following codes. The

embedded python 2.7.1 slow startup

2011-03-08 Thread bruce bushby
Hi I've been playing with running python on embedded linux. I thought I would run some straces to see how the install went when I noticed python attempts to open loads of files that don't exist.is there a way to prevent these open attemptsthey're responsible for 40% of my scripts

Re: embedded python 2.7.1 slow startup

2011-03-08 Thread Kushal Kumaran
On Tue, Mar 8, 2011 at 2:36 PM, bruce bushby bruce.bus...@gmail.com wrote: Hi I've been playing with running python on embedded linux. I thought I would run some straces to see how the install went when I noticed python attempts to open loads of files that don't exist.is there a way to

Re: embedded python 2.7.1 slow startup

2011-03-08 Thread Terry Reedy
On 3/8/2011 4:06 AM, bruce bushby wrote: Hi I've been playing with running python on embedded linux. I thought I would run some straces to see how the install went when I noticed python attempts to open loads of files that don't exist.is there a way to prevent these open attemptsthey're

Re: Python is slow?

2009-02-15 Thread José Matos
On Monday 06 October 2008 00:01:50 Lawrence D'Oliveiro wrote: Not listed as one http://www.fsf.org/licensing/licenses/index_html/view?searchterm=license. Look further http://directory.fsf.org/project/gnuplot/ -- José Abílio -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.0 slow file IO

2009-02-06 Thread thomasvang...@gmail.com
Thanks a lot for all the responses. I'll move back to Python 2.5 for compatibility with SciPY and some other third party packages. I'll leave the compilation process for some other day, for now I'm a happy user, mayve In the future I would like to contribute to the developmental process.. --

Python 3.0 slow file IO

2009-02-05 Thread thomasvang...@gmail.com
I just recently learned python, I'm using it mainly to process huge 5GB txt files of ASCII information about DNA. I've decided to learn 3.0, but maybe I need to step back to 2.6? I'm getting exceedingly frustrated by the slow file IO behaviour of python 3.0. I know that a bug-report was submitted

Re: Python 3.0 slow file IO

2009-02-05 Thread Ulrich Eckhardt
thomasvang...@gmail.com wrote: C:\python30 patch -p0 fileio_buffer.patch The patch command is not recognized.. You need the 'patch' program first. Further, you will need a C compiler. If you don't know how to compile from sources, I would postpone patching sources to after learning that.

Re: Python 3.0 slow file IO

2009-02-05 Thread Christian Heimes
thomasvang...@gmail.com schrieb: I just recently learned python, I'm using it mainly to process huge 5GB txt files of ASCII information about DNA. I've decided to learn 3.0, but maybe I need to step back to 2.6? I'm getting exceedingly frustrated by the slow file IO behaviour of python 3.0.

Re: Python 3.0 slow file IO

2009-02-05 Thread rdmurray
Quoth Christian Heimes li...@cheimes.de: thomasvang...@gmail.com schrieb: I just recently learned python, I'm using it mainly to process huge 5GB txt files of ASCII information about DNA. I've decided to learn 3.0, but maybe I need to step back to 2.6? I'm getting exceedingly

Re: Python is slow

2008-12-22 Thread Lou Pecora
In article mailman.5967.1229898197.3487.python-l...@python.org, James Mills prolo...@shortcircuit.net.au wrote: In case anyone is not aware, Python is also used for heavy scientific computational problems, games such as Civilisation and others, and I believe (correct me if Im wrong) it's

Re: Python is slow

2008-12-22 Thread cm_gui
such as Civilisation and others, and I believe (correct me if Im wrong) it's also used by NASA. --JamesMills i am referring mainly to Python for web applications. Python is slow. Python has become very popular in scientific computation.  You'll find it in use lots of places (universities, national

Re: Python is slow

2008-12-22 Thread Luis M . González
On Dec 22, 3:42 pm, cm_gui cmg...@gmail.com wrote: Python is slow. Haven't you said that already? Well, you did it so many times that you convinced me... I'll tell the Google folks that they are a bunch of ignorant fools for choosing python. That's why their business is doing that bad

Re: Python is slow

2008-12-22 Thread James Mills
On Tue, Dec 23, 2008 at 4:42 AM, cm_gui cmg...@gmail.com wrote: i am referring mainly to Python for web applications. Python is slow. Please just go away. You are making an embarrassment of yourself. --JamesMills -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-21 Thread Marc 'BlackJack' Rintsch
On Sat, 20 Dec 2008 14:18:40 -0800, cm_gui wrote: Seriously cm_gui, you're a fool. Python is not slow. haha, getting hostile? python fans sure are a nasty crowd. Python is SLOW. when i have the time, i will elaborate on this. You are not fast enough to elaborate on Python's slowness

Re: Python is slow

2008-12-21 Thread MRAB
Marc 'BlackJack' Rintsch wrote: On Sat, 20 Dec 2008 14:18:40 -0800, cm_gui wrote: Seriously cm_gui, you're a fool. Python is not slow. haha, getting hostile? python fans sure are a nasty crowd. Python is SLOW. when i have the time, i will elaborate on this. You are not fast enough

Re: Python is slow

2008-12-21 Thread Krishnakant
a fool. Python is not slow. haha, getting hostile? python fans sure are a nasty crowd. Python is SLOW. when i have the time, i will elaborate on this. You are not fast enough to elaborate on Python's slowness!? :-) cm_gui is slow! Ciao, Marc 'BlackJack' Rintsch

Re: Python is slow

2008-12-21 Thread r
RTFM, use as much python code and optimize with C where needed, problem solved! -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-21 Thread Luis M . González
On Dec 21, 2:34 pm, r rt8...@gmail.com wrote: RTFM, use as much python code and optimize with C where needed, problem solved! That's true if your *really* need C's extra speed. Most of the times, a better algorithm or psyco (or shedskin) can help without having to use any other language. This

Re: Python is slow

2008-12-21 Thread r
Could not have said it better myself Luis, i stay as far away from C as i can. But there are usage cases for it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-21 Thread James Mills
On Mon, Dec 22, 2008 at 4:47 AM, r rt8...@gmail.com wrote: Could not have said it better myself Luis, i stay as far away from C as i can. But there are usage cases for it. If you can think of 1 typical common case I'll reward you with praise! :) By the way, by common and typical I mean

Re: Python is slow

2008-12-20 Thread cm_gui
Seriously cm_gui, you're a fool. Python is not slow. --JamesMills haha, getting hostile? python fans sure are a nasty crowd. Python is SLOW. when i have the time, i will elaborate on this. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-20 Thread Steve Holden
cm_gui wrote: Seriously cm_gui, you're a fool. Python is not slow. --JamesMills haha, getting hostile? python fans sure are a nasty crowd. Python is SLOW. Two lies in one posting! when i have the time, i will elaborate on this. Save your time, go somewhere else. Nobody here

Re: Python is slow

2008-12-17 Thread RadicalEd
On Dec 10, 1:42 pm, cm_gui cmg...@gmail.com wrote: http://blog.kowalczyk.info/blog/2008/07/05/why-google-should-sponsor-... I fully agree with Krzysztof Kowalczyk . Can't they build a faster VM for Python since they love the language so much? Python is SLOW.    And I am not comparing

Re: Python is slow

2008-12-16 Thread Craig Allen
On Dec 14, 6:38 pm, cm_gui cmg...@gmail.com wrote: hahaha, do you know how much money they are spending on hardware to make youtube.com fast??? By the way... I know of a very slow Python site called YouTube.com. In fact, it is so slow that nobody ever uses it. less than they'd spend

Re: Python is slow

2008-12-16 Thread r
On Dec 15, 7:15 am, Luis M. González luis...@gmail.com wrote: On Dec 15, 1:38 am, cm_gui cmg...@gmail.com wrote: hahaha, do you know how much money they are spending on hardware to make youtube.com fast??? By the way... I know of a very slow Python site called YouTube.com. In fact

Re: Python is slow

2008-12-16 Thread James Mills
n Wed, Dec 17, 2008 at 8:24 AM, r rt8...@gmail.com wrote: What kind of performance problem have you find in python that makes you so unhappy? What are you going to do with all the extra speed provided by c++ (a Hello World! ?)... Still no reply from cm_gui, he must have googled C hello world

Re: Python is slow

2008-12-16 Thread Stef Mientki
r wrote: On Dec 15, 7:15 am, Luis M. González luis...@gmail.com wrote: On Dec 15, 1:38 am, cm_gui cmg...@gmail.com wrote: hahaha, do you know how much money they are spending on hardware to make youtube.com fast??? By the way... I know of a very slow Python site called

Re: Python is slow

2008-12-16 Thread r
What about all the crap you had to go through just to get output? Python wins PS. cm_gui try this piece of code print 'hello world'.replace('world', 'idiot') -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-16 Thread James Mills
On Wed, Dec 17, 2008 at 9:08 AM, r rt8...@gmail.com wrote: What about all the crap you had to go through just to get output? Python wins Yes I can't say I really enjoy writing C (at all!) _except_ in the case where I may need to optimise some heavy computation. But then again with multi-core

Re: Python is slow

2008-12-16 Thread r
On Dec 16, 5:47 pm, James Mills prolo...@shortcircuit.net.au wrote: On Wed, Dec 17, 2008 at 9:08 AM, r rt8...@gmail.com wrote: What about all the crap you had to go through just to get output? Python wins Yes I can't say I really enjoy writing C (at all!) _except_ in the case where I may

Re: Python is slow

2008-12-15 Thread Steven D'Aprano
On Sun, 14 Dec 2008 20:38:58 -0800, cm_gui wrote: By the way... I know of a very slow Python site called YouTube.com. In fact, it is so slow that nobody ever uses it. hahaha, do you know how much money they are spending on hardware to make youtube.com fast??? Oooh, I know! ONE MILLION

Re: Python is slow

2008-12-15 Thread James Mills
On Mon, Dec 15, 2008 at 5:26 PM, Andreas Kostyrka andr...@kostyrka.org wrote: So to summarize, Python is fast enough for even demanding stuff, and when done correctly even number crunching or binary parsing huge files or possible in competitive speeds. But you sometime need a developer that

Re: Python is slow

2008-12-15 Thread George Sakkis
On Dec 15, 8:15 am, Luis M. González luis...@gmail.com wrote: On Dec 15, 1:38 am, cm_gui cmg...@gmail.com wrote: hahaha, do you know how much money they are spending on hardware to make youtube.com fast??? By the way... I know of a very slow Python site called YouTube.com. In fact

Re: Python is slow

2008-12-15 Thread Luis M . González
On Dec 15, 1:38 am, cm_gui cmg...@gmail.com wrote: hahaha, do you know how much money they are spending on hardware to make youtube.com fast??? By the way... I know of a very slow Python site called YouTube.com. In fact, it is so slow that nobody ever uses it. Buddy, just stop whining

Re: Python is slow

2008-12-15 Thread Tomasz Rola
On Fri, 12 Dec 2008, bearophileh...@lycos.com wrote: In the next years people that use low-level languages like C may need to invent a new language fitter for multi-core CPUs, able to be used on GPUs too (see the OpenCL), less error-prone than C, able to use the CPU vector instructions

Re: Python is slow

2008-12-14 Thread cm_gui
hahaha, do you know how much money they are spending on hardware to make youtube.com fast??? By the way... I know of a very slow Python site called YouTube.com. In fact, it is so slow that nobody ever uses it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-14 Thread Benjamin Kaplan
for handling the intense traffic that YouTube gets, not for speeding up the site. By the way... I know of a very slow Python site called YouTube.com. In fact, it is so slow that nobody ever uses it. -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo

Re: Python is slow

2008-12-14 Thread James Mills
cheaper to have the programmers write C code. And the hardware is more for handling the intense traffic that YouTube gets, not for speeding up the site. Seriously cm_gui, you're a fool. Python is not slow. --JamesMills -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-14 Thread James Mills
to make youtube.com fast??? Obviously not enough to get to the point where it's cheaper to have the programmers write C code. And the hardware is more for handling the intense traffic that YouTube gets, not for speeding up the site. Seriously cm_gui, you're a fool. Python is not slow. And I

Re: Python is slow

2008-12-14 Thread Andreas Kostyrka
. But you sometime need a developer that can wield the tool with a certain experience, and not a stupid rookie that whines that his tool does not make his O(n**n) algorithm automatically blazing fast. Andreas By the way... I know of a very slow Python site called YouTube.com. In fact

Re: Python is slow

2008-12-13 Thread Isaac Gouy
On Dec 12, 6:58 am, bearophileh...@lycos.com wrote: sturlamolden: On a recent benchmark Java 6 -server beats C compiled by GCC 4.2.3 And most of that magic comes from an implementation of a dynamically typed language (Smalltalk). [...]

Re: Python is slow

2008-12-13 Thread Isaac Gouy
On Dec 12, 11:41 am, Bruno Desthuilliers bdesth.quelquech...@free.quelquepart.fr wrote: sturlamolden a écrit : (snip) Creating a fast implementation of a dynamic language is almost rocket science. But it has been done. There is Stronghold, the fastest version of Smalltalk known to man, on

Re: Python is slow

2008-12-13 Thread sturlamolden
sites, it couldn’t be the web hosting.   Also, Zope/Plone is even slower. Python is slow. Very slow. By the way... I know of a very slow Python site called YouTube.com. In fact, it is so slow that nobody ever uses it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-13 Thread Benjamin Kaplan
or the server which is slow — because when so many Python sites are slower than PHP sites, it couldn't be the web hosting. Also, Zope/Plone is even slower. Python is slow. Very slow. By the way... I know of a very slow Python site called YouTube.com. In fact, it is so slow that nobody ever

Re: Python is slow

2008-12-12 Thread Marco Mariani
Giampaolo Rodola' wrote: The real (and still unsolved) problem with PyPy is the installation which requires something like a dozen of third-party packages to be installed. Unfortunately it seems there are no plans yet for releasing any Windows/Linux/Mac installer in the near future. I'm not

Re: Python is slow

2008-12-12 Thread sturlamolden
On Dec 11, 4:25 am, Carl Banks pavlovevide...@gmail.com wrote: cm_gui is TROLL. And I am not compring it with bots like Aaron Castironpi Brody. cm_gui is even troller than Xah Lee! Sure he is a troll, but he also have a point. Python is slower than it needs to be. Creating a fast

Re: Python is slow

2008-12-12 Thread sturlamolden
On Dec 12, 2:29 pm, sturlamolden sturlamol...@yahoo.no wrote: Creating a fast implementation of a dynamic language is almost rocket science. But it has been done. There is Stronghold, I meant of course Strongtalk... -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-12 Thread Luis M . González
On Dec 12, 10:43 am, sturlamolden sturlamol...@yahoo.no wrote: On Dec 12, 2:29 pm, sturlamolden sturlamol...@yahoo.no wrote: Creating a fast implementation of a dynamic language is almost rocket science. But it has been done. There is Stronghold, I meant of course Strongtalk... Blah,

Re: Python is slow

2008-12-12 Thread sturlamolden
On Dec 12, 3:04 pm, Luis M. González luis...@gmail.com wrote: Why don't you guys google a little bit to know what's being done to address python's slowness?? Nothing is being done, and woth Py3k it got even worse. It has been mentioned in this thread the pypy project (isn't it enough for

Re: Python is slow

2008-12-12 Thread David Cournapeau
On Fri, Dec 12, 2008 at 11:04 PM, Luis M. González luis...@gmail.com wrote: It has been mentioned in this thread the pypy project (isn't it enough for you??) Since pypy can't be used today for most production use (most python packages can't work on it), I don't see how it could be enough for

Re: Python is slow

2008-12-12 Thread sturlamolden
On Dec 12, 3:27 pm, David Cournapeau courn...@gmail.com wrote: I want faster function calls to use with numpy: do you know of any solution ? Pypy certainly isn't, at least today. An interesting thing for numpy would be to use CUDA. If we can move floating point ops to the GPU, a common

Re: Python is slow

2008-12-12 Thread Stefan Behnel
David Cournapeau wrote: I want faster function calls to use with numpy: do you know of any solution ? http://cython.org/ Stefan -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-12 Thread sturlamolden
On Dec 12, 3:43 pm, Stefan Behnel stefan...@behnel.de wrote: http://cython.org/ How is the numpy support in Cython going? It was supposed to know about ndarrays natively. I.e. not treat them as Python objects, but rather as known C structs. That way an operation like arr[n] would not result in

Re: Python is slow

2008-12-12 Thread bearophileHUGS
sturlamolden: On a recent benchmark Java 6 -server beats C compiled by GCC 4.2.3 And most of that magic comes from an implementation of a dynamically typed language (Smalltalk). [...] http://shootout.alioth.debian.org/u32q/benchmark.php?test=all〈=all That is indeed a nice result, JavaVM has

Re: Python is slow

2008-12-12 Thread MRAB
sturlamolden wrote: On Dec 12, 3:04 pm, Luis M. González luis...@gmail.com wrote: Why don't you guys google a little bit to know what's being done to address python's slowness?? Nothing is being done, and woth Py3k it got even worse. It has been mentioned in this thread the pypy project

Re: Python is slow

2008-12-12 Thread Stefan Behnel
sturlamolden wrote: How is the numpy support in Cython going? It was supposed to know about ndarrays natively. It does. I.e. not treat them as Python objects, but rather as known C structs. That way an operation like arr[n] would not result in a callback to Python, but translate directly

Re: Python is slow

2008-12-12 Thread Christian Heimes
sturlamolden schrieb: On Dec 12, 3:04 pm, Luis M. González luis...@gmail.com wrote: Why don't you guys google a little bit to know what's being done to address python's slowness?? Nothing is being done, and woth Py3k it got even worse. Indeed, it *is* slower for now. As I already said in

Re: Python is slow

2008-12-12 Thread Luis M . González
On Dec 12, 11:17 am, sturlamolden sturlamol...@yahoo.no wrote: On Dec 12, 3:04 pm, Luis M. González luis...@gmail.com wrote: Why don't you guys google a little bit to know what's being done to address python's slowness?? Nothing is being done, and woth Py3k it got even worse. It has

Re: Python is slow

2008-12-12 Thread Andreas Kostyrka
On Fri, Dec 12, 2008 at 06:17:43AM -0800, sturlamolden wrote: None of those projects addresses inefficacies in the CPython interpreter, except for psyco - which died of an overdose PyPy. Bullshit. All that discussion about performance forgets that performance is a function of the whole system,

Re: Python is slow

2008-12-12 Thread Bruno Desthuilliers
sturlamolden a écrit : (snip) Creating a fast implementation of a dynamic language is almost rocket science. But it has been done. There is Stronghold, the fastest version of Smalltalk known to man, on which the Sun Java VM is based. On a recent benchmark Java 6 -server beats C compiled by GCC

Re: Python is slow

2008-12-11 Thread Luis M . González
On Dec 10, 3:42 pm, cm_gui [EMAIL PROTECTED] wrote: http://blog.kowalczyk.info/blog/2008/07/05/why-google-should-sponsor-... I fully agree with Krzysztof Kowalczyk . Can't they build a faster VM for Python since they love the language so much? Python is SLOW.    And I am not comparing

Re: Python is slow

2008-12-11 Thread jay....@gmail.com
the language so much? Python is SLOW.And I am not comparing it with compiled languages like C. Python is even slower than PHP! Just go to any Python website and you will know. An example is:http://www2.ljworld.com/ And this site is created by the creators of Django

Re: Python is slow

2008-12-11 Thread Giampaolo Rodola'
the language so much? Python is SLOW.And I am not comparing it with compiled languages like C. Python is even slower than PHP! Just go to any Python website and you will know. An example is:http://www2.ljworld.com/ And this site is created by the creators of Django

Python is slow

2008-12-10 Thread cm_gui
http://blog.kowalczyk.info/blog/2008/07/05/why-google-should-sponsor-a-faster-python-vm.html I fully agree with Krzysztof Kowalczyk . Can't they build a faster VM for Python since they love the language so much? Python is SLOW.And I am not comparing it with compiled languages like C. Python

Re: Python is slow

2008-12-10 Thread Paul McGuire
On Dec 10, 12:42 pm, cm_gui [EMAIL PROTECTED] wrote: Python is slow. Very slow. And... ? Was there a question or specific suggestion in there somewhere? Do you go to your mechanic and say My car wont go as fast as the other cars on the road! They should make it faster!? Good luck to you

Re: Python is slow

2008-12-10 Thread Benjamin Kaplan
On Wed, Dec 10, 2008 at 2:07 PM, Paul McGuire [EMAIL PROTECTED] wrote: On Dec 10, 12:42 pm, cm_gui [EMAIL PROTECTED] wrote: Python is slow. Very slow. And... ? Was there a question or specific suggestion in there somewhere? Do you go to your mechanic and say My car wont go as fast

Re: Python is slow

2008-12-10 Thread Tim Chase
, it's always been an algorithm aspect (an O(N**2) fuzzy comparison algorithm is my prime offender). A faster Python might shave a 30-60 seconds off a 10 minute run, but it's still a walk around the office either way. Python is slow. Very slow. However until you have a use-case that *you

Re: Python is slow

2008-12-10 Thread Thorsten Kampe
* cm_gui (Wed, 10 Dec 2008 10:42:40 -0800 (PST)) Python is SLOW.And I am not comparing it with compiled languages like C. Python is even slower than PHP! Sure. But Perl is faster than Ruby (exactly 2.53 times as fast). And Python is 1.525 times faster than VisualBasic

Re: Python is slow

2008-12-10 Thread Jason Scheirer
On Dec 10, 10:42 am, cm_gui [EMAIL PROTECTED] wrote: http://blog.kowalczyk.info/blog/2008/07/05/why-google-should-sponsor-... I fully agree with Krzysztof Kowalczyk . Can't they build a faster VM for Python since they love the language so much? Python is SLOW.    And I am not comparing

Re: Python is slow

2008-12-10 Thread Duncan Booth
Tim Chase [EMAIL PROTECTED] wrote: [nibbling a little flame-bait] Python is even slower than PHP! Just go to any Python website and you will know. An example is: http://www2.ljworld.com/ I'm not sure I'm seeing what you're seeing -- the dynamic page loaded in under 2 seconds --

Re: Python is slow

2008-12-10 Thread George Sakkis
On Dec 10, 1:42 pm, cm_gui [EMAIL PROTECTED] wrote: http://blog.kowalczyk.info/blog/2008/07/05/why-google-should-sponsor-... I fully agree with Krzysztof Kowalczyk . Can't they build a faster VM for Python since they love the language so much? WTF is Krzysztof Kowalczyk and why should we

Re: Python is slow

2008-12-10 Thread Stef Mientki
cm_gui wrote: http://blog.kowalczyk.info/blog/2008/07/05/why-google-should-sponsor-a-faster-python-vm.html I fully agree with Krzysztof Kowalczyk . Can't they build a faster VM for Python since they love the language so much? Python is SLOW.And I am not comparing it with compiled languages

Re: Python is slow

2008-12-10 Thread D'Arcy J.M. Cain
On Wed, 10 Dec 2008 21:04:12 +0100 Stef Mientki [EMAIL PROTECTED] wrote: cm_gui wrote: [...] Put this guy in the junk filter, What's the point if people like you are just going to repost his entire message like that? -- D'Arcy J.M. Cain [EMAIL PROTECTED] | Democracy is three

Re: Python is slow

2008-12-10 Thread Bruno Desthuilliers
cm_gui a écrit : (snip FUD) see also: http://groups.google.com/group/comp.lang.python/browse_frm/thread/5cea684680f63c82 by the same troll^M^M^M^M^Msmart guy. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-10 Thread Arnaud Delobelle
cm_gui [EMAIL PROTECTED] writes: [stuff] Python is slow. Very slow. The same troll started this same flame earlier this year: http://groups.google.com/group/comp.lang.python/browse_thread/thread/5cea684680f63c82?q= -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-12-10 Thread Luis M . González
are Wrong. Very Wrong. On Dec 10, 3:42 pm, cm_gui [EMAIL PROTECTED] wrote: http://blog.kowalczyk.info/blog/2008/07/05/why-google-should-sponsor-... I fully agree with Krzysztof Kowalczyk . Can't they build a faster VM for Python since they love the language so much? Python is SLOW.    And I am

Re: Python is slow

2008-12-10 Thread cm_gui
You guys are living in denial. Python is SLOW, especially for web apps. Instead of getting mad, why don't get together and come up with a faster VM/interpreter? The emperor doesn't like to be told he is not wearing any clothes? On 10 Dec, 14:48, Luis M. González [EMAIL PROTECTED] wrote: You

Re: Re: Python is slow

2008-12-10 Thread acerimusdux
cm_gui wrote: You guys are living in denial. Python is SLOW, especially for web apps. Instead of getting mad, why don't get together and come up with a faster VM/interpreter? The emperor doesn't like to be told he is not wearing any clothes? O The one in denial is the one without any

Re: Python is slow

2008-12-10 Thread James Mills
are usually in the order of 50-100ms. SLow ? I don't think so. --JamesMils References: 1. http://www.cherrypy.org/ 2. http://trac.softcircuit.com.au/circuits/ 3. http://www.extjs.com/ On Thu, Dec 11, 2008 at 9:39 AM, cm_gui [EMAIL PROTECTED] wrote: You guys are living in denial. Python is SLOW

Re: Python is slow

2008-12-10 Thread Carl Banks
On Dec 10, 12:42 pm, cm_gui [EMAIL PROTECTED] wrote: Python is SLOW.    And I am not comparing it with compiled languages like C. Python is even slower than PHP! cm_gui is TROLL. And I am not compring it with bots like Aaron Castironpi Brody. cm_gui is even troller than Xah Lee! Carl

Re: Python is slow

2008-12-10 Thread Benjamin Kaplan
On Wed, Dec 10, 2008 at 10:25 PM, Carl Banks [EMAIL PROTECTED]wrote: On Dec 10, 12:42 pm, cm_gui [EMAIL PROTECTED] wrote: Python is SLOW.And I am not comparing it with compiled languages like C. Python is even slower than PHP! cm_gui is TROLL. And I am not compring it with bots

Re: Python is slow

2008-12-10 Thread MRAB
Benjamin Kaplan wrote: On Wed, Dec 10, 2008 at 10:25 PM, Carl Banks [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Dec 10, 12:42 pm, cm_gui [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Python is SLOW.And I am not comparing it with compiled languages like C

Re: Python is slow

2008-12-10 Thread Jeremiah Dodds
Does anybody else think it's really funny when people argue over which language used for _web apps_ is fastest? I mean, I'm not aware of any language that's slow enough to make it noticeable compared to say, network latency or database access. I guess you might notice if you're not caching any

Re: Python is slow?

2008-10-05 Thread Lawrence D'Oliveiro
In message [EMAIL PROTECTED], Terry Reedy wrote: greg wrote: Steven D'Aprano wrote: We agree that the restriction is artificial, and I think irrational I think it's irrational for another reason, too -- it's actually vacuous. There's nothing to prevent you creating a set of patches

Re: Python is slow?

2008-10-05 Thread Lawrence D'Oliveiro
In message [EMAIL PROTECTED], José Matos wrote: The gnuplot license is a free software according to FSF ... Not listed as one http://www.fsf.org/licensing/licenses/index_html/view?searchterm=license. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow?

2008-10-05 Thread Lawrence D'Oliveiro
In message [EMAIL PROTECTED], Ben Finney wrote: Note that I consider a work free even if it fails to grant “the right to distribute misrepresentations of the author's words”, because that act is an exercise of undue power over another person, and so falls outside the limit imposed by the

Re: Python is slow?

2008-10-03 Thread greg
Steven D'Aprano wrote: We agree that the restriction is artificial, and I think irrational I think it's irrational for another reason, too -- it's actually vacuous. There's nothing to prevent you creating a set of patches that simply say Delete all of the original source and replace it with

  1   2   3   4   >