Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Steven D'Aprano
On Mon, 26 May 2014 12:17:10 +0100, Mark Lawrence wrote: > On 26/05/2014 07:31, Devin Jeanpierre wrote: >> On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence >> wrote: >>> On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. >>> That's good to know, it'll

Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Mark Lawrence
On 26/05/2014 07:31, Devin Jeanpierre wrote: On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. This seems like an unnecessarily harsh w

Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Stefan Behnel
Ben Finney, 26.05.2014 05:20: > bookaa bookaa writes: >> Generally, people consider Python as a script language. >> It has high development efficiency >> but run too slowly > > Which Python implementation are you talking about? Run time is not a > property of the language. It is a property of the

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Devin Jeanpierre
On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence wrote: > On 25/05/2014 09:17, bookaa bookaa wrote: >> >> Maybe I will work on Python 3 later. >> > > That's good to know, it'll save me wasting my time looking at it now. This seems like an unnecessarily harsh way of putting it, Mark. Could you be le

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Ben Finney
bookaa bookaa writes: > Generally, people consider Python as a script language. Count me as one who does not. Python is a general-purpose language. > It has high development efficiency True. > but run too slowly Which Python implementation are you talking about? Run time is not a property of

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Mark Lawrence
On 25/05/2014 12:02, mm0fmf wrote: On 25/05/2014 11:24, Mark Lawrence wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. OT: Mark, you've been pro-Python3 enough in your recent postings

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread mm0fmf
On 25/05/2014 11:24, Mark Lawrence wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. OT: Mark, you've been pro-Python3 enough in your recent postings you have forced me to act. I've ju

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Mark Lawrence
On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is fr

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Stefan Behnel
bookaa bookaa, 25.05.2014 10:17: > I think the significance of Python to Go, is it give us opportunity to > make Python project run fast. You shouldn't make that your only goal, because you'll have a really hard time achieving it (to put it mildly). Stefan -- https://mail.python.org/mailman/l

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Chris Angelico
On Sun, May 25, 2014 at 6:17 PM, bookaa bookaa wrote: >> 1) How compatible is your Python-to-Golang converter with all the >> nuances of Python code? Does it work perfectly on any arbitrary Python >> script? And, what version of Python is it aimed at? > > I try to support all Python syntax, any ar

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread bookaa bookaa
On Sunday, May 25, 2014 12:47:27 PM UTC+8, Chris Angelico wrote: > On Sun, May 25, 2014 at 1:06 PM, bookaa wrote: > > > This tool can be called 'Python to GoLang', which translate Python source > > to Golang source. And then you can compile the Go files to executable > > binary. (btw: Go is a ne

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread wxjmfauth
My opinions about Go. i) go build XXX that creates an exe, one can put on a usb stick and run (distribute) it, is a feature hard to beat. I do not know, if it will be rendered correctly. D:\jm\jmgo>hello3.exe ASCII abcde xyz Germanäöü ÄÖÜ ß Polishąęźżńł Russian абвгдеж эюя CJK

Re: Make Python Compilable, convert to Python source to Go

2014-05-24 Thread Chris Angelico
On Sun, May 25, 2014 at 1:06 PM, bookaa bookaa wrote: > This tool can be called 'Python to GoLang', which translate Python source to > Golang source. And then you can compile the Go files to executable binary. > (btw: Go is a new C-like compilable language, open source). > Sounds like you're wr