4 ms·
Very cool! Great job, guys. Do you use a similar technique to https://poweruser.blog/embedding-python-in-go-338c0399f3d5 https://poweruser.blog/embedding-pytho
by renewiltord 6y ago
Very cool! Great job, guys.
Do you use a similar technique to https://poweruser.blog/embedding-python-in-go-338c0399f3d5 https://poweruser.blog/embedding-python-in-go-338c0399f3d5 to embed the Python SDK?
Also, was there a reason it's not against the B2 API? Not a judgment, just curious about the design tradeoffs in a professional-talking-to-professional sense.
- AYBABTME 6y agoThat design choice prevents their provider from working with official Terraform container images. They should make the API calls directly in Go, it's just weird to do it via Python... They have very few resources exposed on their API so it's not like writing a Go client would be all that hard.
- renewiltord 6y agoWhy would the official container images not work? The Python interpreter and libs are bundled into the (massively fat) Go plugin binary, right? And appropriately linked?