3 ms·
I've been looking into doing this in Go and haven't found a good solution for Python 3. Is it possible to build a static binary (including Python) with pyo3 in
by pascoej 7y ago
I've been looking into doing this in Go and haven't found a good solution for Python 3.
Is it possible to build a static binary (including Python) with pyo3 in rust?
- steveklabnik 7y agoIt doesn't seem like it, given the final bullet point here, which is unchecked https://github.com/PyO3/pyo3/issues/276 https://github.com/PyO3/pyo3/issues/276
- bjourne 7y agoDoesn't Go have a C FFI? You just call libpython. I'd imagine adding syntactic sugar is harder because Go doesn't have the same metaprogramming capabilities, otherwise it should work the same.
- pascoej 7y agoI’m not worried about the interop. I want a not too hacky way tool to statically link it in.