原书出处
Cloud Native Go (Matthew A. Titmus)
08 Loose Coupling
Unlike Go plugins, which use shared libraries, HashiCorp’s plugins are standalone processes that are executed by using exec.Command, which has some obvious benefits over shared libraries: They can’t crash your host process. Because they’re separate processes, a panic in a plugin doesn’t automatically crash the plugin consumer. They’re more version-flexible. Go plugins are famously version-specific.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Cloud Native Go (Matthew A. Titmus)/_epub-src/OEBPS/ch08.xhtml
EPUB SHA-256:1154caa7b61465daf957a7d8f1350ef24ab5db9c850cab5987aae5bc74986022