Blogory.org Calling Go From CPython

Counter-intruitive, but works briliantly. Read More

Calling Go From CPython


Counter-intruitive, but works briliantly.  "The runtime behavior when loaded as a plugin is not widely documented. All I could find is the design document linked above, which tells us that the runtime is initialized once when the first Go plugin is loaded. Apparently a full fledged Go runtime runs alongside the main process.

Empirically, goroutines work naturally, and they keep running after the entry function returns.

"

Link:https://blog.filippo.io/building-python-modules-with-go-1-5/

The iFrame below shows you a remote site.




Powered by Zopache, Grok, Zope and ZODB