libvips, CGO, and purego: How to Compile and Run Go Applications on different platforms
One of the most notable features of Go is its support for convenient cross-system, cross-architecture cross-compilation. Imagine the following scenario:
You have a friend who needs to process a certain number of files every day according to certain rules. They want you to help write a program so that they can just run this program and relax.
Your friend uses Windows, while you use macOS.
Implementing the business logic is not particularly difficult, but the problem is how to make your friend use your code. You can’t ask them to install an interpreter or compiler. And if you use Node.js, you might encounter the following issue:
WebP Cloud Services Blog