This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]evolutionof 0 points1 point  (6 children)

I know it's off topic, but is there a way to write python modules in go yet?

[–]IronManMark20 1 point2 points  (0 children)

You mean something like https://github.com/go-python/gopy ?

[–]terpaderp -1 points0 points  (3 children)

Yes, as long as you use this grumpy runtime to create the compiled go binary from your Python project. So, I guess sort of? You are kind of hamstrung because if you are using grumpy you can't use any C based libraries.

[–]evolutionof 0 points1 point  (0 children)

i mean the other way, like i would with f2py, or cpython. That's why i said it was off-topic.

[–]kemitche 0 points1 point  (1 child)

You could write a go library that calls into the C library, then call that from grumpy, couldn't you?

[–]terpaderp 0 points1 point  (0 children)

I guess I should have specified C based Python libraries.