Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-29 Thread Nick Coghlan
On 29 May 2015 9:48 am, Donald Stufft don...@stufft.io wrote: On May 28, 2015 at 7:40:26 PM, Nick Coghlan (ncogh...@gmail.com) wrote: One thing I've seen more than once is that new development happens in Python until the problem is understood, then the code is ported to Go.

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-29 Thread Donald Stufft
On May 29, 2015 at 2:58:28 AM, Nick Coghlan (ncogh...@gmail.com) wrote: On 29 May 2015 9:48 am, Donald Stufft wrote: On May 28, 2015 at 7:40:26 PM, Nick Coghlan (ncogh...@gmail.com) wrote: One thing I've seen more than once is that new development happens in Python until

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-29 Thread André Freitas
Speaking about distribution I believe Pip is the simplest way of distributing. I have used some freezing tools in the past such cxfreeze but with more complex projects they start being hard to manage. Now instead of saying people to goto an url, download and put in the path I just say: pip install

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-29 Thread Nick Coghlan
On 29 May 2015 22:50, Donald Stufft don...@stufft.io wrote: This might be something that people could have done before with C/C++ but with a nicer language behind it... but that's kind of the point? You don't need to be stuck with a terrible language to get a nice single file executable

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Barry Warsaw
On May 28, 2015, at 11:48 PM, Matthias Klose wrote: And the very same place where you are working is investing in getting shared libraries working for Go. Single binaries may be popular for distributing end user applications, but definitely not for distributing a core OS or a SDK. Yep, I

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Donald Stufft
On May 28, 2015 at 5:50:32 PM, Matthias Klose (d...@ubuntu.com) wrote: On 05/28/2015 06:13 PM, Barry Warsaw wrote: Go seems to be popular where I work. It is replacing Python in a number of places, although Python (and especially Python 3) is still a very important part of our language

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Matthias Klose
On 05/28/2015 06:13 PM, Barry Warsaw wrote: Go seems to be popular where I work. It is replacing Python in a number of places, although Python (and especially Python 3) is still a very important part of our language toolbox. There are several reasons why Go is gaining popularity.

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Ian Cordasco
On Thu, May 28, 2015 at 5:08 PM, Paul Sokolovsky pmis...@gmail.com wrote: Hello, On Thu, 28 May 2015 23:48:59 +0200 Matthias Klose d...@ubuntu.com wrote: [] And the very same place where you are working is investing in getting shared libraries working for Go. Single binaries may be

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Paul Sokolovsky
Hello, On Thu, 28 May 2015 23:48:59 +0200 Matthias Klose d...@ubuntu.com wrote: [] And the very same place where you are working is investing in getting shared libraries working for Go. Single binaries may be popular for distributing end user applications, but definitely not for

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Paul Moore
On 28 May 2015 at 17:47, Guido van Rossum gu...@python.org wrote: Single-file binaries are indeed important. (Though in most cases they don't have to be totally stand-alone -- they can depend on a system python and its stdlib. At least in typical datacenter setups.) Have people looked at PEX (a

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Brett Cannon
On Thu, May 28, 2015, 12:14 Barry Warsaw ba...@python.org wrote: Go seems to be popular where I work. It is replacing Python in a number of places, although Python (and especially Python 3) is still a very important part of our language toolbox. There are several reasons why Go is gaining

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Thomas Wouters
On Thu, May 28, 2015 at 6:13 PM, Barry Warsaw ba...@python.org wrote: Go seems to be popular where I work. It is replacing Python in a number of places, although Python (and especially Python 3) is still a very important part of our language toolbox. There are several reasons why Go is

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Nick Coghlan
On 29 May 2015 2:16 am, Barry Warsaw ba...@python.org wrote: Go seems to be popular where I work. It is replacing Python in a number of places, although Python (and especially Python 3) is still a very important part of our language toolbox. There are several reasons why Go is gaining

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Donald Stufft
On May 28, 2015 at 7:40:26 PM, Nick Coghlan (ncogh...@gmail.com) wrote: One thing I've seen more than once is that new development happens in Python until the problem is understood, then the code is ported to Go. Python's short path from idea to working code, along with its ability

[Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Barry Warsaw
Go seems to be popular where I work. It is replacing Python in a number of places, although Python (and especially Python 3) is still a very important part of our language toolbox. There are several reasons why Go is gaining popularity. Single-file executables is definitely a reason; it makes

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Guido van Rossum
Single-file binaries are indeed important. (Though in most cases they don't have to be totally stand-alone -- they can depend on a system python and its stdlib. At least in typical datacenter setups.) Have people looked at PEX (a format developed by Twitter) or Pants (which seems to be an

Re: [Python-Dev] Keeping competitive with Go (was Re: Computed Goto dispatch for Python 2)

2015-05-28 Thread Paul Moore
On 28 May 2015 at 17:13, Barry Warsaw ba...@python.org wrote: On May 28, 2015, at 10:37 AM, Donald Stufft wrote: I think docker is a pretty crummy answer to Go’s static binaries. What I would love is for Python to get: * The ability to import .so modules via zipzimport (ideally without a