Re:Moving from Go to PHP Again
by vhakulinen on Friday February 08, 2019 @03:41AM
(#19112470)
> For example Wordpress, running off of php files can download plugins to its own server (which are just more php files) to instantly extend itself. Without restarting or redeployment. (What other web platforms can do this?)
I'm quite sure you can achieve this in golang with plugins[1]. That not as flexable as PHP, mainly because it involves a static type system and a compile phase (and more work in general).
Re:Moving from Go to PHP Again
by weberc2 on Friday February 08, 2019 @07:49AM
(#19113643)
Yeah, running plugins is not a difficult problem in most languages; it isn’t widely practiced outside of the PHP community because most folks don’t want to be the reason their users were hacked.
I'm quite sure you can achieve this in golang with plugins[1]. That not as flexable as PHP, mainly because it involves a static type system and a compile phase (and more work in general).
1: https://golang.org/pkg/plugin/