Re: [go-nuts] Google Grumpy (Python->Go)

2017-01-09 Thread trotterdylan
Cross posting to grumpy-users On Thursday, 5 January 2017 00:42:31 UTC-8, Justin Israel wrote: > > I just gave this a play since I was really curious what it could do. But > it seems like of your python module has imports for other python modules, > they get transpiled into Go import statements

Re: [go-nuts] Google Grumpy (Python->Go)

2017-01-05 Thread Justin Israel
I just gave this a play since I was really curious what it could do. But it seems like of your python module has imports for other python modules, they get transpiled into Go import statements that look at the grumpy stdlib location. Does anyone have any information on the extend of the support, be

Re: [go-nuts] Google Grumpy (Python->Go)

2017-01-04 Thread andrey mirtchovski
> It’s also about 2x slower than the original Python. All of this indirection > is necessary to preserve the dynamic semantics of Python. Basically it’s > taking the calls into the runtime that a Python interpreter would make, and > writing them out one after another. this single-thread slowdow

Re: [go-nuts] Google Grumpy (Python->Go)

2017-01-04 Thread Andy Balholm
Finally, a way to deploy a Python program as a statically-linked binary! The Go code this produces looks awful. It’s more like threaded code in Go syntax than like real Go. It translated my toy benchmark function def count(x): i = 1 while i <= x: i += 1 into

[go-nuts] Google Grumpy (Python->Go)

2017-01-04 Thread Shawn Milochik
I'm surprised this hasn't hit this list yet. https://opensource.googleblog.com/2017/01/grumpy-go-running-python.html https://github.com/google/grumpy TL;DR; compile your Python 2.7 to Go by replacing CPython with Grumpy. Looks very interesting! -- You received this message because you are subsc