Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65882

Re: What are the kinds of software that are not advisable to be developed using Python?

References <a584b0e9-1995-4189-bfac-d0c5ffc080c9@googlegroups.com> <roy-2ECF2F.21530008022014@news.panix.com> <52f6f973$0$29972$c3e8da3$5496439d@news.astraweb.com> <b0af015c-ba84-4360-a2f6-4e7882254649@googlegroups.com>
Date 2014-02-11 15:59 +1100
Subject Re: What are the kinds of software that are not advisable to be developed using Python?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.6649.1392094783.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Feb 11, 2014 at 3:21 PM, CM <cmpython@gmail.com> wrote:
> On Saturday, February 8, 2014 10:43:47 PM UTC-5, Steven D'Aprano wrote:
>
>> PyPy can generate code which is comparable to compiled C in speed.
>> Perhaps you mean, "if execution speed is the most important thing, using
>> a naive Python interpreter may not be fast enough".
>
> Given that the OP seems to be new enough to Python to not know what it is
> not as good for, my guess is that PyPy may not yet be "ready enough" to
> serve some/most of his needs. For example, if he wanted to write a GUI
> app, AFAIK he is, for now, limited to Tkinter and a constrained section of
> wxPython, and wxPython is dicey.  I tend to see things through a desktop GUI
> application lens, so maybe this is just my bias.  And I hope I am wrong. I
> am in no way trying to slight the PyPy efforts.
>
> Maybe he could somehow write the GUI part with CPython and the speed-critical
> parts with PyPy but I don't know if that is possible.  (Is it?)

More likely, he can write the whole thing in Python, and then run it
in CPython. Then see if its speed is good enough. Sometimes "good
enough" means "finishes executing in less than 100ms after user
interaction". Sometimes it's even more generous. Other times it's "can
handle at least X requests per second on a single CPU core", where X
is defined based on the number of requests that the network can
handle. If it meets that requirement, there's no reason to go to any
sort of effort to improve performance. And that's how it is for huge
HUGE numbers of Python scripts.

Of course, if performance _is_ a problem, then the next step is to
measure and find out exactly what's the slow bit. It's seldom what you
first think of.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What are the kinds of software that are not advisable to be developed using Python? Sam <lightaiyee@gmail.com> - 2014-02-08 15:54 -0800
  Re: What are the kinds of software that are not advisable to be developed using Python? Denis McMahon <denismfmcmahon@gmail.com> - 2014-02-09 00:09 +0000
  Re: What are the kinds of software that are not advisable to be developed using Python? Chris Angelico <rosuav@gmail.com> - 2014-02-09 11:11 +1100
    Re: What are the kinds of software that are not advisable to be developed using Python? Grant Edwards <invalid@invalid.invalid> - 2014-02-10 16:54 +0000
    Re: What are the kinds of software that are not advisable to be developed using Python? Laurent Pointal <laurent.pointal@free.fr> - 2014-02-22 12:15 +0100
  Re: What are the kinds of software that are not advisable to be developed using Python? Roy Smith <roy@panix.com> - 2014-02-08 21:53 -0500
    Re: What are the kinds of software that are not advisable to be developed using Python? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-09 03:43 +0000
      Re: What are the kinds of software that are not advisable to be developed using Python? Asaf Las <roegltd@gmail.com> - 2014-02-08 20:09 -0800
        Re: What are the kinds of software that are not advisable to be developed using Python? Anssi Saari <as@sci.fi> - 2014-02-10 12:10 +0200
      Re: What are the kinds of software that are not advisable to be developed using Python? CM <cmpython@gmail.com> - 2014-02-10 20:21 -0800
        Re: What are the kinds of software that are not advisable to be developed using Python? Chris Angelico <rosuav@gmail.com> - 2014-02-11 15:59 +1100
  Re: What are the kinds of software that are not advisable to be developed using Python? Michael Torrie <torriem@gmail.com> - 2014-02-08 21:08 -0700
  Re: What are the kinds of software that are not advisable to be developed using Python? Chris Angelico <rosuav@gmail.com> - 2014-02-09 15:14 +1100
  Re: What are the kinds of software that are not advisable to be developed using Python? "Skybuck Flying" <Windows7IsOK@DreamPC2006.com> - 2014-02-09 06:17 +0100
    Re: What are the kinds of software that are not advisable to be developed using Python? Chris Angelico <rosuav@gmail.com> - 2014-02-09 16:41 +1100
    Re: What are the kinds of software that are not advisable to be developed using Python? wxjmfauth@gmail.com - 2014-02-09 02:47 -0800
      Re: What are the kinds of software that are not advisable to be developed using Python? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-09 15:49 +0000
    Re: What are the kinds of software that are not advisable to be developed using Python? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-10 22:56 +0000
  Re: What are the kinds of software that are not advisable to be developed using Python? Tim Daneliuk <tundra@tundraware.com> - 2014-02-10 22:40 -0600
    Re: What are the kinds of software that are not advisable to be developed using Python? Steven D'Aprano <steve@pearwood.info> - 2014-02-11 05:35 +0000
      Re: What are the kinds of software that are not advisable to be developed using Python? Tim Daneliuk <tundra@tundraware.com> - 2014-02-10 23:50 -0600
      Re: What are the kinds of software that are not advisable to be developed using Python? Roy Smith <roy@panix.com> - 2014-02-11 09:24 -0500
        Re: What are the kinds of software that are not advisable to be developed using Python? Chris Angelico <rosuav@gmail.com> - 2014-02-12 01:37 +1100

csiph-web