News for hackers. Stuff that matters.
Re:Grumpy: Go running Python by bb88 on Wednesday January 04, 2017 @01:47PM (#13320939)
Jython is a python interpreter written in Java. Grumpy is a python transpiler that converts python to navtive go object code.

Edited to add: The difference is that Jython doesn't covert python to JVM bytecode.

Re:Grumpy: Go running Python by weberc2 on Wednesday January 04, 2017 @02:51PM (#13321455)
What's the advantage of writing an interpreter? Go already has an excellent runtime (scheduler, GC, etc)--why should this project reimplement it?
Re:Grumpy: Go running Python by solidsnack9000 on Wednesday January 04, 2017 @03:44PM (#13321864)
The interpreter could still use that stuff.

One advantage of an interpreter in general is that one important use case for Python is interactive scripting, as data scientists do.

Re:Grumpy: Go running Python by weberc2 on Wednesday January 04, 2017 @04:49PM (#13322383)
Fair point. I would think it shouldn't require too much work to build a REPL on top of this. Rather than transpiling, you would parse the Python AST into the same runtime Objects that Grumpy constructs statically. Seems straightforward conceptually, though I'm sure it would be complex in practice.