google/grumpy
View on GitHub ↗ ★ 10,490 Go archived
Grumpy is a Python to Go source code transcompiler and runtime.
36 mentions on Hacker News by 29 people: 4 stories, 32 comments · first 2017-01-04 · latest 2026-04-05
20082026
-
Here you are. https://github.com/google/grumpy Last commit was 9 years ago though, so targets Python 2.7.
comment by emmelaich · 2026-04-05 · in Lisette a little language inspired by Rust that compiles to Go -
…I guess there's no real demand for it. Though I'm curious if there's been unpublished improvments. https://github.com/google/grumpy
comment by emmelaich · 2024-01-03 · in Shed Skin – A (restricted) Python-to-C++ Compiler -
…would be neat and it turns out at least one project does just that (at least to prove the concept): https://github.com/google/grumpy
comment by arethuza · 2022-06-22 · in Surprising result while transpiling C to Go -
Thank you, I’ve been looking for something more actively used than https://github.com/google/grumpy .
comment by erik_seaberg · 2021-02-23 · in Go is not an easy language -
Forgot one : https://github.com/google/grumpy
comment by zellyn · 2020-10-21 · in Attempts to make Python fast -
You might be interested in this: https://github.com/google/grumpy (although it looks like it's not close to supporting the needed functionality to import a typical python library)
comment by maxmcd · 2020-01-23 · in See Python, See Python Go, Go Python Go (2016) -
…transpiler[2] — albeit both somewhat limited. [1] https://github.com/go-python/gpython [2] https://github.com/google/grumpy
comment by jimsmart · 2018-11-16 · in Golua – A Lua 5.3 engine implemented in Go -
They now run their python code using a transpiler into Go with a Go runtime and Go libraries: https://github.com/google/grumpy
comment by wolf550e · 2018-10-17 · in Ask HN: YouTube down? -
…development history just a while ago, it was highly dependent on Alexey. It reminds me of Grumpy ( https://github.com/google/grumpy ), which was released by Google, but was later basically abandoned when the lead left Google. That being…
comment by drej · 2018-10-01 · in ClickHouse, a column-oriented DBMS to generate analytical reports in real time -
…The new repo is https://github.com/grumpyhome/grumpy . Some more discussion on the original repo: https://github.com/google/grumpy/issues/406#issuecomment-402...
comment by shabbyrobe · 2018-07-29 · in New active fork of Grumpy, a Go-based python2 runtime -
…the (poorly named) Grumpy project (Python compiled to Go.) http://cython.org/ https://nuitka.net/ https://github.com/google/grumpy
comment by carapace · 2018-05-19 · in Modifying the Python object model -
Google created Golang and then created a tool to convert Python2 -> Go. https://github.com/google/grumpy
comment by rankam · 2018-04-11 · in Python 2 will be replaced with Python 3 in the next RHEL major release -
Google has Grumpy. Because writing a compiler is easier than porting. https://github.com/google/grumpy
comment by brudgers · 2018-03-22 · in Show HN: Asynchronous HTTP/2 client for Python 2.7 -
…of Google behind it, too. (Though I've seen some python compiler "20%" style projects roll around: https://github.com/google/grumpy ). That said, python does have a lot of magic functionality that makes predicting paths through the program…
comment by bpicolo · 2017-10-25 · in Why Python is Slow: Looking Under the Hood (2014) -
…other transpilers to/from Golang. So far: - http://havelang.org/ - https://github.com/jcla1/gisp - https://github.com/google/grumpy (Python to Go) - https://tardisgo.github.io/ (Go to Hexe) - https://github.com/gopherjs/gopherjs (Go to…
comment by jwilliams · 2017-08-25 · in Goby: A new Ruby-inspired language written in Go -
…2.7 and actually served as the impetus for GrumPy [1], a transpiler to convert Python to Go. [1] https://github.com/google/grumpy/
comment by 0xADEADBEE · 2017-07-01 · in Why We Chose Typescript -
…that will only make sense in python3). Yet, big 'corporate' users like Google (Look at you, grumpy https://github.com/google/grumpy ) and Apple (still shipping with 2.7...and why!) and large universities all seem to be stuck on python 2.…
comment by no_wizard · 2017-03-14 · in Parallel Python -
…Python. It's pretty great stuff, definitely recommend checking it out if you haven't already. [0] https://github.com/google/grumpy
comment by BuckRogers · 2017-01-29 · in The Fallacy of Premature Optimization (2009) -
…just mean "library", and it all compiles down to a standard Go application. That'd be cool. [0] https://github.com/google/grumpy/tree/aa58aa68717f6ac2ebf40f...
comment by cookiecaper · 2017-01-20 · in Nylas Mail is now free -
…needs, like the recently-announced Grumpy [0], which converts YouTube's Python codebase to Go. [0] https://github.com/google/grumpy
comment by cookiecaper · 2017-01-17 · in Nylas Mail is now free -
Can this be used together with Python for Go? (Grumpy: https://github.com/google/grumpy )
comment by xyproto · 2017-01-10 · in Lambdascript – A new pure functional language built on top of Python -
…initially landed on Github 16 days ago[0]. How long was it developed internally before that? [0] https://github.com/google/grumpy/commit/f60ee257db9d7996e3f8...
comment by webmaven · 2017-01-06 · in Grumpy: Go running Python -
…blog post) from __go__.net.http import ListenAndServe, RedirectHandler handler = RedirectHandler('http://github.com/google/grumpy', 303) ListenAndServe('127.0.0.1:8080', handler)
comment by SureshG · 2017-01-05 · in Grumpy: Go running Python -
…here: 1. Lambda tuple args are not yet supported -- I actually didn't know that was a thing :\ -- https://github.com/google/grumpy/issues/17 2. Even if that worked properly, sorted() is not yet implemented:…
comment by trotterdylan · 2017-01-04 · in Grumpy: Go running Python -
From looking in the code, this is my favorite part so far: https://github.com/google/grumpy/blob/75a35b4b30afb049b9cfff... making python threads as lightweight as goroutines must be a breeze!
comment by teabee89 · 2017-01-04 · in Grumpy: Go running Python -
Whoops, just noticed you (or somebody) had already filed it: https://github.com/google/grumpy/issues/12
comment by trotterdylan · 2017-01-04 · in Grumpy: Go running Python -
…rewritten this part of the code a couple times and I think this functionality was lost. I've filed: https://github.com/google/grumpy/issues/13
comment by trotterdylan · 2017-01-04 · in Grumpy: Go running Python -
The first stop is usually a CONTRIBUTING.md Here's theirs https://github.com/google/grumpy/blob/master/CONTRIBUTING.md There's not a ton there. The next place I'd go is open issues: https://github.com/google/grumpy/issues It looks like at…
comment by steveklabnik · 2017-01-04 · in Grumpy: Go running Python -
…blog post: from __go__.net.http import ListenAndServe, RedirectHandler handler = RedirectHandler('http://github.com/google/grumpy', 303) ListenAndServe('127.0.0.1:8080', handler)
comment by trotterdylan · 2017-01-04 · in Grumpy: Go running Python -
I'd like to support 3.x at some point. See https://github.com/google/grumpy/issues/1
comment by trotterdylan · 2017-01-04 · in Grumpy: Go running Python -
…out. Basically, we needed to support a large existing Python 2.7 codebase. See discussion here: https://github.com/google/grumpy/issues/1 > It's a hard-code compiler, not an interpreter written in Go. That implies some restrictions, but…
comment by trotterdylan · 2017-01-04 · in Grumpy: Go running Python -
In case anyone wanted the github repo: https://github.com/google/grumpy
comment by gamesbrainiac · 2017-01-04 · in Grumpy: Go running Python